/v1/gold
Gold price (silver)
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}