Zum Inhalt springen
GET /v1/stock

One company's detail by ticker

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "name": "Strategy Inc",
        "note": "One crypto-exposure stock's current trading detail — price, daily change, volume and the day's high/low — with its category (miners, exchanges or treasury). Price in USD. Live, cached ~10m.",
        "price": 123.64,
        "source": "Yahoo Finance (per-stock daily chart), keyless",
        "ticker": "MSTR",
        "volume": 13697038,
        "day_low": 117.27,
        "category": "treasury",
        "currency": "USD",
        "day_high": 128.6,
        "change_pct": 7.19,
        "prev_close": 115.35
    },
    "meta": {
        "timestamp": "2026-06-12T19:35:42.355Z",
        "request_id": "c3421bd4-174b-4d4a-a8d2-088a85aecc82"
    },
    "status": "ok",
    "message": "Stock retrieved successfully",
    "success": true
}