Zum Inhalt springen
GET /v1/types

Instrument types with counts

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/sgx-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "The instrument types listed on SGX with the number of securities of each — stocks, ETFs, REITs, business trusts, ADRs, warrants, bonds and more. Pass a type to /v1/market or /v1/movers to slice the market.",
        "count": 14,
        "types": [
            {
                "type": "stocks",
                "listed": 564
            },
            {
                "type": "dlcertificates",
                "listed": 339
            },
            {
                "type": "structuredwarrants",
                "listed": 147
            },
            {
                "type": "etfs",
                "listed": 91
            },
            {
                "type": "reits",
                "listed": 36
            },
            {
                "type": "adrs",
                "listed": 36
            },
            {
                "type": "sgsbonds",
                "listed": 21
            },
            {
                "type": "companywarrants",
                "listed": 17
            },
            {
                "type": "businesstrusts",
                "listed": 15
            },
            {
                "type": "retailbonds",
                "listed": 14
            },
            {
                "type": "others",
                "listed": 10
            },
            {
                "type": "liprod",
                "listed": 4
            },
            {
                "type": "retailpreferenceshares",
                "listed": 2
            },
            {
                "type": "listedcertificates",
                "listed": 1
            }
        ],
        "source": "SGX"
    },
    "meta": {
        "timestamp": "2026-06-15T02:11:10.611Z",
        "request_id": "aa9478c4-c71b-4a9c-bfcd-169e835489d6"
    },
    "status": "ok",
    "message": "Instrument types retrieved successfully",
    "success": true
}