/v1/trades
Live trade tape
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/bitstamp-api/v1/trades" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitstamp-api/v1/trades", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitstamp-api/v1/trades");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/bitstamp-api/v1/trades",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"pair": "BTCUSD",
"count": 20,
"source": "Bitstamp",
"trades": [
{
"tid": "588301470",
"side": "sell",
"time": 1781005098,
"price": 62541.13,
"amount": 0.00028853
},
{
"tid": "588301469",
"side": "sell",
"time": 1781005098,
"price": 62541.71,
"amount": 0.00871686
},
{
"tid": "588301449",
"side": "buy",
"time": 1781005089,
"price": 62541.73,
"amount": 0.00171209
},
{
"tid": "588301448",
"side": "buy",
"time": 1781005088,
"price": 62541.73,
"amount": 0.00392066
},
{
"tid": "588301438",
"side": "sell",
"time": 1781005086,
"price": 62541.72,
"amount": 0.00023871
},
{
"tid": "588301434",
"side": "sell",
"time": 1781005086,
"price": 62556.57,
"amount": 0.00237306
},
{
"tid": "588301430",
"side": "buy",
"time": 1781005085,
"price": 62556.58,
"amount": 0.04749177
},
{
"tid": "588301429",
"side": "sell",
"time": 1781005084,
"price": 62556.57,
"amount": 0.00114516
},
{
"tid": "588301424",
"side": "sell",
"time": 1781005082,
"price": 62569.37,
"amount": 0.00016142
},
{
"tid": "588301415",
"side": "sell",
"time": 1781005082,
"price": 62569.84,
"amount": 0.21199997
},
{
"tid": "588301414",
"side": "sell",
"time": 1781005082,
"price": 62574.37,
"amount": 0.00019237
},
{
"tid": "588301413",
"side": "sell",
"time": 1781005082,
"price": 62574.37,
"amount": 0.00461679
},
{
"tid": "588301411",
"side": "buy",
"time": 1781005080,
"price": 62574.38,
"amount": 8.068e-5
},
{
"tid": "588301408",
"side": "buy",
"time": 1781005080,
"price": 62574.38,
"amount": 0.0001583
},
{
…