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>"
}API de historial de transferencias de wallets de Solana
Transferencias de SOL, SPL y Token-2022 de una wallet, las más recientes primero, con metadatos y USD opcional. Filtra por token, sentido, fecha o monto.
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 o dex=only para verlas. Filtra por token, dirección, remitente, destinatario o contraparte, rango de tiempo o de slot, cantidad, valor en USD y resultado de la transacción, o agrupa las transferencias por transacción. Las marcas de tiempo de este endpoint están en segundos Unix.
Cada parámetro tiene un solo nombre. Un parámetro desconocido devuelve un 400 que indica el nombre correcto (unknown parameter timeStart; use start), así que una errata nunca devuelve una página sin filtrar.
Paginación: sigue pagination.next hasta que hasMore sea false. Una página contiene transacciones completas, así que puede tener algunas transferencias más o menos que limit. Las solicitudes con filtros recorren un número limitado de transferencias por llamada, así que una página puede tener menos de limit filas, o ninguna, aunque hasMore siga siendo true.
Para transferencias en vivo, únete a las salas de transferencias de Datastream. Consulta la guía de transferencias.
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.
Parámetros de ruta
Parámetros de consulta
Transferencias por página. Una página contiene transacciones completas, así que puede tener algunas más o menos. Con grouped=true cuenta transacciones, salvo que se use dex=include sin type, sin los filtros de direcciones, cantidad o slot, y sin excludeZero. Como máximo 100 con minValue o maxValue.
1 <= x <= 1000exclude (por defecto) descarta todas las transferencias de una transacción con actividad DEX, only devuelve solo esas e include lo devuelve todo. Una transacción tiene actividad DEX cuando una de sus transferencias va hacia o viene de un pool (una cuenta propiedad de un programa DEX o launchpad, o una vault authority de Raydium o Meteora): swaps, depósitos y retiros de liquidez, y cobros de comisiones o recompensas. También cuenta una transacción en la que la dirección envió un token y recibió otro.
exclude, include, only Valor mínimo en USD en el momento de la transferencia, inclusivo. Activa historicPrices, y limit puede ser como máximo 100. Cada página revisa las siguientes limit transferencias y devuelve las que coinciden, así que puede tener menos, o ninguna, aunque hasMore sea true.
x >= 0Añade price.usd y value.usd a cada transferencia: el precio en USD del token según la última vela de 1 minuto en el momento de la transferencia o antes, con una antigüedad máxima de una hora; si no, null. USDC, USDT y USD1 se valoran a 1. Sin esta opción, las transferencias no tienen price ni value.
Respuesta
Transferencias de la dirección
¿Esta página le ayudó?