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

DEX Screener Search API Documentation

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

DEX Screener Search API Documentation Search public DEX pairs by token, symbol or chain. Each pair carries chain, dex, base and quote token, price USD, liquidity, 24h volume, price change, FDV, pair address, buys and sells, socials and full-size image URLs. Prices are numbers with a currency field. Creation times are ISO 8601. Results are ranked by 24h volume. The pair address and token addresses pass unchanged into pair and token routes. A genuinely empty answer is data and costs no credit, and every failed request costs 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 Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/dexscreener/search
Auth header
x-api-key
Cost
1 credit / request
q = coffee shops
Response preview
200 OK
{
    "data": {
        "count": 1,
        "pairs": [
            {
                "volume": {
                    "h24": 12000000
                },
                "chainId": "ethereum",
                "currency": "USD",
                "priceUsd": 3450.5,
                "pairAddress": "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8",
                "pairCreatedAt": "2021-05-05T00:00:00Z"
            }
...

Parameters

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

Runnable path

1 required parameter needed before sending a request.

q string Required

Search text, e.g. WETH.

Example value coffee shops

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": {
        "count": 1,
        "pairs": [
            {
                "volume": {
                    "h24": 12000000
                },
                "chainId": "ethereum",
                "currency": "USD",
                "priceUsd": 3450.5,
                "pairAddress": "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8",
                "pairCreatedAt": "2021-05-05T00:00:00Z"
            }
        ],
        "query": "WETH"
    },
    "meta": {
        "source": "dexscreener",
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "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": {
        "q": [
            "A search query is required, e.g. WETH."
        ]
    },
    "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.