Aller au contenu
GET /v1/trades

Most recent executed trades for a pair

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/coincheck-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/coincheck-api/v1/trades" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coincheck-api/v1/trades", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coincheck-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/coincheck-api/v1/trades",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "pair": "btc_jpy",
        "count": 30,
        "source": "Coincheck",
        "trades": [
            {
                "id": 305688071,
                "side": "buy",
                "price": 10150610,
                "amount": 0.013,
                "timestamp": "2026-06-12T01:42:06.000Z"
            },
            {
                "id": 305688070,
                "side": "sell",
                "price": 10148771,
                "amount": 0.0134,
                "timestamp": "2026-06-12T01:41:59.000Z"
            },
            {
                "id": 305688069,
                "side": "buy",
                "price": 10150389,
                "amount": 0.01,
                "timestamp": "2026-06-12T01:41:27.000Z"
            },
            {
                "id": 305688068,
                "side": "sell",
                "price": 10149166,
                "amount": 0.01,
                "timestamp": "2026-06-12T01:41:13.000Z"
            },
            {
                "id": 305688067,
                "side": "buy",
                "price": 10149511,
                "amount": 0.01,
                "timestamp": "2026-06-12T01:41:12.000Z"
            },
            {
                "id": 305688066,
                "side": "buy",
                "price": 10149511,
                "amount": 0.01,
                "timestamp": "2026-06-12T01:41:12.000Z"
            },
            {
                "id": 305688065,
                "side": "sell",
                "price": 10148947,
                "amount": 0.01612557,
                "timestamp": "2026-06-12T01:41:02.000Z"
            },
            {
                "id": 305688064,
                "side": "sell",
                "price": 10149163,
                "amount": 0.0295,
                "timestamp": "2026-06-12T01:41:02.000Z"
            },
            {
                "id": 305688063,
                "side": "sell",
                "price": 10149165,
                "amount": 0.02873839,
                "timestamp": "2026-06-12T01:41:02.000Z"
            },
            {
                "id": 305688062,
                "side": "sell",
                "price": 10149645,
                "amount": 0.0305,
                "timestamp": "2026-06-12T01:41:02.000Z"
            },
            {
                "id": 305688061,
                "side": "sell",
                "price": 10147755,
                "amount": 0.00387443,
                "timestamp": "2026-06-12T01:40:53.000Z"
            },
            {
                "id": 305688060,
                "side": "sell",
                "price": 10147906,
                "amount": 0.0075,
                "timestamp": "2026-06-12T01:40:53.000Z"
            },
            {
                "id": 305688059,
                "side": "sell",
                "price": 10150449,
                "amount": 0.0098,
                "timestamp": "2026-06-12T01:40:27.000Z"
            },
            {
                "id": 305
…