Skip to content

Submit IPO Subscription ​

This endpoint allows you to submit an IPO (Initial Public Offering) subscription request, supporting both cash and margin subscriptions for multiple client accounts.


HTTP Request ​

bash
POST /trade/v1/ipo/subscriptions

Request Body ​

NameTypeRequiredDescription
marketENUMYesMarket code. See supported values in the market enum definition.
symbolSTRINGYesStock symbol of the IPO
margin_ratioDECIMALYesMargin financing ratio. Within the same institutional account and the same IPO subscription, only the first request in batched submissions takes effect. Options: 0.9 (90%) / 0 (0%)
detailsARRAY<detail>YesList of subscription details, one entry per client account. Maximum 500 entries per request

detail object fields:

NameTypeRequiredDescription
client_idSTRINGYesSub-user ID defined by the institutional client, must be unique. Within the same institutional account and the same IPO subscription, each client ID can have at most one subscription record. Alphanumeric, up to 20 characters
id_typeINTYesID type: 1=HKID, 2=Mainland ID, 3=Passport, 4=LEI, 5=Certificate of Incorporation, 6=BR Number, 7=Other Official Registration, 8=BCAD
issue_countrySTRINGYesIssuing country/region code (e.g. CHN, HKG, TWN, OTH). Reference: UN M49
id_numberSTRINGYesID number.
- If id_type is 4, must be 20 uppercase letters or digits.
- If id_type is 8, must match xxxxxx.##########: xxxxxx is 6 uppercase letters or digits, separated by a dot ., ########## is a positive integer up to 10 digits.
- For other id_type values, no format restriction currently.
Within the same IPO subscription, ID numbers must not be duplicated; duplicates will be rejected.
name_enSTRINGConditionalEnglish name, must be UPPERCASE. Required unless id_type=8 (BCAD)
name_localSTRINGConditionalNon-English name. Required unless id_type=8 (BCAD)
subscribe_typeENUMYesSubscription type. See subscribe_type
qtyDECIMALYesSubscription quantity, must match the available quantity tiers

cURL Example ​

bash
curl --location --request POST '{$base_url}/trade/v1/ipo/subscriptions' \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'X-API-Signature: YOUR_GENERATED_SIGNATURE' \
--header 'X-API-Timestamp: 1746774142003' \
--header 'Content-Type: application/json' \
--data-raw '{
  "market": "hkex",
  "symbol": "09999",
  "margin_ratio": 0.9,
  "details": [
    {
      "client_id": "CLIENT001",
      "id_type": 1,
      "issue_country": "HKG",
      "id_number": "A1234567",
      "name_en": "CHAN TAI MAN",
      "name_local": "陳大文",
      "subscribe_type": "cash",
      "qty": 1000
    },
    {
      "client_id": "CLIENT002",
      "id_type": 2,
      "issue_country": "CHN",
      "id_number": "110101199001011234",
      "name_en": "ZHANG SAN",
      "name_local": "张三",
      "subscribe_type": "margin",
      "qty": 2000
    }
  ]
}'

Successful Response Format ​

NameTypeDescription
codeINTResponse code, 0 indicates success
messageSTRINGResponse message

Sample Success Response ​

json
{
  "code": 0,
  "message": "success"
}

Sample Error Response ​

json
{
  "code": 500,
  "message": "Internal Service Error",
  "details": ""
}