curl --get "https://data.solanatracker.io/account/GachaNgyXTU3zFogQ8Z5jR2BLXs8215X2AtEH18VxJq3/transfers" \
--header "x-api-key: YOUR_API_KEY" \
--data-urlencode "mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" \
--data-urlencode "direction=in" \
--data-urlencode "historicPrices=true" \
--data-urlencode "limit=50"const address = "GachaNgyXTU3zFogQ8Z5jR2BLXs8215X2AtEH18VxJq3";
let cursor;
do {
const url = new URL(`https://data.solanatracker.io/account/${address}/transfers`);
url.search = new URLSearchParams({ limit: "100", historicPrices: "true", ...(cursor && { cursor }) });
const response = await fetch(url, { headers: { "x-api-key": "YOUR_API_KEY" } });
if (!response.ok) throw new Error((await response.json()).error);
const page = await response.json();
for (const t of page.transfers) {
console.log(t.direction, t.uiAmount, t.token.symbol, t.value.usd, t.signature);
}
cursor = page.pagination.next;
} while (cursor);
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
// USDC received over the last week, worth at least $10 at the time.
const data = await client.getAccountTransfers('FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF', {
direction: 'in',
mint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
minValue: 10,
start: Math.floor(Date.now() / 1000) - 7 * 86400,
limit: 100,
});
// Pass grouped: true for one entry per transaction, or use
// client.iterateAccountTransfers() with the same filters to page through every result.
import requests
url = "https://data.solanatracker.io/account/{address}/transfers"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data.solanatracker.io/account/{address}/transfers",
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/account/{address}/transfers"
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/account/{address}/transfers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/account/{address}/transfers")
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{
"account": "GachaNgyXTU3zFogQ8Z5jR2BLXs8215X2AtEH18VxJq3",
"transfers": [
{
"signature": "2VxcHt8HKSt2T2EuUZLyWPsEKz4H4BPreWV28aZDEzoaHG4Fsu232oKKeQqpVqsSYaf3vv8KN7UoZ4MPJA8vw9EF",
"status": "success",
"type": "spl",
"direction": "in",
"from": {
"address": "C2RjaMN2NeYAErS6KiBjPQhHCt95J8mCmmLiQqZXPisR",
"owner": "BfG7WYmravgBhNdWpGoiFmF8L1duw2vdqdDHiZid2hoJ"
},
"to": {
"address": "D9CEogjHA6CpS12F8St9zpSco7pQKJB5uR1RqDsuzQZk",
"owner": "GachaNgyXTU3zFogQ8Z5jR2BLXs8215X2AtEH18VxJq3"
},
"token": {
"name": "USD Coin",
"symbol": "USDC",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v%2Flogo.png",
"decimals": 6
},
"amount": "25000000",
"uiAmount": "25",
"decimals": 6,
"price": {
"usd": 1
},
"value": {
"usd": 25
},
"timestamp": 1792483949,
"slot": 459159504
}
],
"pagination": {
"next": "st1.eyJjIjpudWxsLCJrIjoiMlZ4Y0h0OEhLU3QyVDJFdVVaTHlXUHNFS3o0SDRCUHJlV1YyOGFaREV6b2FIRzRGc3UyMzJvS0tlUXFwVnFzU1lhZjN2djhLTjdVb1o0TVBKQTh2dzlFRjoyOi0xIn0",
"hasMore": true,
"count": 1
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Solana Wallet Transfer History API
Get a wallet’s SOL, SPL, and Token-2022 transfers, newest first, with token metadata and optional USD prices. Filter by token, direction, time, or amount.
curl --get "https://data.solanatracker.io/account/GachaNgyXTU3zFogQ8Z5jR2BLXs8215X2AtEH18VxJq3/transfers" \
--header "x-api-key: YOUR_API_KEY" \
--data-urlencode "mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" \
--data-urlencode "direction=in" \
--data-urlencode "historicPrices=true" \
--data-urlencode "limit=50"const address = "GachaNgyXTU3zFogQ8Z5jR2BLXs8215X2AtEH18VxJq3";
let cursor;
do {
const url = new URL(`https://data.solanatracker.io/account/${address}/transfers`);
url.search = new URLSearchParams({ limit: "100", historicPrices: "true", ...(cursor && { cursor }) });
const response = await fetch(url, { headers: { "x-api-key": "YOUR_API_KEY" } });
if (!response.ok) throw new Error((await response.json()).error);
const page = await response.json();
for (const t of page.transfers) {
console.log(t.direction, t.uiAmount, t.token.symbol, t.value.usd, t.signature);
}
cursor = page.pagination.next;
} while (cursor);
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
// USDC received over the last week, worth at least $10 at the time.
const data = await client.getAccountTransfers('FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF', {
direction: 'in',
mint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
minValue: 10,
start: Math.floor(Date.now() / 1000) - 7 * 86400,
limit: 100,
});
// Pass grouped: true for one entry per transaction, or use
// client.iterateAccountTransfers() with the same filters to page through every result.
import requests
url = "https://data.solanatracker.io/account/{address}/transfers"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data.solanatracker.io/account/{address}/transfers",
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/account/{address}/transfers"
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/account/{address}/transfers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/account/{address}/transfers")
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{
"account": "GachaNgyXTU3zFogQ8Z5jR2BLXs8215X2AtEH18VxJq3",
"transfers": [
{
"signature": "2VxcHt8HKSt2T2EuUZLyWPsEKz4H4BPreWV28aZDEzoaHG4Fsu232oKKeQqpVqsSYaf3vv8KN7UoZ4MPJA8vw9EF",
"status": "success",
"type": "spl",
"direction": "in",
"from": {
"address": "C2RjaMN2NeYAErS6KiBjPQhHCt95J8mCmmLiQqZXPisR",
"owner": "BfG7WYmravgBhNdWpGoiFmF8L1duw2vdqdDHiZid2hoJ"
},
"to": {
"address": "D9CEogjHA6CpS12F8St9zpSco7pQKJB5uR1RqDsuzQZk",
"owner": "GachaNgyXTU3zFogQ8Z5jR2BLXs8215X2AtEH18VxJq3"
},
"token": {
"name": "USD Coin",
"symbol": "USDC",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v%2Flogo.png",
"decimals": 6
},
"amount": "25000000",
"uiAmount": "25",
"decimals": 6,
"price": {
"usd": 1
},
"value": {
"usd": 25
},
"timestamp": 1792483949,
"slot": 459159504
}
],
"pagination": {
"next": "st1.eyJjIjpudWxsLCJrIjoiMlZ4Y0h0OEhLU3QyVDJFdVVaTHlXUHNFS3o0SDRCUHJlV1YyOGFaREV6b2FIRzRGc3UyMzJvS0tlUXFwVnFzU1lhZjN2djhLTjdVb1o0TVBKQTh2dzlFRjoyOi0xIn0",
"hasMore": true,
"count": 1
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}dex=include or dex=only to see them. Filter by token, direction, sender, receiver or counterparty, time or slot range, amount, USD value and transaction outcome, or group transfers by transaction. Timestamps on this endpoint are Unix seconds.
Each parameter has one name. An unknown parameter is a 400 that names the right one (unknown parameter timeStart; use start), so a typo never returns an unfiltered page.
Paging: follow pagination.next until hasMore is false. A page holds whole transactions, so it can hold a few transfers more or fewer than limit. Filtered requests read a bounded number of transfers per call, so a page can hold fewer than limit rows, or none, while hasMore is still true.
For live transfers, join the transfer rooms on Datastream. See the transfers guide.
SDK Example
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
// USDC received over the last week, worth at least $10 at the time.
const data = await client.getAccountTransfers('FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF', {
direction: 'in',
mint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
minValue: 10,
start: Math.floor(Date.now() / 1000) - 7 * 86400,
limit: 100,
});
// Pass grouped: true for one entry per transaction, or use
// client.iterateAccountTransfers() with the same filters to page through every result.
Path Parameters
Query Parameters
Transfers per page. A page holds whole transactions, so it can hold a few more or fewer. With grouped=true it counts transactions instead, unless dex=include is set and none of type, the address, amount or slot filters, or excludeZero are. At most 100 with minValue or maxValue.
1 <= x <= 1000exclude (default) leaves out every transfer of a transaction with DEX activity, only returns only those, include returns everything. A transaction has DEX activity when one of its transfers goes to or comes from a pool (an account a DEX or launchpad program owns, or a Raydium or Meteora vault authority): swaps, liquidity adds and removes, and fee or reward claims. A transaction where the address sent one token and received another counts too.
exclude, include, only Response
Transfers for the address
Was this page helpful?