🤖
DEX API Reference
DEX Screener API reference
This API is still in beta and endpoints/types may change in the future
API calls are limited to 100 requests per minute

Pairs

get
https://api.dexscreener.com/latest
/dex/pairs/:chainId/:pairAddresses
Get one or multiple pairs by chain and pair address

Tokens

get
https://api.dexscreener.com/latest
/dex/tokens/:tokenAddreses
Get one or multiple pairs by token address

Search

get
https://api.dexscreener.com/latest
/dex/search/?q=:q
Search for pairs matching query

Pair type

interface Pair {
chainId: string;
dexId: string;
url: string;
pairAddress: string;
baseToken: {
address: string;
name: string;
symbol: string;
};
quoteToken: {
symbol: string;
};
priceNative: string;
priceUsd?: string;
txns: {
m5: {
buys: number;
sells: number;
};
h1: {
buys: number;
sells: number;
};
h6: {
buys: number;
sells: number;
};
h24: {
buys: number;
sells: number;
};
};
volume: {
m5: number;
h1: number;
h6: number;
h24: number;
};
priceChange: {
m5: number;
h1: number;
h6: number;
h24: number;
};
liquidity?: {
usd?: number;
base: number;
quote: number;
};
fdv?: number;
pairCreatedAt?: number;
}
Last modified 3mo ago