Aller au contenu
GET /v1/performance

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

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/borsaistanbul-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}