# DEX Screener Pair API Documentation

<p><strong>DEX Screener Pair API Documentation</strong> 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.</p>

- **Documentation:** [https://scrappa.co/docs/dexscreener-api/dexscreener_pair](https://scrappa.co/docs/dexscreener-api/dexscreener_pair)
- **API group:** DEX Screener API
- **Endpoint:** `GET https://scrappa.co/api/dexscreener/pair`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `chain` | string | Yes | Chain slug from search, e.g. ethereum. |
| `address` | string | Yes | Pair address from search. |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing or invalid. This response is not billable. |
| 503 | Service Unavailable | The upstream data is temporarily unavailable. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
