Aller au contenu
GET /v1/meta

Endpoints & source

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/sgx-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/sgx-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sgx-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sgx-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/sgx-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": {
        "sample": {
            "dbs_last": 63.6
        },
        "source": "Singapore Exchange public securities API (api.sgx.com), keyless",
        "service": "sgx-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/quote": "Live quote for one security (code).",
            "GET /v1/types": "Instrument types with counts.",
            "GET /v1/market": "Securities of an instrument type (type, sort, limit).",
            "GET /v1/movers": "Top gainers or losers (direction, type)."
        },
        "description": "Live data from the Singapore Exchange (SGX) with no key: the live quote for any listed security by code, a market list filtered by instrument type across SGX's full universe (stocks, ETFs, REITs, business trusts, ADRs, warrants, bonds), the day's top gainers and losers, and the breakdown of instrument types with counts. The Singapore-equities / multi-instrument / REIT-and-ETF layer for trading dashboards and screeners. Distinct from other exchange readers — SGX across every instrument type. Live, short cache only.",
        "upstream_status": "ok",
        "instrument_types": [
            "stocks",
            "etfs",
            "reits",
            "businesstrusts",
            "adrs",
            "companywarrants",
            "structuredwarrants",
            "dlcertificates",
            "listedcertificates",
            "retailbonds",
            "sgsbonds",
            "retailpreferenceshares",
            "liprod",
            "others"
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T02:11:10.701Z",
        "request_id": "f541f8d4-b0a4-477e-b725-35bcd79b9ac6"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}