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
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"
}
/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" }
]
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.
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:
/v1/tokens/{mint}/paid returns paid: true, and /v1/paid?mints= lists the token with paid: true.paid and paidAt./orders/v1/solana/{mint} lists a tokenProfile order with status approved./token-profiles/latest/v1 and into the /v1/profiles?since= change feed. A takedown that leaves no profile drops it from the first and lists it in the feed's removed.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.
null: No order for this token on dexdata.processing: Paid, but not published: an update from another wallet waiting for review (see Profiles and review), an order a newer one replaced before review, or one whose form hasn't finished sending.approved: Paid and published. reviewedAt is null until we've reviewed the order, and set once we approve it.rejected: Paid, then rejected in review and taken down. If another of the token's orders is approved, the token keeps that profile and paid stays true.curl "https://api.dexdata.org/orders/v1/solana/63jDWWFwp25ChLvsofbVRMprRbhiXuWoWVxrwFfypump" \
-H "x-api-key: $DEXDATA_API_KEY"
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