OpenAny
Get API keyAPI Key
APICrypto & DeFi

dexscreener logo
DEX Screener Pair Details API

Get DEX Screener Pair Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DexScreener, configure supported query parameters and filters, and retrieve structured data including trading-pair or pool address, DEX Screener chain slug, base-asset metadata, quote-asset metadata, and reported USD price to inspect selected pools, and compare market records.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

DEX Screener Pair Details API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
DEX Screener Pair Details API

DEX Screener Pair Details API

chainId and pairId are required path inputs. Get pairAddress from Pair Search or a token-pool response and use the matching chainId.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required inputs: chainId, pairId
Selected implementation dexscreener · DEX Screener — Get one or multiple pairs by chain and pair address
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Inspect selected pools: Keep chainId with pairAddress.
  • Compare market records: Retain baseToken and quoteToken identities.

Returned Data

Field Meaning
pairs[].pairAddress Trading-pair or pool address
pairs[].chainId DEX Screener chain slug
pairs[].baseToken Base-asset metadata
pairs[].quoteToken Quote-asset metadata
pairs[].priceUsd Reported USD price
pairs[].liquidity Reported liquidity metadata

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/pairs/solana/Ak7hDCxDSocD2ZgJBCa1ZwLcuDQz5F6n747a7rQtpXE3 \
  -H "Authorization: Bearer ${OPENANY_API_KEY}"

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published DEX Screener Pair Details API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
DEX Screener chain slug, such as solana or ethereum. Use the chainId returned by a pair or token-profile response; do not pass a numeric EVM chain ID.
DEX pair or liquidity-pool address on the selected chain. Obtain pairAddress from search or token-pairs results; a token mint address is not a pair address.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
DEX Screener — Get one or multiple pairs by chain and pair address · GET · View API reference$0 / call1
100.00%successP50291ms
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · DexScreenerUSD / call
Unit price
$0

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/pairs/{chainId}/{pairId}
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
chainIdURL path parameterspathstringYes

DEX Screener chain slug, such as solana or ethereum. Use the chainId returned by a pair or token-profile response; do not pass a numeric EVM chain ID.

minLength: 1

pairIdURL path parameterspathstringYes

DEX pair or liquidity-pool address on the selected chain. Obtain pairAddress from search or token-pairs results; a token mint address is not a pair address.

