/v1/gold
Gold price (silver)
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/albion-api/v1/gold" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/albion-api/v1/gold", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/albion-api/v1/gold");
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/gold",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 10,
"latest": 7330,
"history": [
{
"price": 7330,
"timestamp": "2026-06-01T00:00:00"
},
{
"price": 7331,
"timestamp": "2026-05-31T23:00:00"
},
{
"price": 7316,
"timestamp": "2026-05-31T22:00:00"
},
{
"price": 7297,
"timestamp": "2026-05-31T21:00:00"
},
{
"price": 7304,
"timestamp": "2026-05-31T20:00:00"
},
{
"price": 7327,
"timestamp": "2026-05-31T19:00:00"
},
{
"price": 7335,
"timestamp": "2026-05-31T18:00:00"
},
{
"price": 7318,
"timestamp": "2026-05-31T17:00:00"
},
{
"price": 7307,
"timestamp": "2026-05-31T16:00:00"
},
{
"price": 7289,
"timestamp": "2026-05-31T15:00:00"
}
]
},
"meta": {
"timestamp": "2026-06-01T00:03:30.371Z",
"request_id": "2ceb084a-d46f-41ee-82a8-f298d3e06da1"
},
"status": "ok",
"message": "Gold retrieved",
"success": true
}