2.1. Môi trường
Với các topic public không cần authentication:
Host
datafeed-lts-krx.dnse.com.vn
Port
443
Path
/wss
ClientID
<dnse-price-json-mqtt-ws-sub>-<username>-<random_sequence>
Username
Lấy từ trường investorId trong phần 2.1.b
Password
Lấy từ trường token trong phần 2.1.a
a. Đăng nhập
POST
Domain cũ duy trì 1 tháng sau khi golive KRX (từ 05/05/2025)
POST
Domain mới, áp dụng sau khi Golive KRX (từ 05/05/2025)
Resquest Header
N/A
Resquest Body
username
String
ID đăng nhập: Email hoặc Số điện thoại hoặc Số lưu ký
password
String
Mật khẩu
Response Body
token
String
JWT token (có hiệu lực trong 8 tiếng
b. Thông tin tài khoản
GET
Domain cũ duy trì 1 tháng sau khi golive KRX (từ 05/05/2025)
GET
Domain mới, áp dụng sau khi Golive KRX (từ 05/05/2025)
Request Header
Authorization
Bearer Bearer <JWT token>
Bearer <JWT token> -> lấy JWT token từ mục 2.1.a
Request Body
N/A
OK
Response Body
investorId
String
Mã khách hàng
name
String
Họ và tên
custodyCode
String
Số lưu ký
mobile
String
Số điện thoại
String
<others>
Last updated
Was this helpful?