DEX Pairs

On-chain DEX liquidity for a token: which pools exist, how deep they are, and how much they trade.

$0.0100 per call POST /v1/tools/dex-pairs

Call it

The first response is 402 with the exact price and every rail you can pay with. Pay, repeat the request with the proof, and you get the result.

curl -X POST https://api.glianalabs.com/v1/tools/dex-pairs \
  -H 'content-type: application/json' \
  -d '{"query":"WIF"}'

When to use it

Use when an agent needs to know whether a token is actually tradeable and where — token-price answers what it is worth, this answers whether you can get in and out. Inputs: query (required — a ticker like WIF, or better, the contract address), chain (optional filter, e.g. solana, base), limit (1-20, default 5). Returns pairs sorted by liquidity DESCENDING with price, liquidity, 24h volume, 24h change and the pair address, plus ambiguous_ticker: true when several tokens share the ticker at wildly different prices. Anyone can mint a token with any ticker, so a ticker search can match an impostor: pass the contract address when you know it, and treat a thin pool as untradeable however good its quoted price looks.

What it costs

$0.0100 per successful call — flat, with no plan, minimum or monthly fee. A call that fails validation is refused before it runs, so it is never charged.

Not sure this is the right endpoint? GET /v1/consult?intent=… is free and answers that.