Skip to content
GET /v1/quote

Live quote for a security

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/sgx-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "The live quote for one SGX-listed security by its trading code — last price, open/high/low, previous close, change (absolute and percent) and volume. Pass code (e.g. D05 for DBS, Z74 for Singtel). Works for stocks, ETFs, REITs and more.",
        "source": "SGX",
        "security": {
            "low": 63.31,
            "code": "D05",
            "high": 63.64,
            "last": 63.6,
            "name": "DBS",
            "open": 63.31,
            "type": "stocks",
            "change": 0.36,
            "volume": 1106.6,
            "traded_value": 70243710,
            "change_percent": 0.57,
            "previous_close": 63.24
        }
    },
    "meta": {
        "timestamp": "2026-06-15T02:11:10.525Z",
        "request_id": "7adbb858-4793-44f4-b3bb-526d363f947a"
    },
    "status": "ok",
    "message": "Quote retrieved successfully",
    "success": true
}