API ReferenceToken APIGet Pairs & LiquidityGet Token Pair StatsVersion: 2.2Get Token Pair StatsGEThttps://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/statsGet the pair stats by using pair addressLooking for token pair stats on EVM?Access token pair stats on EVM using our API.Explore EVM 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 PARAMSnetworkstringrequiredThe network to querymainnetdevnetpairAddressstringrequiredThe pair addressResponses200 Returns the pair stats.objectAPI KEYTest Live APINode.jsPythoncURLGoPHP// Dependencies to install:// $ npm install node-fetch --save// add "type": "module" to package.jsonimport fetch from 'node-fetch';const options = { method: 'GET', headers: { accept: 'application/json', 'X-API-Key': 'YOUR_API_KEY' },};fetch('https://solana-gateway.moralis.io/token/mainnet/pairs/83v8iPyZihDEjDdY8RdZddyZNyUtXngz69Lgo9Kt5d6d/stats', 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://solana-gateway.moralis.io/token/mainnet/pairs/83v8iPyZihDEjDdY8RdZddyZNyUtXngz69Lgo9Kt5d6d/stats"headers = { "Accept": "application/json", "X-API-Key": "YOUR_API_KEY"}response = requests.request("GET", url, headers=headers)print(response.text)curl --request GET \ --url 'https://solana-gateway.moralis.io/token/mainnet/pairs/83v8iPyZihDEjDdY8RdZddyZNyUtXngz69Lgo9Kt5d6d/stats' \ --header 'accept: application/json' \ --header 'X-API-Key: YOUR_API_KEY' package mainimport ( "fmt" "net/http" "io/ioutil")func main() { url := "https://solana-gateway.moralis.io/token/mainnet/pairs/83v8iPyZihDEjDdY8RdZddyZNyUtXngz69Lgo9Kt5d6d/stats" 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, _ := ioutil.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://solana-gateway.moralis.io/token/mainnet/pairs/83v8iPyZihDEjDdY8RdZddyZNyUtXngz69Lgo9Kt5d6d/stats', [ 'headers' => [ 'Accept' => 'application/json', 'X-API-Key' => 'YOUR_API_KEY', ],]);echo $response->getBody();Response Example200 Returns the pair stats.{ "tokenAddress": "So11111111111111111111111111111111111111112", "tokenName": "Wrapped SOL", "tokenSymbol": "SOL", "tokenLogo": "", "pairCreated": "", "pairLabel": "SOL/USDC", "pairAddress": "83v8iPyZihDEjDdY8RdZddyZNyUtXngz69Lgo9Kt5d6d", "exchange": "Orca Whirlpool", "exchangeAddress": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc", "exchangeLogo": "https://entities-logos.s3.amazonaws.com/orca.png", "exchangeUrl": "", "currentUsdPrice": "253.828998134", "currentNativePrice": "1.000000000", "totalLiquidityUsd": "418891.89570704", "pricePercentChange": { "5min": -0.008714344862928774, "1h": -0.717635588435784, "4h": 0.6634414953055396, "24h": 0.6554089425811667 }, "liquidityPercentChange": { "5min": 0.002550807647409825, "1h": 0.7293455553137336, "4h": 1.0947695816991907, "24h": -3.494241942992604 }, "buys": { "5min": 25, "1h": 1320, "4h": 5268, "24h": 35760 }, "sells": { "5min": 23, "1h": 1122, "4h": 4219, "24h": 30895 }, "totalVolume": { "5min": 23544.275417954, "1h": 816271.9723616, "4h": 2892716.8329447, "24h": 23915669.075196 }, "buyVolume": { "5min": 10962.891523975, "1h": 391476.55636069, "4h": 1455752.2761177, "24h": 11968623.126369 }, "sellVolume": { "5min": 12581.383893979, "1h": 424795.41600092, "4h": 1436964.5568269, "24h": 11947045.948827 }, "buyers": { "5min": 23, "1h": 645, "4h": 2063, "24h": 9980 }, "sellers": { "5min": 15, "1h": 422, "4h": 1179, "24h": 5634 }}