Tokens API
A second, independent token risk score
A second, independent risk read (0-100, higher means more risk) from a different source than the main security check; ETH, BNB and BASE only. Read alongside security, never averaged with it.
GET
/api/external/token-analysis/token-score/{chain}/{mint}Chains
- BNB Chain BNB
- Ethereum ETH
- Base BASE
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/token-score/BNB/<mint>"
| Parameter | Description |
|---|---|
chainpath · string · required | ETH, BNB and BASE only; every other chain returns 400. |
mintpath · 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.
| Field | Type | Description |
|---|---|---|
rugScore | number | null | A second, independent risk read (0-100, HIGHER = MORE RISK), normalised to this surface's convention from a source whose own scale runs the OPPOSITE way (higher = safer). null means the source had no reading at all — never read null as clean. Distinct from security.rugScore: read both, do not average them. |
updatedAt | string | null | When this reading was computed, ISO-8601 UTC, or null when unavailable. |
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