CoinWorldCap Developer Support Request a key

DEX token liquidity

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

One DEX token's recent liquidity additions and removals, newest first, a page at a time. Only the last 48 hours, and at most 100 changes, are served.

Query parameters

As on /dex/tokens/trades: chain_slug, address, limit (default 20, at most 100), cursor.

Response

The fields are those of /dex/tokens/trades, with change_type (add or remove) in place of tx_type, value the USD value of the change, stale after 30 minutes, and no price, holder_tags or last_trade_time. Order and paging are the same.

Examples

bash
curl -H "X-Api-Key: <your-api-key>" \
  "https://open-api.coinworldcap.com/openapi/v1/dex/tokens/liquidity?chain_slug=base&address=0x07b3d902783c3c12b077508c3b5c00113d1291d0"

The errors are those of /dex/tokens/trades.