CoinWorldCap Developer Support Request a key

DEX chains

GET https://open-api.coinworldcap.com/openapi/v1/dex/chains

The chains a list covers, with how many of its tokens are on each.

Query parameters

Response

Not paged. The chain holding the list's best-ranked token comes first.

Field Type Notes
slug string The chain_slug the other /dex endpoints take
name, display_name string Both the slug when we have no name for the chain
token_count number Tokens of this list on this chain, after the list's default filters (see /dex/tokens); this endpoint takes no filters

Examples

bash
# The chains Trending covers
curl -H "X-Api-Key: <your-api-key>" \
  "https://open-api.coinworldcap.com/openapi/v1/dex/chains"

# The chains of the 1-hour Gainers list
curl -H "X-Api-Key: <your-api-key>" \
  "https://open-api.coinworldcap.com/openapi/v1/dex/chains?list=gainers&window=1h"
HTTP status code When
400 40000 list or window outside the values above
503 50300 No Trending list younger than three hours (DEX tokens)

A New, Gainers or shorter-window list that is missing or more than three hours old answers items: []. The other errors are in Errors.