Vai al contenuto
GET /v1/summary

The day's market summary

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/cse-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "The day's market summary for the Colombo Stock Exchange — total turnover (LKR), shares traded and number of trades. The headline activity of the Sri Lankan market.",
        "source": "CSE",
        "trades": 19910,
        "turnover": 1992725682.55,
        "trade_date": "2026-06-12T09:19:31.110Z",
        "share_volume": 83820931
    },
    "meta": {
        "timestamp": "2026-06-15T02:11:04.726Z",
        "request_id": "428510b9-a1e8-4220-8983-15071af7eeb9"
    },
    "status": "ok",
    "message": "Market summary retrieved successfully",
    "success": true
}