Tokens API

Is the liquidity locked or burned

Whether the liquidity behind the token can be pulled: the share of LP burned, how much is held under a locker and by which protocol, and the share still burnable; the rug-pull question, not the depth.

GET/api/external/token-analysis/lp-safety/{chain}/{mint}

Chains

  • Solana SOL
  • BNB Chain BNB
  • Ethereum ETH
  • Stable STABLE
  • Base BASE
  • Robinhood Chain RHC

Request

Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.

curl -H "x-dex-data-key: $DEXDATA_API_KEY" \
  "https://api.dexdata.io/api/external/token-analysis/lp-safety/SOL/<mint>"
Parameters
ParameterDescription
chain

path · string · required

The chain the token lives on. Every trading chain but ARC is served; which source answers is an internal decision and is not part of this contract. CELO, ARB, OP and SCROLL return 400 here.
mint

path · string · required

The token mint address (Solana) or contract address (EVM).

Response fields

A JSON response. Every field is always present; null means the value could not be established, never zero.

Response fields of Is the liquidity locked or burned
FieldType
burnedPctnumber | null
lockedboolean | null
lockedPctnumber | null
lockedUsdnumber | null
lockersstring[] | null
burnableLiquidityPctnumber | null

Start building with DexData today

Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.

Get a free API key