API Specs
Last updated
Last updated
API | Method | Path |
---|---|---|
To get access token used to run APIs or connect streaming of FastConnect Data.
Details
Field | Type | Required? | Description |
---|---|---|---|
Sample
To get securities list by exchange.
Details
Sample
To get securities details.
Details
Sample
To get securities list of an index.
Details
Sample:
To get index list.
Details
Sample
To get daily open, high, low, close, volume, value.
Details
Sample
To get realtime open, high, low, close, volume of securities.
Details
Sample
To get daily trading data of Index
Details
Sample
To get daily price of securities.
Details
Sample
Field | Type | Required? | Description |
---|---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Required? | Description |
---|---|---|---|
Data | Type | Description |
---|---|---|
Field | Type | Required? | Description |
---|---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Required? | Description |
---|---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Required? | Description |
---|---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Required? | Description |
---|---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Required? | Description |
---|---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Required? | Description |
---|---|---|---|
Field | Type | Description |
---|---|---|
AccessToken
POST
Market/AccessToken
Securities
GET
Market/Securities
SecuritiesDetails
GET
Market/SecuritiesDetails
IndexComponents
GET
Market/IndexComponents
IndexList
GET
Market/IndexList
DailyOhlc
GET
Market/DailyOhlc
IntradayOhlc
GET
Market/IntradayOhlc
DailyIndex
GET
Market/DailyIndex
DailyStockPrice
GET
Market/DailyStockPrice
consumerID
string
Yes
ConsumerID
consumerSecret
string
Yes
ConsumerSecret
message
string
Message
status
number
Status
accessToken
string
Token to access API and connect streaming
market
string
No
HOSE | HNX | UPCOM | DER
If not set, returns securities of all markets
pageIndex
integer
Yes
From 1 to 10. Default value is 1.
pageSize
integer
Yes
10; 20; 50; 100; 1000
Default value is 10.
message
string
Message
status
number
Status
totalRecord
number
Total records
data
list
List data
market
string
HOSE | HNX | UPCOM | DER
symbol
string
Securities symbol
StockName
string
Stock Name in Vietnamese
StockEnName
string
Stock Name in English
market
string
No
HOSE | HNX | UPCOM | DER
If not set, returns securities of all markets
symbol
string
No
If not set, returns all securities of defined markets
pageIndex
integer
Yes
From 1 to 10. Default value is 1
pageSize
integer
Yes
10; 20; 50; 100; 1000
Default value is 10
message
string
Message
status
number
Status
totalRecord
number
Total records
data
list
List data
RType
string
y
ReportDate
number
Date of report Format: dd/mm/yyyy
TotalNoSym
number
Total number of securities
repeatedinfoList
list
Data list
Isin
string
ISIN code
Symbol
string
Securities symbol. Used as key in trading activities.
SymbolName
string
Stock name in Vietnamese
SymbolEngName
string
Stock name in English
SecType
string
Securties Type: ST: Stock
CW: Covered Warrant
FU: Futures
EF: ETF
BO: BOND
OF: OEF
MF: Mutual Fund
Exchange
string
Exchange: HOSE
HNX
HNXBOND
UPCOM
DER
Issuer
string
LotSize
string
IssueDate
number
MaturityDate
Date
FirstTradingDate
Date
LastTradingDate
Date
ContractMultiplier
Date
SettlMethod
number
Underlying
string
PutOrCall
string
ExercisePrice
string
ExerciseStyle
number
ExcerciseRatio
string
ListedShare
string
TickPrice1
number
TickIncrement1
number
TickPrice2
number
TickIncrement2
number
TickPrice3
number
TickIncrement3
number
TickPrice4
number
TickIncrement4
number
Indexcode
string
Yes
Input one index code to get securities list
pageIndex
integer
Yes
From 1 to 10. Default value is 1
pageSize
integer
Yes
10; 20; 50; 100; 1000
Default value is 10
message
string
status
number
totalRecord
number
data
list
List data
IndexCode
string
IndexName
string
Exchange
string
HOSE|HNX
TotalSymbolNo
number
Total number of symbols in the index
IndexComponent
list
Isin
string
StockSymbol
string
exchange
string
Yes
HOSE | HNX
pageIndex
integer
Yes
From 1 to 10. Default 1
pageSize
integer
Yes
10; 20; 50; 100; 1000. Default 10
message
string
status
number
totalRecord
number
data
list
List data
IndexCode
string
Index code
IndexName
string
Index name
Exchange
string
Exchange: HOSE|HNX
symbol
string
No
Securities/Index code
fromDate
string
Yes
Default is today if not set. In dd/mm/yyyy format
toDate
string
Yes
Default is today if not set. In dd/mm/yyyy format
pageIndex
integer
Yes
From 1 to 10
Default 1
pageSize
integer
Yes
10; 20; 50; 100; 1000
Default 10
ascending
boolean
No
true/ false
message
string
status
number
totalRecord
number
data
list
List data
Symbol
String
Market
String
HOSE | HNX | UPCOM
TradingDate
Date
dd/mm/yyyy
Time
Timestamp
Open
Number
High
Number
Low
Number
Close
Number
Volume
Number
Total normal matched volume
Value
Number
Total normal matched value
symbol
string
No
Securities symbols, indexes
fromDate
string
Yes
If not set, default to today Format dd/mm/yyyy
toDate
string
Yes
If not set, default to today Format dd/mm/yyyy
pageIndex
integer
Yes
From 1 to 10
Default 1
pageSize
integer
Yes
10; 20; 50; 100; 1000
Default 10
ascending
boolean
No
true/ false
resollution
integer
No
Default 1 minute
message
string
status
number
totalRecord
number
data
list
List data
Symbol
String
Market
String
TradingDate
Date
Format dd/mm/yyyy
Time
Timestamp
Open
Number
High
Number
Low
Number
Close
Number
Volume
Number
Value
Number
indexId
string
Yes
IndexID. The list of indexes can be retrieved by api getIndexList, or refer to this page.
fromDate
string
Yes
Default is today if not set. In dd/mm/yyyy format
toDate
string
Yes
Default is today if not set. In dd/mm/yyyy format
pageIndex
integer
Yes
From 1 to 10
Default 1
pageSize
integer
Yes
10; 20; 50; 100; 1000
Default 10
ascending
boolean
No
true/ false
message
string
status
number
totalRecord
number
data
list
List data
Indexcode
string
IndexValue
number
Trading Date
Date
Format dd/mm/yyyy
Time
Timestamp
Change
number
RatioChange
number
TotalTrade
number
Total trades (both normal and put-through)
Totalmatchvol
number
Total matched vol
Totalmatchval
number
Total matched value
TypeIndex
string
IndexName
string
Advances
number
Total number of symbols with increased price
Nochanges
number
Total number of symbols with unchanged price
Declines
number
Total number of declined symbols
Ceiling
number
Total number of symbols with ceiling price
Floor
number
Total number of symbols with floor price
Totaldealvol
number
Total put-through matched quantity
Totaldealval
number
Total put-through matched value
Totalvol
number
Total matched quantity (both normal and put-through)
Totalval
number
Total matched value (both normal and put-through)
TradingSession
string
Market
string
Exchange
string
HOSE | HNX
Symbol
string
No
fromDate
string
Yes
Default is today if not set. In dd/mm/yyyy format
toDate
string
Yes
Default is today if not set. In dd/mm/yyyy format
pageIndex
integer
Yes
From 1 to 10
Default 1
pageSize
integer
Yes
10; 20; 50; 100; 1000
Default 10
market
string
No
HOSE|HNX|UPCOM|DER|BOND
message
string
status
number
totalRecord
number
data
list
List data
Tradingdate
string
Symbol
string
Pricechange
string
Perpricechange
string
Ceilingprice
string
Floorprice
string
Refprice
string
Openprice
string
Highestprice
string
Lowestprice
string
Closeprice
string
Averageprice
string
Closepriceadjusted
string
Totalmatchvol
string
Totalmatchval
string
Totaldealval
string
Totaldealvol
string
Foreignbuyvoltotal
string
Foreigncurrentroom
string
Foreignsellvoltotal
string
Foreignbuyvaltotal
string
Toreignsellvaltotal
string
Totalbuytrade
string
Totalbuytradevol
string
Totalselltrade
string
Totalselltradevol
string
Netforeivol
string
Netforeignval
string
Totaltradedvol
string
Total traded vol, including odd lot
Totaltradedvalue
string
Total traded value, including odd lot
Time
string