# List Address Exposure Paths

Through this endpoint customers can list the evidence behind an address's exposure: each route is the chain of transfers (transaction hashes, amounts, tainted amounts, timestamps) from a flagged address to this address. Routes are sorted by tainted share, highest first, and paginated with a cursor.

- **Endpoint:** `GET https://rest.cryptoapis.io/aml/exposure/{blockchain}/{address}/paths`
- **Authentication:** `x-api-key` header
- **Credits cost:** 100000 credits for 1 result
- **Documentation page:** https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/address-aml/list-address-exposure-paths/get

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `blockchain` | string | yes | Blockchain of the address. The exposure graph is per chain. Allowed values: `ethereum`, `binance-smart-chain`, `ethereum-classic`, `polygon`, `tron`, `bitcoin`, `bitcoin-cash`, `litecoin`, `dogecoin`, `dash`, `zcash`, `xrp`, `solana`. |
| `address` | string | yes | The address to check for indirect exposure to flagged addresses. |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `context` | string | no | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. |
| `rootAddress` | string | no | Only routes from this flagged address. |
| `limit` | integer | no | Defines how many items should be returned in the response per page basis. |
| `startingAfter` | string | no | Defines the id of the previous listed record id from which the current list should start from. |

## Responses

| Status | Description |
| --- | --- |
| 200 | Exposure routes |
| 400 | 400 |
| 401 | 401 |
| 402 | 402 |
| 403 | 403 |
| 409 | The data provided seems to be invalid. |
| 415 | The selected Media Type is unavailable. The Content-Type header should be 'application/json'. |
| 422 | Your request body for POST requests must have a structure of { data: { item: [...properties] } } |
| 429 | The request limit has been reached. There can be maximum {requests} requests per {seconds} second(s) made. Please contact our team via email if you need more or upgrade your plan. |
| 500 | An unexpected server error has occurred, we are working to fix this. Please try again later and in case it occurs again please report it to our team via email. |

### Example 200 response

```json
{
  "apiVersion": "2024-12-12",
  "requestId": "601c1710034ed6d407996b30",
  "context": "yourExampleString",
  "data": {
    "limit": 50,
    "startingAfter": "5ca21f92cf5431000105d1a7",
    "hasMore": true,
    "nextStartingAfter": "5ca21f92cf5431000105d1a7",
    "sortingOrder": "ascending",
    "items": [
      {
        "id": "MTpkNmE4...",
        "rootAddress": "0x7f367cc41522ce07553e823bf3be79a889debe1b",
        "hops": 2,
        "exposureShare": "1",
        "proportionalShare": "0.244848",
        "transfers": [
          {
            "transactionHash": "0x771dde2846284998acf035cb39dd9c772fa938ec79b5da47bcd461cc23b6eb7e",
            "sender": "0x7f367cc41522ce07553e823bf3be79a889debe1b",
            "recipient": "0x2718752b8895742349c82ca759b87c79b2466330",
            "value": {
              "amount": "5000",
              "unit": "USDT"
            },
            "contract": "0xdac17f958d2ee523a2206206994597c13d831ec7",
            "taintedValue": {
              "amount": "5000",
              "unit": "USDT"
            },
            "proportionalValue": {
              "amount": "1224.24",
              "unit": "USDT"
            },
            "timestamp": 1516066029,
            "hop": 1
          }
        ]
      }
    ]
  }
}
```

### 200 response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `apiVersion` | string | yes | Specifies the version of the API that incorporates this endpoint. |
| `requestId` | string | yes | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. |
| `context` | string | no | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. |
| `data` | object | yes |  |
| `data.limit` | integer | yes | Defines how many items should be returned in the response per page basis. |
| `data.startingAfter` | string | no | Defines the id of the previous listed record id from which the current list should start from. |
| `data.hasMore` | boolean | yes | Defines whether or not there are more elements available after this set. |
| `data.nextStartingAfter` | string | no | Defines the id of the next page which the next list should start from. |
| `data.sortingOrder` | string | no | Defines what the sorting order is either ascending or descending. |
| `data.items` | array of object | yes |  |
| `data.items[].id` | string | yes | Route id; pass it as `startingAfter` to continue after this route. |
| `data.items[].rootAddress` | string | yes | The flagged address the funds trace back to. |
| `data.items[].hops` | integer | yes | Number of transfers in the route. |
| `data.items[].exposureShare` | string | yes | Highest share (0 to 1, decimal string) of tainted funds received from this flagged address. |
| `data.items[].proportionalShare` | string | no | Share (0 to 1) of flagged funds actually carried by the last transfer. |
| `data.items[].transfers` | array of object | yes | The transfers of the route, from the flagged address to this address. |
| `data.items[].transfers[].transactionHash` | string | yes | Transaction hash. |
| `data.items[].transfers[].sender` | string | no | Sender address. |
| `data.items[].transfers[].recipient` | string | no | Recipient address. |
| `data.items[].transfers[].value` | object | no | Value transferred |
| `data.items[].transfers[].value.amount` | string | no | String representation of the amount value |
| `data.items[].transfers[].value.unit` | string | no | Unit of the amount: the coin or token symbol |
| `data.items[].transfers[].contract` | string | no | Token contract address; absent for the native coin |
| `data.items[].transfers[].taintedValue` | object | no | Tainted part of the value |
| `data.items[].transfers[].taintedValue.amount` | string | no | String representation of the amount value |
| `data.items[].transfers[].taintedValue.unit` | string | no | Unit of the amount: the coin or token symbol |
| `data.items[].transfers[].proportionalValue` | object | no | Flagged value actually inside the transfer (proportional to the flagged share of the sender balance) |
| `data.items[].transfers[].proportionalValue.amount` | string | no | String representation of the amount value |
| `data.items[].transfers[].proportionalValue.unit` | string | no | Unit of the amount: the coin or token symbol |
| `data.items[].transfers[].timestamp` | integer | no | Unix timestamp of the transfer. |
| `data.items[].transfers[].hop` | integer | yes | Number of transfers between the flagged address and this address; 1 means direct contact. |
