/v1/types
Instrument types with counts
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}