API ReferenceToken APIGet Pairs & LiquidityGet Token Pair StatsGet Token Pair Stats Mainnet OnlyGEThttps://deep-index.moralis.io/api/v2.2/pairs/:address/statsGet the pair stats by using pair addressLooking for pair stats on Solana?Access pair stats data on Solana using our API.Explore Solana APINoteThe data is updated every 30 seconds to ensure you have access to near real-time information about price changes, liquidity, volume, and trading activity.PATH PARAMSaddressstringrequiredThe pair addressQUERY PARAMSchainstringThe chain to queryeth0x1sepolia0xaa36a7holesky0x4268polygon0x89polygon amoy0x13882bsc0x38bsc testnet0x61avalanche0xa86afantom0xfacronos0x19arbitrum0xa4b1gnosis0x64gnosis testnet0x27d8chiliz0x15b38chiliz testnet0x15b32base0x2105base sepolia0x14a34optimism0xalinea0xe708linea sepolia0xe705moonbeam0x504moonriver0x505moonbase0x507flow0x2ebflow-testnet0x221ronin0x7e4ronin-testnet0x7e5lisk0x46flisk-sepolia0x106apulse0x171Responses200Returns the pair stats.400Bad Request404Not Found429Too Many Requests500Internal Server ErrorAPI KEYTest Live APIcURLNode.jsPythonGoPHPcurl --request GET \ --url 'https://deep-index.moralis.io/api/v2.2/pairs/0xa43fe16908251ee70ef74718545e4fe6c5ccec9f/stats?chain=eth' \ --header 'accept: application/json' \ --header 'X-API-Key: YOUR_API_KEY' // Node.js v18+ has native fetch support// No additional dependencies requiredconst options = { method: 'GET', headers: { accept: 'application/json', 'X-API-Key': 'YOUR_API_KEY' },};fetch('https://deep-index.moralis.io/api/v2.2/pairs/0xa43fe16908251ee70ef74718545e4fe6c5ccec9f/stats?chain=eth', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));# Dependencies to install:# $ python -m pip install requestsimport requestsurl = "https://deep-index.moralis.io/api/v2.2/pairs/0xa43fe16908251ee70ef74718545e4fe6c5ccec9f/stats?chain=eth"headers = { "Accept": "application/json", "X-API-Key": "YOUR_API_KEY"}response = requests.request("GET", url, headers=headers)print(response.text)package mainimport ( "fmt" "net/http" "io")func main() { url := "https://deep-index.moralis.io/api/v2.2/pairs/0xa43fe16908251ee70ef74718545e4fe6c5ccec9f/stats?chain=eth" req, _ := http.NewRequest("GET", url, payload) req.Header.Add("Accept", "application/json") req.Header.Add("X-API-Key", "YOUR_API_KEY") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}<?php// Dependencies to install:// $ composer require guzzlehttp/guzzlerequire_once('vendor/autoload.php');$client = new \GuzzleHttp\Client();$response = $client->request('GET', 'https://deep-index.moralis.io/api/v2.2/pairs/0xa43fe16908251ee70ef74718545e4fe6c5ccec9f/stats?chain=eth', [ 'headers' => [ 'Accept' => 'application/json', 'X-API-Key' => 'YOUR_API_KEY', ],]);echo $response->getBody();Response Example200 Returns the pair stats.{ "tokenAddress": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "tokenName": "Wrapped Ether", "tokenSymbol": "WETH", "tokenLogo": "https://logo.moralis.io/0x1_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2_996ca17c00e6665189c55f0101abba12", "pairCreated": "2021-04-02T10:07:54.000Z", "pairLabel": "WETH/PEPE", "pairAddress": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "exchange": "Uniswap v2", "exchangeAddress": "0x101cc05f4a51c0319f570d5e146a8c625198e222", "exchangeLogo": "uniswap.png", "exchangeUrl": "app.uniswap.com", "currentUsdPrice": "0.00000194", "currentNativePrice": "0.0000000042", "totalLiquidityUsd": "43345522", "pricePercentChange": { "5min": 0.09856979079440326, "1h": 0.23177601087570995, "4h": 1.3056575044286343, "24h": 0.4482653565002788 }, "liquidityPercentChange": { "5min": 0.03745609400699131, "1h": 0.23280716969448695, "4h": -3.5386931892386437, "24h": -2.5011308034564723 }, "buys": { "5min": 10, "1h": 78, "4h": 345, "24h": 2282 }, "sells": { "5min": 10, "1h": 108, "4h": 409, "24h": 3130 }, "totalVolume": { "5min": 517133.48427126, "1h": 6628184.8790348, "4h": 23767839.919415, "24h": 257825464.3465 }, "buyVolume": { "5min": 384363.38145012, "1h": 3564931.2694156, "4h": 13366086.701575, "24h": 129123325.63683 }, "sellVolume": { "5min": 132770.10282114, "1h": 3063253.6096191, "4h": 10401753.21784, "24h": 128702138.70967 }, "buyers": { "5min": 6, "1h": 24, "4h": 47, "24h": 114 }, "sellers": { "5min": 6, "1h": 26, "4h": 60, "24h": 139 }}