Vietnam Stock Price Limits & T+2 API
Ceiling and floor prices with HOSE / HNX / UPCoM bands and ticks, T+2 settlement and ex-rights dates on trading days, profit after fees and 0.1 % tax.
action=price: from the exchange (hose, hnx, upcom), security type (stock, fund, etf, cw) and reference price, the ceiling and floor rounded to the tick: HOSE ±7 % (20 % on the first trading day), HNX ±10 % (30 %), UPCoM ±15 % (40 %); HOSE ticks 10 / 50 / 100 đ by price range, 10 đ for ETFs and covered warrants, 100 đ on HNX and UPCoM; ceiling and floor move one tick away when rounding lands on the reference. Covered warrants use the underlying’s band divided by the conversion ratio. list=1 returns every valid price; quantity checks board / odd lots.
action=settlement: T+2 settlement date of a trade_date and the ex-rights date (one trading day before the record_date) and the last day to buy, skipping weekends and Vietnamese public holidays. action=pnl: profit of a round trip after broker fees (default 0.15 %), the 0.1 % personal income tax on the sale value and 5 % on cash dividends, with the break-even price. action=rules: the full table (lots, maximum order 500 000 on HOSE, put-through minimums). Prices are not provided.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
action | query | string | no | price, settlement, pnl or rules (alias mode); guessed from the other parameters. | |
exchange | query | string | no | hose | hose, hnx or upcom. |
type | query | string | no | stock | stock, fund, etf or cw (covered warrant, HOSE). |
reference | query | number | no | Price: reference price (VND). | |
first_day | query | boolean | no | Price: first trading day / after a suspension of more than 25 sessions. | |
underlying_reference / conversion_ratio | query | number | no | Covered warrant: reference price of the underlying and conversion ratio. | |
list / quantity | query | string | no | Price: list=1 for every valid price; quantity to check lots. | |
trade_date / record_date | query | string | no | Settlement: trade date (T+2) and/or record date (ex-rights date). | |
buy_price, sell_price, quantity, buy_fee_percent, sell_fee_percent, cash_dividends | query | number | no | P&L inputs. |
Example
curl "https://apibox.io.vn/v1/vn-stock-rules?action=price&exchange=hose&reference=39000" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-stock-rules?action=price&exchange=hose&reference=39000', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/vn-stock-rules?action=price&exchange=hose&reference=39000",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-stock-rules?action=price&exchange=hose&reference=39000');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"action": "price",
"exchange": "hose",
"type": "stock",
"reference": 39000,
"first_day": false,
"band_percent": 7,
"ceiling": 41700,
"floor": 36300,
"notes": [],
"tick_at_ceiling": 50,
"tick_at_floor": 50,
"board_lot": 100,
"max_order_volume": 500000,
"reviewed": "2026-11-15",
"disclaimer": "Reference only, not investment or tax advice; exchanges may announce special bands (e.g. after corporate actions) – check the exchange notice."
}
Use cases
- Show ceiling / floor in a portfolio app or a Telegram / Zalo bot
- Validate order prices and quantities before sending them to a broker API
- Compute when cash from a sale arrives and the last day to buy for a dividend
- Profit and tax columns in a Google Sheets portfolio
FAQ
Why is the HOSE ceiling of 39 000 equal to 41 700 and not 41 730?
Ceilings are rounded down to the tick (50 đ between 10 000 and 49 950), floors up: 39 000 × 1.07 = 41 730 → 41 700; 39 000 × 0.93 = 36 270 → 36 300.
Are Saturday make-up working days trading days?
No, the exchanges trade Monday to Friday and close on public holidays; the calendar comes from /v1/vn-holidays.
Is the 0.1 % tax charged on a loss?
Yes, it is withheld on the sale value of every sale, profit or loss.
Related APIs
JSON Validator
Check JSON syntax with exact line and column of errors, and validate data against a JSON Schema (draft 4, 7, 2019-09 or 2020-12).
{ }JSON Formatter
Pretty print JSON with 0-8 spaces or tabs, minify it, or sort object keys recursively. Syntax errors are reported with line and column.
CSVCSV to JSON
Convert CSV into an array of JSON objects using the header row, with delimiter auto-detection, number and boolean typing, and row-level errors.