> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get CEX Addresses

Retrieve centralized exchange (CEX) wallet addresses from Dune Analytics. Supports filtering by address, exchange name, and blockchain. Results are cached for fast lookups. Ideal for: CEX flow analysis, exchange wallet identification, on-chain attribution, compliance monitoring.

![Get CEX Addresses logo](https://ai-icon.b3.fun/logo/dune)
Catalog action Blockchain Data

Retrieve centralized exchange (CEX) wallet addresses from Dune Analytics. Supports filtering by address, exchange name, and blockchain. Results are cached for fast lookups. Ideal for: CEX flow analysis, exchange wallet identification, on-chain attribution, compliance monitoring.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `dune-get-cex-addresses` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `dune`, `cex`, `exchange`, `address`, `blockchain`, `data`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `address` | `string` | No | Filter by specific wallet address \(case-insensitive exact match\) |
| `cexName` | `string` | No | Filter by exchange name, case-insensitive partial match \(e.g., "Binance", "Coinbase"\) |
| `blockchain` | `string` | No | Filter by blockchain, case-insensitive exact match \(e.g., "ethereum", "bitcoin"\) |
| `limit` | `number` | No | Maximum results per page \(default: 100, max: 1000\) |
| `offset` | `number` | No | Numeric offset for pagination \(default: 0\) |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `addresses` | `array` | Yes | Array of matched CEX address objects |
| `totalCount` | `number` | Yes | Total number of matches before pagination |
| `count` | `number` | Yes | Number of results returned in this response |
| `cached` | `boolean` | Yes | Whether the result was served from cache |
| `cacheAge` | `number` | Yes | Cache age in seconds \(0 if freshly fetched\) |

## Examples

**Workflow node**

```json
{
  "type": "dune-get-cex-addresses",
  "payload": {
    "address": "0x0000000000000000000000000000000000000000",
    "cexName": "example-cexName",
    "blockchain": "example-blockchain",
    "limit": 100,
    "offset": 0
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/dune-get-cex-addresses/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "address": "0x0000000000000000000000000000000000000000",
    "cexName": "example-cexName",
    "blockchain": "example-blockchain",
    "limit": 100,
    "offset": 0
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.