Naar de inhoud
GET /v1/book

Live order-book depth with running spread

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/coinsph-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "asks": [
            {
                "price": 3854158.1,
                "amount": 0.1599904
            },
            {
                "price": 3854158.2,
                "amount": 3.87e-5
            },
            {
                "price": 3857771.5,
                "amount": 0.022
            },
            {
                "price": 3858620,
                "amount": 2.45e-5
            },
            {
                "price": 3861144,
                "amount": 0.0115237
            },
            {
                "price": 3861144.1,
                "amount": 1.94e-5
            },
            {
                "price": 3862423.5,
                "amount": 1.94e-5
            },
            {
                "price": 3864176.3,
                "amount": 1.94e-5
            },
            {
                "price": 3865624.9,
                "amount": 0.3201999
            },
            {
                "price": 3866055.2,
                "amount": 1.94e-5
            },
            {
                "price": 3866175.8,
                "amount": 1.94e-5
            },
            {
                "price": 3867344.8,
                "amount": 1.94e-5
            },
            {
                "price": 3868131.3,
                "amount": 1.94e-5
            },
            {
                "price": 3870000,
                "amount": 0.0002603
            },
            {
                "price": 3870438.1,
                "amount": 0.0177937
            },
            {
                "price": 3870649,
                "amount": 0.0177937
            },
            {
                "price": 3870774.9,
                "amount": 0.0177937
            },
            {
                "price": 3870821.5,
                "amount": 0.0177937
            },
            {
                "price": 3870876.7,
                "amount": 0.0177937
            },
            {
                "price": 3871505.9,
                "amount": 0.0177937
            }
        ],
        "bids": [
            {
                "price": 3851047.7,
                "amount": 0.1196163
            },
            {
                "price": 3843423,
                "amount": 0.0094599
            },
            {
                "price": 3842789.4,
                "amount": 1.94e-5
            },
            {
                "price": 3842140.8,
                "amount": 2.73e-5
            },
            {
                "price": 3841928.5,
                "amount": 1.94e-5
            },
            {
                "price": 3841428,
                "amount": 1.94e-5
            },
            {
                "price": 3838659.8,
                "amount": 0.3647
            },
            {
                "price": 3838232,
                "amount": 1.94e-5
            },
            {
                "price": 3837514.2,
                "amount": 1.94e-5
            },
            {
                "price": 3834260.7,
          
…