Query IPO Subscription Details
This endpoint retrieves a paginated list of IPO subscription details, including subscription summary, individual client statuses, allotment results, and related fees.
HTTP Request
bash
GET /trade/v1/ipo/subscriptionsQuery Parameters
| Name | Type | Required | Description |
|---|---|---|---|
page | INT | No | Page number, minimum 1, default is 1 |
page_size | INT | No | Number of records per page, default is 20, max limit is 100 |
market | ENUM | Yes | Market code. See supported values in the market enum definition |
symbol | STRING | Yes | Stock symbol of the IPO |
client_id | ARRAY<STRING> | No | Filter by client IDs. Sub-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. |
subscribe_type | ENUM | No | Subscription type. See subscribe_type |
status | ENUM | No | Subscription detail status. See subscription_detail_status |
cURL Example
bash
curl --location --request GET '{$base_url}/trade/v1/ipo/subscriptions?page=1&page_size=10&market=hkex&symbol=09999&client_id=CLIENT001&subscribe_type=cash&status=confirmed' \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'X-API-Signature: YOUR_GENERATED_SIGNATURE' \
--header 'X-API-Timestamp: 1746774142003'Response Fields
| Name | Type | Description |
|---|---|---|
subscription | OBJECT | Subscription summary information |
details | ARRAY<detail> | List of subscription details for individual clients |
subscription object fields:
| Name | Type | Description |
|---|---|---|
status | ENUM | Overall subscription status. See subscription_status |
cash_count | INT | Number of cash subscription participants |
margin_count | INT | Number of margin subscription participants |
qty | DECIMAL | Total subscription quantity |
amount | DECIMAL | Total subscription amount |
margin_ratio | DECIMAL | Margin financing ratio |
margin_amount | DECIMAL | Margin financing amount |
allotted_qty | DECIMAL | Total allotted quantity |
allotted_amount | DECIMAL | Total allotted amount payable |
charge | DECIMAL | Subscription handling fee |
margin_interest | DECIMAL | Margin loan interest |
refund_amount | DECIMAL | Refund amount |
ccy | STRING | Currency |
fx_rate | DECIMAL | Total exchange rate |
details array element fields:
| Name | Type | Description |
|---|---|---|
client_id | STRING | Sub-user ID defined by the institutional client. |
id_type | INT | ID type: 1=HKID, 2=Mainland ID, 3=Passport, 4=LEI, 5=Certificate of Incorporation, 6=BR Number, 7=Other Official Registration, 8=BCAD |
issue_country | STRING | Issuing country/region code |
id_number | STRING | ID number |
name_en | STRING | English name |
name_local | STRING | Non-English name |
subscribe_type | ENUM | Subscription type. See subscribe_type |
qty | DECIMAL | Subscription quantity |
amount | DECIMAL | Subscription amount |
status | ENUM | Subscription detail status. See subscription_detail_status |
allotted_qty | DECIMAL | Allotted quantity |
allotted_amount | DECIMAL | Allotted amount payable |
unallotted_reason | STRING | Reason for not being allotted |
remark | STRING | Review remarks |
Sample Success Response
json
{
"code": 0,
"data": {
"total_records": 2,
"page": 1,
"page_size": 10,
"subscription_details": {
"subscription": {
"status": "subscribing",
"cash_count": 1,
"margin_count": 1,
"qty": 3000,
"amount": 36000.00,
"margin_ratio": 0.9,
"margin_amount": 21600.00,
"allotted_qty": 0,
"allotted_amount": 0,
"charge": 50.00,
"margin_interest": 0,
"refund_amount": 0,
"ccy": "HKD",
"fx_rate": 0
},
"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,
"amount": 12000.00,
"status": "confirmed",
"allotted_qty": 0,
"allotted_amount": 0,
"unallotted_reason": "",
"remark": ""
},
{
"client_id": "CLIENT002",
"id_type": 2,
"issue_country": "CHN",
"id_number": "110101199001011234",
"name_en": "ZHANG SAN",
"name_local": "张三",
"subscribe_type": "margin",
"qty": 2000,
"amount": 24000.00,
"status": "pending",
"allotted_qty": 0,
"allotted_amount": 0,
"unallotted_reason": "",
"remark": ""
}
]
}
}
}Sample Error Response
json
{
"code": 500,
"message": "Internal Service Error",
"details": ""
}
