Naar de inhoud
GET /v1/quote

Latest quote for a stock

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "name": "SM Investments Corporation",
        "note": "The latest quote for one PSE-listed stock — price (PHP), percent change and volume. Pass symbol (e.g. SM, BDO, ALI, JFC, TEL).",
        "as_of": "2026-06-15T00:00:00+08:00",
        "price": 617,
        "source": "PSE",
        "symbol": "SM",
        "volume": 86770,
        "currency": "PHP",
        "percent_change": 5.47
    },
    "meta": {
        "timestamp": "2026-06-15T02:11:01.570Z",
        "request_id": "247a942e-304e-4019-85a0-6b5da76ba1c2"
    },
    "status": "ok",
    "message": "Quote retrieved successfully",
    "success": true
}