Naar de inhoud
GET /v1/market

Securities by instrument type

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/sgx-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "A list of SGX-listed securities of one instrument type — stocks (default), etfs, reits, businesstrusts, adrs, structuredwarrants and more — each with last price, change and volume. Sort by volume (default), value or change; page with offset and limit. See /v1/types for the instrument types.",
        "sort": "volume",
        "type": "reits",
        "count": 36,
        "total": 36,
        "offset": 0,
        "source": "SGX",
        "securities": [
            {
                "low": 2.32,
                "code": "C38U",
                "high": 2.37,
                "last": 2.34,
                "name": "CapLand IntCom T",
                "open": 2.36,
                "type": "reits",
                "change": 0,
                "volume": 11134.2,
                "traded_value": 26120362,
                "change_percent": 0,
                "previous_close": 2.34
            },
            {
                "low": 0.86,
                "code": "K71U",
                "high": 0.87,
                "last": 0.87,
                "name": "Keppel Reit",
                "open": 0.865,
                "type": "reits",
                "change": 0.01,
                "volume": 4950.5,
                "traded_value": 4283925.5,
                "change_percent": 1.16,
                "previous_close": 0.86
            },
            {
                "low": 0.007,
                "code": "D5IU",
                "high": 0.008,
                "last": 0.008,
                "name": "Landmark REIT",
                "open": 0.007,
                "type": "reits",
                "change": 0,
                "volume": 3822.5,
                "traded_value": 26757.8,
                "change_percent": 0,
                "previous_close": 0.008
            },
            {
                "low": 0.79,
                "code": "UIBU",
                "high": 0.805,
                "last": 0.8,
                "name": "UIBREIT",
                "open": 0.79,
                "type": "reits",
                "change": 0.01,
                "volume": 3758.4,
                "traded_value": 2993895.5,
                "change_percent": 1.27,
                "previous_close": 0.79
            },
            {
                "low": 1.2,
                "code": "M44U",
                "high": 1.23,
                "last": 1.22,
                "name": "Mapletree Log Tr",
                "open": 1.22,
                "type": "reits",
                "change": 0,
                "volume": 3371.1,
                "traded_value": 4098490,
                "change_percent": 0,
                "previous_close": 1.22
            },
            {
                "low": 0.975,
                "code": "BUOU",
                "high": 0.985,
                "last": 0.98,
                "name": "Frasers L&C Tr",
                "open": 0.985,
                "type": "reits",
                "change": -0.005,
                "volume": 2664.8,
        
…