Skip to content
Scrappa Get API key
DEX Screener API 1 credit / request

DEX Screener Token Batch API Documentation

GET https://scrappa.co/api/dexscreener/token/batch

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.

DEX Screener Token Batch API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/dexscreener/token/batch
Auth header
x-api-key
Cost
1 credit / request
chain = example addresses = example
Response preview
200 OK
{
    "data": {
        "chain": "ethereum",
        "count": 1,
        "tokens": [
            {
                "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                "chainId": "ethereum",
                "pairAddress": "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"
            }
        ],
        "addresses": [
            "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
        ]
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

chain string Required

Chain slug from search, e.g. ethereum.

Example value example
addresses string Required

One to 30 token addresses, comma separated.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "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.

422

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"
}
503

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.