/v1/performance
Computed 1w / 1mo / 3mo returns (TRY & USD)
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}