Vai al contenuto
GET /v1/foreign

Foreign-investor flows & room

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "note": "Foreign-investor flows for one or more Vietnamese stocks — foreign buy and sell volume and value, and the remaining foreign-ownership room. Pass tickers (comma-separate, e.g. VIC,VNM). Foreign flows and room are closely watched on the Vietnamese market.",
        "count": 2,
        "flows": [
            {
                "ticker": "VIC",
                "remaining_room": 349535868.5,
                "foreign_buy_value": 0,
                "foreign_buy_volume": 0,
                "foreign_sell_value": 0,
                "foreign_sell_volume": 0
            },
            {
                "ticker": "VNM",
                "remaining_room": 107033647.7,
                "foreign_buy_value": 0,
                "foreign_buy_volume": 0,
                "foreign_sell_value": 0,
                "foreign_sell_volume": 0
            }
        ],
        "source": "HOSE / Vietnam (VPS)"
    },
    "meta": {
        "timestamp": "2026-06-15T02:10:48.774Z",
        "request_id": "8e9d3ed3-dbde-432d-9dfb-775d2593e813"
    },
    "status": "ok",
    "message": "Foreign flows retrieved successfully",
    "success": true
}