Aller au contenu
GET /v1/meta

Market metadata & endpoint guide

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/bulgaria-stock-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/bulgaria-stock-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bulgaria-stock-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bulgaria-stock-api/v1/meta");
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/bulgaria-stock-api/v1/meta",
    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": {
        "market": "Bulgarian Stock Exchange (BSE Sofia)",
        "source": "TradingView screener (bulgaria market), keyless",
        "country": "Bulgaria",
        "indices": [
            "SOFIX",
            "BGBX40",
            "BGREIT"
        ],
        "currency": "EUR",
        "examples": {
            "index": "/v1/index",
            "quote": "/v1/quote?symbols=SLYG,SFA,FIB",
            "screener": "/v1/screener?sort=change&order=desc&limit=10"
        },
        "endpoints": {
            "/v1/index": "Sofia indices (SOFIX, BGB 40 = BGBX40, BG REIT = BGREIT)",
            "/v1/quote": "live quote for one or more BSE Sofia stocks by ticker (symbols=SLYG,SFA,FIB)",
            "/v1/screener": "rank local primary listings by market_cap | change | volume (sort, order, limit)"
        },
        "cache_ttl_ms": 20000
    },
    "meta": {
        "timestamp": "2026-06-15T11:16:04.366Z",
        "request_id": "d769d3e7-6e15-453b-ade9-20798341be5a"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}