DEX Screener Pair Search API
Search DEX Screener Pair via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DexScreener, pass parameters such as q, 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 resolve market identities, and compare asset matches.
- 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
DEX Screener Pair Search API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
DEX Screener Pair Search API
q is required and results can span chains. The response pairs[] contains the pairAddress and chainId needed for a pair-detail lookup.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required inputs: q |
| Selected implementation | dexscreener · DEX Screener — Search for pairs matching query |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Resolve market identities: Use pairAddress with its returned chainId.
- Compare asset matches: Check baseToken and quoteToken, not just display symbols.
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/search \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode q=SOL/USDC
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 Search 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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DexScreenerCurrent DEX Screener — Search for pairs matching query · GET · View API reference | $0 / call | 1 | 100.00%successP5059ms |
- 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.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
q | URL query parametersquery | string | Yes | Search text, such as a token symbol, token address, or pair name like SOL/USDC. Results can span chains; use each returned pair chainId in follow-up requests. minLength: 1 |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
pairsobject[]baseTokenobjectaddressstringnamestringsymbolstring
chainIdstringdexIdstringfdvintegerinfoobjectheaderstringimageUrlstringopenGraphstringsocialsobject[]typestringurlstring
websitesobject[]labelstringurlstring
labelsstring[]liquidityobjectbasenumberquotenumberusdnumber
marketCapintegerpairAddressstringpairCreatedAtintegerpriceChangeobjecth1numberh24numberh6numberm5number
priceNativestringpriceUsdstringquoteTokenobjectaddressstringnamestringsymbolstring
txnsobjecth1objectbuysintegersellsinteger
h24objectbuysintegersellsinteger
h6objectbuysintegersellsinteger
m5objectbuysintegersellsinteger
urlstringvolumeobjecth1numberh24numberh6numberm5number
schemaVersionstring
Agent integration
Copy the resource contract without sharing an API key.
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 (source abbreviated)
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 1
Review these request fields before running. Keep the published provider and request method unchanged.
q- Search text, such as a token symbol, token address, or pair name like SOL/USDC. Results can span chains; use each returned pair chainId in follow-up requests.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/search?q=SOL%2FUSDC' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "pairs": [ { "baseToken": { "address": "0xAE2Df3c1749daEE721c1BFcbbFDde5D61ae7cb99" }, "chainId": "robinhood", "dexId": "uniswap", "fdv": 40751, "info": { "header": "https://cdn.dexscreener.com/cms/images/TH70ECYcHhykQ0PU?width=1500&height=500&quality=95&format=auto", "imageUrl": "https://cdn.dexscreener.com/cms/images/ijpYM-Me8A6Zjrza?width=800&height=800&quality=95&format=auto", "openGraph": "https://cdn.dexscreener.com/token-images/og/robinhood/0xae2df3c1749daee721c1bfcbbfdde5d61ae7cb99?timestamp=1793331900000", "socials": [ { "type": "twitter", "url": "https://x.com/i/communities/2015439281674940521" }, { "type": "telegram", "url": "https://t.me/everysinglecryptoevermade" }, { "type": "tiktok", "url": "https://www.tiktok.com/@btcethusdtbnbusdcxrp.cto?_r=1&_t=ZN-9AxRWa7Izsk" } ], "websites": [ { "label": "Website", "url": "https://allcoinsinonehood.fun/" } ] }, "labels": [ "v3" ], "liquidity": { "base": 469585780, "quote": 7.7786, "usd": 36405.14 }, "marketCap": 40751, "pairAddress": "0x708aEf3736C15FCc1c0b3606C5b9a33fe8656784", "pairCreatedAt": 1784427448000, "priceChange": { "h1": 0.38, "h24": -12.19, "h6": -2.3 }, "priceNative": "0.00000001835", "priceUsd": "0.00004075", "quoteToken": { "address": "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73", "name": "WETH", "symbol": "WETH" }, "txns": { "h1": { "buys": 1, "sells": 6 }, "h24": { "buys": 26, "sells": 148 }, "h6": { "buys": 3, "sells": 29 }, "m5": { "buys": 0, "sells": 0 } }, "url": "https://dexscreener.com/robinhood/0x708aef3736c15fcc1c0b3606c5b9a33fe8656784", "volume": { "h1": 0.71, "h24": 1043.09, "h6": 11.38, "m5": 0 } }, { "baseToken": { "address": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82", "name": "Solana", "symbol": "SOL" }, "chainId": "base", "dexId": "aerodrome", "fdv": 29311509, "info": { "imageUrl": "https://cdn.dexscreener.com/cms/images/e06bde6f35af4295de2c1b039f242b464012689ad6fc669ee977a9148b2eb936?width=800&height=800&quality=95&format=auto", "openGraph": "https://cdn.dexscreener.com/token-images/og/base/0x311935cd80b76769bf2ecc9d8ab7635b2139cf82?timestamp=1793331900000", "socials": [ { "type": "twitter", "url": "https://x.com/solana" } ], "websites": [ { "label": "Website", "url": "https://solana.com/" } ] }, "liquidity": { "base": 1004.9097, "quote": 27654, "usd": 124962.54 }, "marketCap": 29311509, "pairAddress": "0x1131DB5977242a03eBeaD1aCD18F80A9A29e5922", "priceChange": { "h1": 1.84, "h24": -2.75, "h6": -0.16, "m5": 0.22 }, "priceNative": "96.8326", "priceUsd": "96.83", "quoteToken": { "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "name": "USD Coin", "symbol": "USDC" }, "txns": { "h1": { "buys": 84, "sells": 153 }, "h24": { "buys": 3300, "sells": 3714 }, "h6": { "buys": 1507, "sells": 1954 }, "m5": { "buys": 7, "sells": 17 } }, "url": "https://dexscreener.com/base/0x1131db5977242a03ebead1acd18f80a9a29e5922", "volume": { "h1": 23883.4, "h24": 831588.51, "h6": 408613.15, "m5": 2772.68 } }, { "baseToken": { "address": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82", "name": "Solana", "symbol": "SOL" }, "chainId": "base", "dexId": "aero", "fdv": 29295282, "info": { "imageUrl": "https://cdn.dexscreener.com/cms/images/e06bde6f35af4295de2c1b039f242b464012689ad6fc669ee977a9148b2eb936?width=800&height=800&quality=95&format=auto", "openGraph": "https://cdn.dexscreener.com/token-images/og/base/0x311935cd80b76769bf2ecc9d8ab7635b2139cf82?timestamp=1793331900000", "socials": [ { "type": "twitter", "url": "https://x.com/solana" } ], "websites": [ { "label": "Website", "url": "https://solana.com/" } ] }, "liquidity": { "base": 3748.3888, "quote": 82674, "usd": 445439.54 }, "marketCap": 29295282, "pairAddress": "0x868Eed6BAD4bD368cd053b766F84CC727697589A", "priceChange": { "h1": 1.82, "h24": -2.82, "h6": -0.25, "m5": 0.16 }, "priceNative": "96.7790", "priceUsd": "96.77", "quoteToken": { "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "name": "USD Coin", "symbol": "USDC" }, "txns": { "h1": { "buys": 185, "sells": 78 }, "h24": { "buys": 5756, "sells": 6025 }, "h6": { "buys": 2028, "sells": 2041 }, "m5": { "buys": 19, "sells": 3 } }, "url": "https://dexscreener.com/base/0x868eed6bad4bd368cd053b766f84cc727697589a", "volume": { "h1": 85515.4, "h24": 6271408.47, "h6": 1181105.97, "m5": 8392.35 } } ], "schemaVersion": "1.0.0" }