Dex paid checks

Check whether a token is dex paid on DexData, one token or a hundred at a time. Every endpoint gives the same answer.

Web page: https://docs.dexdata.org/api/dex-paid

Check a token

paid is true while one of the token's orders is approved, which it is from the moment its profile is published. Any valid address gets a 200, with "paid": false when no order is approved. This covers orders on dexdata only, not DexScreener's.

curl "https://api.dexdata.org/v1/tokens/63jDWWFwp25ChLvsofbVRMprRbhiXuWoWVxrwFfypump/paid" \
  -H "x-api-key: $DEXDATA_API_KEY"
{
  "mint": "63jDWWFwp25ChLvsofbVRMprRbhiXuWoWVxrwFfypump",
  "paid": true,
  "paidAt": 1795716401000,
  "status": "approved",
  "enhanced": true,
  "firstPaidAt": 1795716401000,
  "approvedAt": 1795720112000,
  "orders": [{ "paidAt": 1795716401000, "status": "approved", "reviewedAt": 1795720112000 }],
  "url": "https://dexdata.org/token/63jDWWFwp25ChLvsofbVRMprRbhiXuWoWVxrwFfypump"
}

Check a list

/v1/paid?mints= answers for up to 100 tokens in one request, in the order you asked, including the ones that aren't dex paid.

curl "https://api.dexdata.org/v1/paid?mints=63jDWWFwp25ChLvsofbVRMprRbhiXuWoWVxrwFfypump,So11111111111111111111111111111111111111112" \
  -H "x-api-key: $DEXDATA_API_KEY"
[
  { "mint": "63jDWWFwp25ChLvsofbVRMprRbhiXuWoWVxrwFfypump", "paid": true, "paidAt": 1795716401000, "url": "https://dexdata.org/token/63jDWWFwp25ChLvsofbVRMprRbhiXuWoWVxrwFfypump" },
  { "mint": "So11111111111111111111111111111111111111112", "paid": false, "paidAt": null, "url": "https://dexdata.org/token/So11111111111111111111111111111111111111112" }
]

When it became dex paid

paidAt is the Unix ms time the token became dex paid: the payment time of its oldest approved order. It's null while the token isn't dex paid. It's where a chart draws its dex-paid line, and it only moves if that order is taken down in review, when it becomes the next approved order's time, or null.

Same answer everywhere

A token is dex paid while one of its Enhanced Token Data orders is approved, the same test as an approved tokenProfile order on DexScreener's /orders/v1. On dexdata, an order is approved as soon as its profile is published, before review. If we reject it in review, it becomes rejected and stops counting. Every endpoint gives the same answer:

dexdata's own token, $DEXDATA, has a built-in profile rather than an order: it's dex paid from its launch, with one approved order at that time. The exception is a profile approved without an order, from before paid orders. It's served, but with paid: false, much as DexScreener shows info for tokens it picks up from CoinGecko's lists. So base a dex-paid badge on paid or the orders, not on whether a profile exists.

Order statuses

DexScreener-compatible endpoint

curl "https://api.dexdata.org/orders/v1/solana/63jDWWFwp25ChLvsofbVRMprRbhiXuWoWVxrwFfypump" \
  -H "x-api-key: $DEXDATA_API_KEY"

Show the badge

Label it DexData Paid and link it to url (see Attribution). Look the status up from your server:

// On your server: { paid, paidAt, url }, or null when the check failed.
async function dexPaid(mint) {
  const res = await fetch(`https://api.dexdata.org/v1/tokens/${mint}/paid`, {
    headers: { "x-api-key": process.env.DEXDATA_API_KEY },
  });
  if (!res.ok) return null; // 400 for a bad address; on 429, wait for Retry-After
  const { paid, paidAt, url } = await res.json();
  return { paid, paidAt, url };
}

dexdata developer docs: https://docs.dexdata.org/api.md · All docs: https://docs.dexdata.org/index.md · Full API reference: https://dexdata.org/llms.txt