Skip to main content
GET
Vietnam equity investor net flows

Authorizations

X-API-Key
string
header
required

Your HayInsights API key (prefixed apk_). Create and manage keys in the HayInsights dashboard (Account → API keys).

Send it in the X-API-Key header on every request to /openapi/v1/*. Which data domains you may access and your request quota are both governed by the subscription plan attached to the key — see the Plans & features and Rate limits guides.

Path Parameters

code
string
required

Stock code — the 3-character ticker (FPT, VCB, A32). Case-insensitive.

Pattern: ^[A-Za-z0-9]{3}$
Example:

"VCB"

Query Parameters

investor
enum<string>
required

foreign = foreign investors; proprietary = securities companies' proprietary trading.

Available options:
foreign,
proprietary
Example:

"foreign"

range
enum<string>
default:1m

Window to return, counted back from the latest session.

Available options:
1m,
3m,
6m,
1y

Response

Net flow series for the requested investor group and window.

Standard success envelope shared by every endpoint. Each operation's response wrapper extends this (via allOf) and adds a typed data property.

success
boolean
required

Always true for a successful response.

Example:

true

statusCode
integer
required

Mirrors the HTTP status code.

Example:

200

data
object
required

Net flow series of one investor group, oldest to newest.

meta
object

Response metadata for the Equities domain. On top of timestamp, every equities response says where the numbers came from and how fresh they are.