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

DEX Screener Pair API Documentation

GET https://scrappa.co/api/dexscreener/pair

DEX Screener Pair API Documentation Read full detail for one pair. Pass the chain and pair address from search unchanged. The answer has base and quote token, price USD and native, liquidity, FDV, market cap, ISO 8601 creation date, buys and sells for 5m, 1h, 6h and 24h, volume and price change by window, socials, websites and full-size image URLs. Missing windows and a missing price are null, not zero. A null pair is a valid empty answer and costs no credit, as does every failed request. Cost: 1 credit per successful request. Scrappa is an independent service and is not affiliated with or endorsed by DEX Screener.

DEX Screener Pair API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/dexscreener/pair
Auth header
x-api-key
Cost
1 credit / request
chain = example address = example
Response preview
200 OK
{
    "data": {
        "pair": {
            "fdv": 1200000000,
            "txns": {
                "h24": {
                    "buys": 120,
                    "sells": 98
                }
            },
            "volume": {
                "h24": 12000000
            },
            "chainId": "ethereum",
...

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
address string Required

Pair address from search.

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": {
        "pair": {
            "fdv": 1200000000,
            "txns": {
                "h24": {
                    "buys": 120,
                    "sells": 98
                }
            },
            "volume": {
                "h24": 12000000
            },
            "chainId": "ethereum",
            "currency": "USD",
            "priceUsd": 3450.5,
            "liquidity": {
                "usd": 4200000
            },
            "pairAddress": "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8",
            "pairCreatedAt": "2021-05-05T00:00:00Z"
        },
        "chain": "ethereum",
        "address": "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"
    },
    "meta": {
        "source": "dexscreener",
        "credits": 1,
        "billable": true,
        "endpoint_family": "pair"
    },
    "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": {
        "address": [
            "Address is a pair address as the site returns it."
        ]
    },
    "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.