Zum Inhalt springen
GET /v1/history

Price & volume history

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "item": "T4_BAG",
        "series": [
            {
                "city": "Caerleon",
                "data": [
                    {
                        "avg_price": 7334,
                        "timestamp": "2026-05-02T00:00:00",
                        "item_count": 117
                    },
                    {
                        "avg_price": 7559,
                        "timestamp": "2026-05-03T00:00:00",
                        "item_count": 259
                    },
                    {
                        "avg_price": 7871,
                        "timestamp": "2026-05-04T00:00:00",
                        "item_count": 117
                    },
                    {
                        "avg_price": 5930,
                        "timestamp": "2026-05-05T00:00:00",
                        "item_count": 249
                    },
                    {
                        "avg_price": 7568,
                        "timestamp": "2026-05-06T00:00:00",
                        "item_count": 146
                    },
                    {
                        "avg_price": 7213,
                        "timestamp": "2026-05-07T00:00:00",
                        "item_count": 94
                    },
                    {
                        "avg_price": 6537,
                        "timestamp": "2026-05-08T00:00:00",
                        "item_count": 226
                    },
                    {
                        "avg_price": 7528,
                        "timestamp": "2026-05-09T00:00:00",
                        "item_count": 164
                    },
                    {
                        "avg_price": 7204,
                        "timestamp": "2026-05-10T00:00:00",
                        "item_count": 191
                    },
                    {
                        "avg_price": 6731,
                        "timestamp": "2026-05-11T00:00:00",
                        "item_count": 201
                    },
                    {
                        "avg_price": 6663,
                        "timestamp": "2026-05-12T00:00:00",
                        "item_count": 147
                    },
                    {
                        "avg_price": 7255,
                        "timestamp": "2026-05-13T00:00:00",
                        "item_count": 90
                    },
                    {
                        "avg_price": 6458,
                        "timestamp": "2026-05-14T00:00:00",
                        "item_count": 87
                    },
                    {
                        "avg_price": 7245,
                        "timestamp": "2026-05-15T00:00:00",
                        "item_count": 109
                    },
                    {
                        "avg_price": 6803,
                        "timestamp": "2026-05-16T00:00:00",
                        "item_count": 105
                    },
               
…