Pair Docs

Pair API

The public endpoints behind pair.cx, with real requests and responses.

The site reads everything from https://pair.cx/api. The endpoints are public, need no key, and return JSON.

EndpointReturnsCache
GET /api/coins?chain=<chain>The pairable coins of one chain60 seconds in your browser, 10 minutes on the server
GET /api/search?chain=<chain>&q=<query>Coins matching a name, symbol or address120 seconds in your browser, 5 minutes on the server
GET /api/launchesCoins launched on Pair15 seconds
GET /api/health{"ok":true} when the API is upnone

chain is one of solana, base, bsc, eth, robinhood.

Coins

curl "https://pair.cx/api/coins?chain=eth"
{
  "chain": "eth",
  "updatedAt": "2026-10-28T00:45:03.319Z",
  "source": "coingecko",
  "stale": false,
  "data": [
    {
      "id": "pepe",
      "address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
      "symbol": "PEPE",
      "name": "Pepe",
      "image": "https://coin-images.coingecko.com/coins/images/29850/large/pepe-token.jpeg?1696528776",
      "priceUsd": 0.0000046,
      "marketCapUsd": 1934145307,
      "volume24h": 303365676,
      "change24h": 6.02483,
      "rank": 51,
      "chain": "eth"
    }
  ]
}
FieldMeaning
addressThe coin's contract on that chain. native marks the chain's own coin (ETH, BNB).
nativetrue on the default native pair (SOL on Solana) and on each chain's own coin
staletrue while the server serves the last good list and fetches a new one
rankCoinGecko market cap rank
curl "https://pair.cx/api/search?chain=base&q=brett"
{
  "chain": "base",
  "data": [
    {
      "address": "0x532f27101965dd16442e59d40670faf5ebb142e4",
      "symbol": "BRETT",
      "name": "Brett",
      "priceUsd": 0.00467806115277983,
      "liquidityUsd": 1120281.2961,
      "marketCapUsd": 46357646.4170269,
      "change24h": -0.745,
      "chain": "base"
    }
  ]
}

Search needs at least 2 characters and allows 30 searches a minute per visitor.

Errors

StatusWhen
400Unknown chain, or a search shorter than 2 characters
429More than 30 searches in a minute
503The market data source is unreachable and no saved list exists