Zum Inhalt springen
GET /v1/ticker

Ticker for one pair

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/indodax-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "buy": 1110311000,
        "low": 1100112000,
        "high": 1132000000,
        "last": 1110312000,
        "pair": "btcidr",
        "sell": 1110312000,
        "source": "Indodax",
        "volumes": {
            "btc": 23.64785831,
            "idr": 26270311257
        },
        "server_time": 1781132183
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:23.780Z",
        "request_id": "defc7d95-6cae-4a1c-b4b0-f5687cda47ef"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}