Vai al contenuto
GET /v1/intraday

Intraday tick series

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "note": "The intraday tick series for one PSX symbol for the current/last session — each trade's time, price and size, newest first. Pass symbol (e.g. LUCK) and limit (1-1000, default 100). Only available while or shortly after the market trades.",
        "count": 100,
        "ticks": [
            {
                "time": "2026-06-12T11:49:49.000Z",
                "price": 449.11,
                "volume": 5
            },
            {
                "time": "2026-06-12T11:49:08.000Z",
                "price": 449.11,
                "volume": 5000
            },
            {
                "time": "2026-06-12T11:48:06.000Z",
                "price": 449.11,
                "volume": 3000
            },
            {
                "time": "2026-06-12T11:48:04.000Z",
                "price": 449.11,
                "volume": 26
            },
            {
                "time": "2026-06-12T11:48:00.000Z",
                "price": 449.11,
                "volume": 77
            },
            {
                "time": "2026-06-12T11:47:38.000Z",
                "price": 449.11,
                "volume": 500
            },
            {
                "time": "2026-06-12T11:47:13.000Z",
                "price": 449.11,
                "volume": 10
            },
            {
                "time": "2026-06-12T11:47:06.000Z",
                "price": 449.11,
                "volume": 5
            },
            {
                "time": "2026-06-12T11:46:23.000Z",
                "price": 449.11,
                "volume": 100
            },
            {
                "time": "2026-06-12T11:46:14.000Z",
                "price": 449.11,
                "volume": 200
            },
            {
                "time": "2026-06-12T11:45:55.000Z",
                "price": 449.11,
                "volume": 2500
            },
            {
                "time": "2026-06-12T11:45:44.000Z",
                "price": 449.11,
                "volume": 100
            },
            {
                "time": "2026-06-12T11:45:37.000Z",
                "price": 449.11,
                "volume": 5
            },
            {
                "time": "2026-06-12T11:45:00.000Z",
                "price": 449.11,
                "volume": 2500
            },
            {
                "time": "2026-06-12T11:44:52.000Z",
                "price": 449.11,
                "volume": 100
            },
            {
                "time": "2026-06-12T11:44:44.000Z",
                "price": 449.11,
                "volume": 700
            },
            {
                "time": "2026-06-12T11:44:19.000Z",
                "price": 449.11,
                "volume": 5
            },
            {
                "time": "2026-06-12T11:43:29.000Z",
                "price": 449.11,
                "volume": 170
            },
            {
                "time": "2026-06-12T11:43:09.000Z",
                "price": 449.11,
  
…