Filter Exchanges

Returns a list of exchanges based on a variety of filters.

Endpoint: filterExchanges

Method: POST

Arguments

NameTypeDescription
filtersExchangeFilters

A set of filters to apply.

limitInt

The maximum number of exchanges to return.

offsetInt

Where in the list the server should start when returning items. Use count+offset from the previous query to request the next page of results.

phraseString

A phrase to search for. Can match an exchange address or ID (address:networkId), or partially match an exchange name.

rankings[ExchangeRanking]

A list of ranking attributes to apply.

Response

NameTypeDescription
countIntThe number of exchanges returned.
offsetIntWhere in the list the server started when returning items.
results[ExchangeFilterResult]The list of exchanges matching the filter parameters.

NameTypeDescription
dailyActiveUsersIntThe total unique daily active users.
exchangeFilterExchangeExchange metadata.
monthlyActiveUsersIntThe total unique monthly active users (30 days).
txnCount1StringThe number of transactions on the exchange in the past hour.
txnCount4StringThe number of transactions on the exchange in the past 4 hours.
txnCount12StringThe number of transactions on the exchange in the past 12 hours.
txnCount24StringThe number of transactions on the exchange in the past 24 hours.
volumeNBT1StringThe trade volume in the network's base token in the past hour.
volumeNBT4StringThe trade volume in the network's base token in the past 4 hours.
volumeNBT12StringThe trade volume in the network's base token in the past 12 hours.
volumeNBT24StringThe trade volume in the network's base token in the past 24 hours.
volumeUSD1StringThe trade volume in USD in the past hour.
volumeUSD4StringThe trade volume in USD in the past 4 hours.
volumeUSD12StringThe trade volume in USD in the past 12 hours.
volumeUSD24StringThe trade volume in USD in the past 24 hours.

πŸ“˜

Adding a DEX to Defined

New exchanges are added to Defined 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

πŸ‘‹

Join our Discord

Ask questions, share what you're working on and request new features πŸ‘¬πŸ‘­