Zum Inhalt springen
GET /v1/performance

Computed 1w / 1mo / 3mo returns (TRY & USD)

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

Beispiel-Response

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

{
    "data": {
        "note": "Computed period returns for one Borsa Istanbul stock over 1 week, 1 month and 3 months — in both Turkish lira and US dollars, so you can separate nominal from real performance. Pass hisse (the BIST ticker, e.g. THYAO).",
        "as_of": "2026-06-12",
        "source": "Borsa Istanbul",
        "symbol": "THYAO",
        "close_try": 307.75,
        "close_usd": 6.6658,
        "returns_try": {
            "1w": 3.62,
            "1mo": -1.52,
            "3mo": 7.23
        },
        "returns_usd": {
            "1w": 3.22,
            "1mo": -3.5,
            "3mo": 2.12
        }
    },
    "meta": {
        "timestamp": "2026-06-15T02:11:09.789Z",
        "request_id": "b504a7ec-26b0-4b1d-9145-67fa1ec1ac78"
    },
    "status": "ok",
    "message": "Performance retrieved successfully",
    "success": true
}