DEX Screener — Get one or multiple pairs by chain and pair address
Retrieve one or multiple pairs by chain and pair address with the DEX Screener API. Supply a chain ID (chainId) and a pair ID. Sample fields include market capitalizations and volumes. Use it for on-chain or crypto market research. The GET request schema also lists pairId. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
DEX Screener — Get one or multiple pairs by chain and pair address
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
pairobjectbaseTokenobjectaddressstringnamestringsymbolstring
chainIdstringdexIdstringfdvintegerinfoobjectheaderstringimageUrlstringopenGraphstringsocialsobject[]typestringurlstring
websitesobject[]labelstringurlstring
liquidityobjectbaseintegerquoteintegerusdnumber
marketCapintegerpairAddressstringpairCreatedAtintegerpriceChangeobjecth1numberh24numberh6numberm5number
priceNativestringpriceUsdstringquoteTokenobjectaddressstringnamestringsymbolstring
txnsobjecth1objectbuysintegersellsinteger
h24objectbuysintegersellsinteger
h6objectbuysintegersellsinteger
m5objectbuysintegersellsinteger
urlstringvolumeobjecth1numberh24numberh6numberm5number
pairsobject[]baseTokenobjectaddressstringnamestringsymbolstring
chainIdstringdexIdstringfdvintegerinfoobjectheaderstringimageUrlstringopenGraphstringsocialsobject[]typestringurlstring
websitesobject[]labelstringurlstring
liquidityobjectbaseintegerquoteintegerusdnumber
marketCapintegerpairAddressstringpairCreatedAtintegerpriceChangeobjecth1numberh24numberh6numberm5number
priceNativestringpriceUsdstringquoteTokenobjectaddressstringnamestringsymbolstring
txnsobjecth1objectbuysintegersellsinteger
h24objectbuysintegersellsinteger
h6objectbuysintegersellsinteger
m5objectbuysintegersellsinteger
urlstringvolumeobjecth1numberh24numberh6numberm5number
schemaVersionstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
pair?: {
baseToken?: {
address?: string;
name?: string;
symbol?: string;
};
chainId?: string;
dexId?: string;
fdv?: number;
info?: {
header?: string;
imageUrl?: string;
openGraph?: string;
socials?: Array<{
type?: string;
url?: string;
}>;
websites?: Array<{
label?: string;
url?: string;
}>;
};
liquidity?: {
base?: number;
quote?: number;
usd?: number;
};
marketCap?: number;
pairAddress?: string;
pairCreatedAt?: number;
priceChange?: {
h1?: number;
h24?: number;
h6?: number;
m5?: number;
};
priceNative?: string;
priceUsd?: string;
quoteToken?: {
address?: string;
name?: string;
symbol?: string;
};
txns?: {
h1?: {
buys?: number;
sells?: number;
};
h24?: {
buys?: number;
sells?: number;
};
h6?: {
buys?: number;
sells?: number;
};
m5?: {
buys?: number;
sells?: number;
};
};
url?: string;
volume?: {
h1?: number;
h24?: number;
h6?: number;
m5?: number;
};
};
pairs?: Array<{
baseToken?: {
address?: string;
name?: string;
symbol?: string;
};
chainId?: string;
dexId?: string;
fdv?: number;
info?: {
header?: string;
imageUrl?: string;
openGraph?: string;
socials?: Array<{
type?: string;
url?: string;
}>;
websites?: Array<{
label?: string;
url?: string;
}>;
};
liquidity?: {
base?: number;
quote?: number;
usd?: number;
};
marketCap?: number;
pairAddress?: string;
pairCreatedAt?: number;
priceChange?: {
h1?: number;
h24?: number;
h6?: number;
m5?: number;
};
priceNative?: string;
priceUsd?: string;
quoteToken?: {
address?: string;
name?: string;
symbol?: string;
};
txns?: {
h1?: {
buys?: number;
sells?: number;
};
h24?: {
buys?: number;
sells?: number;
};
h6?: {
buys?: number;
sells?: number;
};
m5?: {
buys?: number;
sells?: number;
};
};
url?: string;
volume?: {
h1?: number;
h24?: number;
h6?: number;
m5?: number;
};
}>;
schemaVersion?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DexScreenerCurrent DEX Screener — Get one or multiple pairs by chain and pair address · GET · View API reference | $0 / call | — | —successP50— |
- 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: 3. Price update time: not supplied.
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
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'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
chainId | URL path parameterspath | string | Yes | 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 |
pairId | URL path parameterspath | string | Yes | 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.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"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"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# DEX Screener — Get one or multiple pairs by chain and pair address
Retrieve one or multiple pairs by chain and pair address with the DEX Screener API. Supply a chain ID (chainId) and a pair ID. Sample fields include market capitalizations and volumes. Use it for on-chain or crypto market research. The GET request schema also lists pairId. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
## Available implementations
DexScreener · DEX Screener — Get one or multiple pairs by chain and pair address: https://openany.si/markets/apis/capabilities/dexscreener-dex-screener-get-one-or-multiple-pairs-by-chain-and-pair-address?offering=f870bcb7-df3f-44b8-85d9-1dba84d9bb01 · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dexscreener-dex-screener-get-one-or-multiple-pairs-by-chain-and-pair-address
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/pairs/{chainId}/{pairId}
Price: $0 / call
Provider: DexScreener
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
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'
```
## API contract
```json
{
"resource_type": "api",
"name": "DEX Screener — Get one or multiple pairs by chain and pair address",
"endpoint": "https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/pairs/{chainId}/{pairId}",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "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.",
"location": "path",
"min_length": 1,
"name": "chainId",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "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.",
"location": "path",
"min_length": 1,
"name": "pairId",
"nullable": false,
"required": true,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example",
"request": {
"body": null,
"headers": {},
"path": {
"chainId": "solana",
"pairId": "Ak7hDCxDSocD2ZgJBCa1ZwLcuDQz5F6n747a7rQtpXE3"
},
"query": {}
},
"response_body": {
"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"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example
Published documentation example. Verify the actual response after an approved call.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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'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" }