Zum Inhalt springen
GET /v1/prices

Many assets in one call (any class)

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 5,
        "prices": [
            {
                "value": 63298.3919,
                "source": "RedStone",
                "symbol": "BTC",
                "timestamp": "2026-06-12T01:42:40.000Z"
            },
            {
                "value": 1662.47256779,
                "source": "RedStone",
                "symbol": "ETH",
                "timestamp": "2026-06-12T01:42:40.000Z"
            },
            {
                "value": 295.53,
                "source": "RedStone",
                "symbol": "AAPL",
                "timestamp": "2026-06-12T01:42:40.000Z"
            },
            {
                "value": 4179.42944,
                "source": "RedStone",
                "symbol": "XAU",
                "timestamp": "2026-06-12T01:42:40.000Z"
            },
            {
                "value": 1.15621906,
                "source": "RedStone",
                "symbol": "EUR",
                "timestamp": "2026-06-12T01:42:40.000Z"
            }
        ],
        "source": "RedStone",
        "missing": [],
        "requested": 5
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:59.451Z",
        "request_id": "2880ceca-4427-4b85-abc0-8b7ad0103a09"
    },
    "status": "ok",
    "message": "Prices retrieved successfully",
    "success": true
}