Compare NAV growth
NAV-growth series for two Vietnamese funds, benchmarked against the VN-Index,
across the available period windows. Pass the two VN fund codes (e.g. VESAF)
as code1 and code2.
Authorizations
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.
Query Parameters
First Vietnamese fund code to compare.
"VESAF"
Second Vietnamese fund code to compare.
"VEOF"
Response
NAV-growth comparison for the two funds and the VN-Index.
Standard success envelope shared by every endpoint. Each operation's response
wrapper extends this (via allOf) and adds a typed data property.
Always true for a successful response.
true
Mirrors the HTTP status code.
200
NAV-growth comparison payload. Returns the NAV-growth series for two funds
(etf1, etf2) benchmarked against the VN-Index (vnIndex), the set of
available period windows and the series start date. The single-fund endpoint
populates etf1 and leaves etf2.etfCode empty.
Response metadata. Always present; timestamp is the server time the response was generated.