SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokenTradesV2('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', {
limit: 100,
arbitrage: true, // Adds arbitrage through the token in the page's slots.
});
// Pages can be empty while more remain: client.iterateTokenTradesV2() follows nextCursor for you.curl --request GET \
--url https://data.solanatracker.io/v2/trades/{token} \
--header 'x-api-key: <api-key>'import requests
url = "https://data.solanatracker.io/v2/trades/{token}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://data.solanatracker.io/v2/trades/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data.solanatracker.io/v2/trades/{token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data.solanatracker.io/v2/trades/{token}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.solanatracker.io/v2/trades/{token}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/v2/trades/{token}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"trades": [
{
"tx": "5V4apVkgHf49J5acYPiuh5rB89EGsF8ocSysgnD9vFfZsTtDamhN3MFDKJSq7Dn7Z6Y5XhjghuVYuvvYWnSFpnvW",
"slot": 470027315,
"txIndex": 312,
"swapIndex": 0,
"time": 1794733462000,
"type": "sell",
"wallet": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"owner": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"feePayer": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 90,
"priceUsd": 6.002467911111111,
"priceSol": 0.03285243233052986,
"marketCapUsd": 6002464620.378128,
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"quoteAmount": 540.222112,
"quotePriceUsd": 1,
"volumeUsd": 540.222112,
"volumeSol": 2.956718909747688,
"solPriceUsd": 182.71,
"program": "meteora-dlmm",
"platform": "axiom",
"pools": [
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": false,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 90,
"amountRaw": "90000000",
"priceUsd": 6.002467911111111,
"residualRaw": "0",
"walletChangeRaw": "-90000000"
},
"to": {
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"decimals": 6,
"amount": 540.222112,
"amountRaw": "540222112",
"priceUsd": 1,
"residualRaw": "0",
"walletChangeRaw": "540222112"
},
"fees": {
"txLamports": 105000,
"priorityLamports": 100000,
"signatures": 1,
"tipLamports": 1000000,
"tipService": "jito",
"platformFeeRaw": "2956624",
"platformFeeMint": "So11111111111111111111111111111111111111112",
"platformFeeApp": "axiom",
"totalUsd": 0.742099
},
"compute": {
"unitsConsumed": 148213,
"unitLimit": 200000,
"unitPriceMicroLamports": 500000
},
"route": {
"programId": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"router": null,
"priceMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"instructionIndex": 3,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"11111111111111111111111111111111"
]
}
},
{
"tx": "3wpLJJVCb7Z5ANgtqqkJxkmhEh1y5yvE4GkPESuAtjQWbqFFd2PAzhouVh3Yu4EwTWYXtytptjFy8DHU3L8s6fMg",
"slot": 470027315,
"txIndex": 187,
"swapIndex": 0,
"time": 1794733462000,
"type": "buy",
"wallet": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"owner": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"feePayer": "HjMhpGkbtBfrbmSSmjN3dGdXrdXAvwPgt2YqUP2GjZpF",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 30.481902,
"priceUsd": 5.994048534110503,
"priceSol": 0.03280635178211648,
"marketCapUsd": 5994045247.993275,
"quoteToken": "So11111111111111111111111111111111111111112",
"quoteAmount": 1,
"quotePriceUsd": 182.71,
"volumeUsd": 182.71,
"volumeSol": 1,
"solPriceUsd": 182.71,
"program": "jupiter",
"platform": null,
"pools": [
"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj",
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": true,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "So11111111111111111111111111111111111111112",
"decimals": 9,
"amount": 1,
"amountRaw": "1000000000",
"priceUsd": 182.71,
"residualRaw": "2039280",
"walletChangeRaw": "-1002039280"
},
"to": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 30.481902,
"amountRaw": "30481902",
"priceUsd": 5.994048534110503,
"residualRaw": "0",
"walletChangeRaw": "30481902"
},
"fees": {
"txLamports": 10000,
"priorityLamports": 0,
"signatures": 2,
"tipLamports": 0,
"tipService": null,
"platformFeeRaw": "0",
"platformFeeMint": null,
"platformFeeApp": null,
"totalUsd": 0.001827
},
"compute": {
"unitsConsumed": 211873,
"unitLimit": 400000,
"unitPriceMicroLamports": 0
},
"route": {
"programId": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"router": "jupiter",
"priceMint": "So11111111111111111111111111111111111111112",
"instructionIndex": 2,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
]
}
}
],
"tokens": {
"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN": {
"name": "OFFICIAL TRUMP",
"symbol": "TRUMP",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"supply": 999999451.77,
"uri": "https://arweave.net/cSCP0h2n1crjeSWE9KF-XtLciJalDNFs7Vf-Sm0NNY0",
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": "https://gettrumpmemes.com"
},
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": {
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v%2Flogo.png",
"supply": 8873651024.53,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
},
"So11111111111111111111111111111111111111112": {
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FSo11111111111111111111111111111111111111112%2Flogo.png",
"supply": 551203887.41,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
}
},
"pools": {
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2": {
"market": "meteora-dlmm",
"tokenAddress": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"liquidityUsd": 41872931.44,
"lpBurn": 0,
"createdAt": 1737165082000
}
},
"wallets": {
"F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi": {
"type": "axiom",
"tags": [
"axiom"
],
"platforms": [
"axiom"
]
}
},
"nextCursor": "eyJzbG90Ijo0NzAwMjczMTUsInR4SW5kZXgiOjE4Nywic3dhcEluZGV4IjowLCJzaWRlIjoiYnV5In0",
"hasNextPage": true,
"sortDirection": "DESC"
}Token
Solana Token Trades API V2
Get a Solana token’s trades with signatures, exact amounts, fees, prices and market cap.
GET
/
v2
/
trades
/
{token}
SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokenTradesV2('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', {
limit: 100,
arbitrage: true, // Adds arbitrage through the token in the page's slots.
});
// Pages can be empty while more remain: client.iterateTokenTradesV2() follows nextCursor for you.curl --request GET \
--url https://data.solanatracker.io/v2/trades/{token} \
--header 'x-api-key: <api-key>'import requests
url = "https://data.solanatracker.io/v2/trades/{token}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://data.solanatracker.io/v2/trades/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data.solanatracker.io/v2/trades/{token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data.solanatracker.io/v2/trades/{token}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.solanatracker.io/v2/trades/{token}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/v2/trades/{token}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"trades": [
{
"tx": "5V4apVkgHf49J5acYPiuh5rB89EGsF8ocSysgnD9vFfZsTtDamhN3MFDKJSq7Dn7Z6Y5XhjghuVYuvvYWnSFpnvW",
"slot": 470027315,
"txIndex": 312,
"swapIndex": 0,
"time": 1794733462000,
"type": "sell",
"wallet": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"owner": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"feePayer": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 90,
"priceUsd": 6.002467911111111,
"priceSol": 0.03285243233052986,
"marketCapUsd": 6002464620.378128,
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"quoteAmount": 540.222112,
"quotePriceUsd": 1,
"volumeUsd": 540.222112,
"volumeSol": 2.956718909747688,
"solPriceUsd": 182.71,
"program": "meteora-dlmm",
"platform": "axiom",
"pools": [
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": false,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 90,
"amountRaw": "90000000",
"priceUsd": 6.002467911111111,
"residualRaw": "0",
"walletChangeRaw": "-90000000"
},
"to": {
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"decimals": 6,
"amount": 540.222112,
"amountRaw": "540222112",
"priceUsd": 1,
"residualRaw": "0",
"walletChangeRaw": "540222112"
},
"fees": {
"txLamports": 105000,
"priorityLamports": 100000,
"signatures": 1,
"tipLamports": 1000000,
"tipService": "jito",
"platformFeeRaw": "2956624",
"platformFeeMint": "So11111111111111111111111111111111111111112",
"platformFeeApp": "axiom",
"totalUsd": 0.742099
},
"compute": {
"unitsConsumed": 148213,
"unitLimit": 200000,
"unitPriceMicroLamports": 500000
},
"route": {
"programId": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"router": null,
"priceMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"instructionIndex": 3,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"11111111111111111111111111111111"
]
}
},
{
"tx": "3wpLJJVCb7Z5ANgtqqkJxkmhEh1y5yvE4GkPESuAtjQWbqFFd2PAzhouVh3Yu4EwTWYXtytptjFy8DHU3L8s6fMg",
"slot": 470027315,
"txIndex": 187,
"swapIndex": 0,
"time": 1794733462000,
"type": "buy",
"wallet": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"owner": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"feePayer": "HjMhpGkbtBfrbmSSmjN3dGdXrdXAvwPgt2YqUP2GjZpF",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 30.481902,
"priceUsd": 5.994048534110503,
"priceSol": 0.03280635178211648,
"marketCapUsd": 5994045247.993275,
"quoteToken": "So11111111111111111111111111111111111111112",
"quoteAmount": 1,
"quotePriceUsd": 182.71,
"volumeUsd": 182.71,
"volumeSol": 1,
"solPriceUsd": 182.71,
"program": "jupiter",
"platform": null,
"pools": [
"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj",
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": true,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "So11111111111111111111111111111111111111112",
"decimals": 9,
"amount": 1,
"amountRaw": "1000000000",
"priceUsd": 182.71,
"residualRaw": "2039280",
"walletChangeRaw": "-1002039280"
},
"to": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 30.481902,
"amountRaw": "30481902",
"priceUsd": 5.994048534110503,
"residualRaw": "0",
"walletChangeRaw": "30481902"
},
"fees": {
"txLamports": 10000,
"priorityLamports": 0,
"signatures": 2,
"tipLamports": 0,
"tipService": null,
"platformFeeRaw": "0",
"platformFeeMint": null,
"platformFeeApp": null,
"totalUsd": 0.001827
},
"compute": {
"unitsConsumed": 211873,
"unitLimit": 400000,
"unitPriceMicroLamports": 0
},
"route": {
"programId": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"router": "jupiter",
"priceMint": "So11111111111111111111111111111111111111112",
"instructionIndex": 2,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
]
}
}
],
"tokens": {
"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN": {
"name": "OFFICIAL TRUMP",
"symbol": "TRUMP",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"supply": 999999451.77,
"uri": "https://arweave.net/cSCP0h2n1crjeSWE9KF-XtLciJalDNFs7Vf-Sm0NNY0",
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": "https://gettrumpmemes.com"
},
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": {
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v%2Flogo.png",
"supply": 8873651024.53,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
},
"So11111111111111111111111111111111111111112": {
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FSo11111111111111111111111111111111111111112%2Flogo.png",
"supply": 551203887.41,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
}
},
"pools": {
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2": {
"market": "meteora-dlmm",
"tokenAddress": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"liquidityUsd": 41872931.44,
"lpBurn": 0,
"createdAt": 1737165082000
}
},
"wallets": {
"F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi": {
"type": "axiom",
"tags": [
"axiom"
],
"platforms": [
"axiom"
]
}
},
"nextCursor": "eyJzbG90Ijo0NzAwMjczMTUsInR4SW5kZXgiOjE4Nywic3dhcEluZGV4IjowLCJzaWRlIjoiYnV5In0",
"hasNextPage": true,
"sortDirection": "DESC"
}A token’s trades across every pool, newest first. Each trade has its signature, its exact position on chain (
slot, txIndex, swapIndex), USD and SOL prices, market cap and the trader (wallet, with owner and feePayer). Full pages add both legs with exact raw amounts and the owner’s balance change, fees and tips, compute and route. Each mint on the page is listed once in tokens, each pool once in pools and each known wallet once in wallets.
A trade against SOL or a stablecoin is listed under the other token. A trade between two tokens is listed under both, as a buy of one and a sell of the other. For every leg of a stablecoin in one pool, use pool trades.
SDK Example
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokenTradesV2('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', {
limit: 100,
arbitrage: true, // Adds arbitrage through the token in the page's slots.
});
// Pages can be empty while more remain: client.iterateTokenTradesV2() follows nextCursor for you.
Path Parameters
Query Parameters
Adds an arbitrage array next to trades: arbitrage transactions through this token (and the pool or wallet of the route) in the slots the page's trades span. Consecutive pages cover those slots with no gap or overlap unless arbitrageComplete is false. Arbitrage is never in trades or in volume.
Response
A page of trades.
Was this page helpful?