Ir al contenido
GET /v1/foreign

Foreign-investor flows & room

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/hose-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}