DEX Screener Token Batch API Documentation Get one main pair for each of 1 to 30 token addresses on one chain. Pass addresses exactly as search returns them; each address comes back unchanged with its pair address and full pair data. The main pair is the one with the highest 24h volume. Prices are numbers with a currency field. A genuinely empty answer and every failed request cost no credit. Cost: 1 credit per successful request. Scrappa is an independent service and is not affiliated with or endorsed by DEX Screener.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
string
Required
Chain slug from search, e.g. ethereum.
example
string
Required
One to 30 token addresses, comma separated.
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"chain": "ethereum",
"count": 1,
"tokens": [
{
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"chainId": "ethereum",
"pairAddress": "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"
}
],
"addresses": [
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
]
},
"meta": {
"source": "dexscreener",
"credits": 1,
"billable": true,
"endpoint_family": "token.batch"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A query parameter is missing or invalid. This response is not billable.
{
"errors": {
"addresses": [
"At most 30 token addresses are accepted per request."
]
},
"message": "The request validation failed"
}Service Unavailable
The upstream data is temporarily unavailable. This response is not billable.
{
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The DEX Screener data is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.