Returns a list of exchanges based on a variety of filters.
Endpoint: filterExchanges
Method: POST
Arguments
| Name | Type | Description |
|---|---|---|
| filters | ExchangeFilters | A set of filters to apply. |
| limit | Int | The maximum number of exchanges to return. |
| offset | Int | Where in the list the server should start when returning items. Use |
| phrase | String | A phrase to search for. Can match an exchange address or ID ( |
| rankings | [ExchangeRanking] | A list of ranking attributes to apply. |
Response
| Name | Type | Description |
|---|---|---|
| count | Int | The number of exchanges returned. |
| offset | Int | Where in the list the server started when returning items. |
| results | [ExchangeFilterResult] | The list of exchanges matching the filter parameters. |
| Name | Type | Description |
|---|---|---|
| dailyActiveUsers | Int | The total unique daily active users. |
| exchange | FilterExchange | Exchange metadata. |
| monthlyActiveUsers | Int | The total unique monthly active users (30 days). |
| txnCount1 | String | The number of transactions on the exchange in the past hour. |
| txnCount4 | String | The number of transactions on the exchange in the past 4 hours. |
| txnCount12 | String | The number of transactions on the exchange in the past 12 hours. |
| txnCount24 | String | The number of transactions on the exchange in the past 24 hours. |
| volumeNBT1 | String | The trade volume in the network's base token in the past hour. |
| volumeNBT4 | String | The trade volume in the network's base token in the past 4 hours. |
| volumeNBT12 | String | The trade volume in the network's base token in the past 12 hours. |
| volumeNBT24 | String | The trade volume in the network's base token in the past 24 hours. |
| volumeUSD1 | String | The trade volume in USD in the past hour. |
| volumeUSD4 | String | The trade volume in USD in the past 4 hours. |
| volumeUSD12 | String | The trade volume in USD in the past 12 hours. |
| volumeUSD24 | String | The trade volume in USD in the past 24 hours. |
Adding a DEX to CodexNew exchanges are added to Codex manually. Get in touch on Discord and send the DEX name, logo and swap links to have a new exchange added to the API.
Explore
Ask questions, share what you're working on and request new features 👬👭