Zum Inhalt springen
GET /v1/history

Daily price history in TRY

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "days": 30,
        "note": "The daily price history of one Borsa Istanbul stock over the requested window — each day's close, weighted average, high/low, volume and market cap (in TRY). Pass hisse (the BIST ticker, e.g. THYAO) and days (5-365, default 30).",
        "count": 16,
        "source": "Borsa Istanbul",
        "symbol": "THYAO",
        "history": [
            {
                "low": 294.5,
                "date": "2026-05-18",
                "high": 301,
                "close": 294.5,
                "average": 297.843,
                "close_usd": 6.4683,
                "volume_try": 10827845159,
                "market_cap_try": 406410000000,
                "market_cap_usd": 8926280924.93674
            },
            {
                "low": 289.75,
                "date": "2026-05-20",
                "high": 300.25,
                "close": 295,
                "average": 294.993,
                "close_usd": 6.4706,
                "volume_try": 10181705807,
                "market_cap_try": 407100000000,
                "market_cap_usd": 8929413545.24697
            },
            {
                "low": 274,
                "date": "2026-05-21",
                "high": 274,
                "close": 274,
                "average": 284.485,
                "close_usd": 6.0075,
                "volume_try": 16359129293,
                "market_cap_try": 378120000000,
                "market_cap_usd": 8290341747.47916
            },
            {
                "low": 271.5,
                "date": "2026-05-22",
                "high": 290.25,
                "close": 288,
                "average": 283.472,
                "close_usd": 6.3109,
                "volume_try": 17739665908,
                "market_cap_try": 397440000000,
                "market_cap_usd": 8709047601.30864
            },
            {
                "low": 296,
                "date": "2026-05-25",
                "high": 300.5,
                "close": 297.5,
                "average": 298.192,
                "close_usd": 6.5079,
                "volume_try": 13153259974,
                "market_cap_try": 410550000000,
                "market_cap_usd": 8980955256.00809
            },
            {
                "low": 295.25,
                "date": "2026-05-26",
                "high": 298,
                "close": 296.75,
                "average": 296.689,
                "close_usd": 6.4915,
                "volume_try": 3484485135,
                "market_cap_try": 409515000000,
                "market_cap_usd": 8958314192.33748
            },
            {
                "low": 291,
                "date": "2026-06-01",
                "high": 300.5,
                "close": 291.5,
                "average": 295.86,
                "close_usd": 6.3498,
                "volume_try": 13017523899,
                "market_cap_try": 402270000000,
                "market_cap_usd": 8762658662.12999
            },
 
…