minLength: 1

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • pairobject
    • baseTokenobject
      • addressstring
      • namestring
      • symbolstring
    • chainIdstring
    • dexIdstring
    • fdvinteger
    • infoobject
      • headerstring
      • imageUrlstring
      • openGraphstring
      • socialsobject[]
        • typestring
        • urlstring
      • websitesobject[]
        • labelstring
        • urlstring
    • liquidityobject
      • baseinteger
      • quoteinteger
      • usdnumber
    • marketCapinteger
    • pairAddressstring
    • pairCreatedAtinteger
    • priceChangeobject
      • h1number
      • h24number
      • h6number
      • m5number
    • priceNativestring
    • priceUsdstring
    • quoteTokenobject
      • addressstring
      • namestring
      • symbolstring
    • txnsobject
      • h1object
        • buysinteger
        • sellsinteger
      • h24object
        • buysinteger
        • sellsinteger
      • h6object
        • buysinteger
        • sellsinteger
      • m5object
        • buysinteger
        • sellsinteger
    • urlstring
    • volumeobject
      • h1number
      • h24number
      • h6number
      • m5number
  • pairsobject[]
    • baseTokenobject
      • addressstring
      • namestring
      • symbolstring
    • chainIdstring
    • dexIdstring
    • fdvinteger
    • infoobject
      • headerstring
      • imageUrlstring
      • openGraphstring
      • socialsobject[]
        • typestring
        • urlstring
      • websitesobject[]
        • labelstring
        • urlstring
    • liquidityobject
      • baseinteger
      • quoteinteger
      • usdnumber
    • marketCapinteger
    • pairAddressstring
    • pairCreatedAtinteger
    • priceChangeobject
      • h1number
      • h24number
      • h6number
      • m5number
    • priceNativestring
    • priceUsdstring
    • quoteTokenobject
      • addressstring
      • namestring
      • symbolstring
    • txnsobject
      • h1object
        • buysinteger
        • sellsinteger
      • h24object
        • buysinteger
        • sellsinteger
      • h6object
        • buysinteger
        • sellsinteger
      • m5object
        • buysinteger
        • sellsinteger
    • urlstring
    • volumeobject
      • h1number
      • h24number
      • h6number
      • m5number
  • schemaVersionstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 2

    Review these request fields before running. Keep the published provider and request method unchanged.

    chainId
    DEX Screener chain slug, such as solana or ethereum. Use the chainId returned by a pair or token-profile response; do not pass a numeric EVM chain ID.
    pairId
    DEX pair or liquidity-pool address on the selected chain. Obtain pairAddress from search or token-pairs results; a token mint address is not a pair address.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/pairs/solana/Ak7hDCxDSocD2ZgJBCa1ZwLcuDQz5F6n747a7rQtpXE3' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "pair": {
        "baseToken": {
          "address": "8wxkvAfEns76yBzu4MnbV7VnXWjg3iDPA9uwAQ6cpump",
          "name": "SolAngeles",
          "symbol": "SOLANGELES"
        },
        "chainId": "solana",
        "dexId": "pumpswap",
        "fdv": 480742,
        "info": {
          "header": "https://cdn.dexscreener.com/cms/images/p_XpQAIaJT3sGAPo?width=1500&height=500&quality=95&format=auto",
          "imageUrl": "https://cdn.dexscreener.com/cms/images/pi8udfIf51qcX95D?width=800&height=800&quality=95&format=auto",
          "openGraph": "https://cdn.dexscreener.com/token-images/og/solana/8wxkvAfEns76yBzu4MnbV7VnXWjg3iDPA9uwAQ6cpump?timestamp=1793331900000",
          "socials": [
            {
              "type": "twitter",
              "url": "https://x.com/solangelestv"
            }
          ],
          "websites": [
            {
              "label": "Website",
              "url": "https://solangeles.fun"
            }
          ]
        },
        "liquidity": {
          "base": 107314652,
          "quote": 51088,
          "usd": 102742.79
        },
        "marketCap": 480742,
        "pairAddress": "Ak7hDCxDSocD2ZgJBCa1ZwLcuDQz5F6n747a7rQtpXE3",
        "pairCreatedAt": 1779397336000,
        "priceChange": {
          "h1": 1.05,
          "h24": -0.61,
          "h6": 3.9,
          "m5": 0.1
        },
        "priceNative": "0.0004813",
        "priceUsd": "0.0004813",
        "quoteToken": {
          "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
          "name": "USD Coin",
          "symbol": "USDC"
        },
        "txns": {
          "h1": {
            "buys": 7,
            "sells": 0
          },
          "h24": {
            "buys": 58,
            "sells": 113
          },
          "h6": {
            "buys": 34,
            "sells": 59
          },
          "m5": {
            "buys": 6,
            "sells": 0
          }
        },
        "url": "https://dexscreener.com/solana/ak7hdcxdsocd2zgjbca1zwlcudqz5f6n747a7rqtpxe3",
        "volume": {
          "h1": 30.74,
          "h24": 7711.18,
          "h6": 5168.65,
          "m5": 30.39
        }
      },
      "pairs": [
        {
          "baseToken": {
            "address": "8wxkvAfEns76yBzu4MnbV7VnXWjg3iDPA9uwAQ6cpump",
            "name": "SolAngeles",
            "symbol": "SOLANGELES"
          },
          "chainId": "solana",
          "dexId": "pumpswap",
          "fdv": 480742,
          "info": {
            "header": "https://cdn.dexscreener.com/cms/images/p_XpQAIaJT3sGAPo?width=1500&height=500&quality=95&format=auto",
            "imageUrl": "https://cdn.dexscreener.com/cms/images/pi8udfIf51qcX95D?width=800&height=800&quality=95&format=auto",
            "openGraph": "https://cdn.dexscreener.com/token-images/og/solana/8wxkvAfEns76yBzu4MnbV7VnXWjg3iDPA9uwAQ6cpump?timestamp=1793331900000",
            "socials": [
              {
                "type": "twitter",
                "url": "https://x.com/solangelestv"
              }
            ],
            "websites": [
              {
                "label": "Website",
                "url": "https://solangeles.fun"
              }
            ]
          },
          "liquidity": {
            "base": 107314652,
            "quote": 51088,
            "usd": 102742.79
          },
          "marketCap": 480742,
          "pairAddress": "Ak7hDCxDSocD2ZgJBCa1ZwLcuDQz5F6n747a7rQtpXE3",
          "pairCreatedAt": 1779397336000,
          "priceChange": {
            "h1": 1.05,
            "h24": -0.61,
            "h6": 3.9,
            "m5": 0.1
          },
          "priceNative": "0.0004813",
          "priceUsd": "0.0004813",
          "quoteToken": {
            "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
            "name": "USD Coin",
            "symbol": "USDC"
          },
          "txns": {
            "h1": {
              "buys": 7,
              "sells": 0
            },
            "h24": {
              "buys": 58,
              "sells": 113
            },
            "h6": {
              "buys": 34,
              "sells": 59
            },
            "m5": {
              "buys": 6,
              "sells": 0
            }
          },
          "url": "https://dexscreener.com/solana/ak7hdcxdsocd2zgjbca1zwlcudqz5f6n747a7rqtpxe3",
          "volume": {
            "h1": 30.74,
            "h24": 7711.18,
            "h6": 5168.65,
            "m5": 30.39
          }
        }
      ],
      "schemaVersion": "1.0.0"
    }

Common questions

What does chainId mean here?

Use the DEX Screener chain slug, such as solana or ethereum, rather than a numeric EVM chain ID.

Are token and pair addresses interchangeable?

No. A token mint or contract identifies an asset; pairAddress identifies a liquidity pool or trading pair.

Where do I find a pair address?

Use pairAddress from Pair Search or a token-pool result.

Can an asset trade in several pools?

Yes. Inspect each returned pair rather than assuming one token maps to one market.

Does this execute a swap?

No. It is a market-data lookup.

Are these values a guaranteed trade quote?

No. They are reported market or platform metadata, not a signed or executable trade.

Use DEX Screener Pair Details API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.