/v1/trades
Most recent executed trades for a pair
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/bitopro-api/v1/trades" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitopro-api/v1/trades", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitopro-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/bitopro-api/v1/trades",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"pair": "btc_twd",
"count": 30,
"source": "BitoPro",
"trades": [
{
"side": "buy",
"price": 2005125,
"amount": 0.0024,
"timestamp": "2026-06-12T01:39:28.000Z"
},
{
"side": "buy",
"price": 2005390,
"amount": 7.868e-5,
"timestamp": "2026-06-12T01:39:05.000Z"
},
{
"side": "buy",
"price": 2005390,
"amount": 0.0009,
"timestamp": "2026-06-12T01:39:00.000Z"
},
{
"side": "buy",
"price": 2005079,
"amount": 4.479e-5,
"timestamp": "2026-06-12T01:38:00.000Z"
},
{
"side": "buy",
"price": 2004760,
"amount": 0.0002,
"timestamp": "2026-06-12T01:37:55.000Z"
},
{
"side": "buy",
"price": 2003740,
"amount": 0.00017491,
"timestamp": "2026-06-12T01:30:56.000Z"
},
{
"side": "buy",
"price": 2003584,
"amount": 8.964e-5,
"timestamp": "2026-06-12T01:28:15.000Z"
},
{
"side": "sell",
"price": 2002867,
"amount": 0.00013873,
"timestamp": "2026-06-12T01:28:14.000Z"
},
{
"side": "buy",
"price": 2003740,
"amount": 0.0004,
"timestamp": "2026-06-12T01:28:10.000Z"
},
{
"side": "sell",
"price": 2003610,
"amount": 0.00035287,
"timestamp": "2026-06-12T01:27:24.000Z"
},
{
"side": "sell",
"price": 2003610,
"amount": 0.00023508,
"timestamp": "2026-06-12T01:27:24.000Z"
},
{
"side": "sell",
"price": 2003610,
"amount": 0.00023508,
"timestamp": "2026-06-12T01:27:24.000Z"
},
{
"side": "sell",
"price": 2003610,
"amount": 0.00023508,
"timestamp": "2026-06-12T01:27:24.000Z"
},
{
"side": "sell",
"price": 2003610,
"amount": 0.00021031,
"timestamp": "2026-06-12T01:27:24.000Z"
},
{
"side": "sell",
"price": 2003610,
"amount": 0.00023508,
"timestamp": "2026-06-12T01:27:23.000Z"
},
{
"side": "sell",
"price": 2003740,
…