# 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.

- Endpoint: `GET https://apibox.io.vn/v1/vn-stock-rules`
- Category: Data & JSON
- HTML docs: https://apibox.io.vn/docs/vn-stock-rules/ (Vietnamese: https://apibox.io.vn/vi/docs/vn-stock-rules/)
- Online tool: https://apibox.io.vn/tools/vn-stock-rules/
- Authentication: `Authorization: Bearer <API key>` or `X-API-Key: <API key>` (free key: https://apibox.io.vn/dashboard/#signup)

`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.

## Parameters

| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| `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 request

```bash
curl "https://apibox.io.vn/v1/vn-stock-rules?action=price&exchange=hose&reference=39000" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Example response

```json
{
  "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.
