Query symbol's price from foreign exchange
Description
Method: HTTPS POST
Encoding: UTF-8
Path: https://api.blockin.ai/v2/quot/fx/price
Description: Query price of symbols from foreign exchange according to symbol_list
Request Header
Parameter
Required
Type
Description
Content-Type
Y
String
application/json
AccessKey
Y
String
1bdb01c947c54919b64d1fc6794atest
Request Parameters
Parameter
Required
Type
Description
symbol_list
Y
String
Symbol's name, eg: CFX/USD,GOFX/USD etc.
Response
Public Response
Parameter
Required
Type
Description
success
Y
Boolean
Success Boolean
data
Y
List
Response object
error_code
N
String
Error code
error_msg
N
String
Error message
Data Content
Parameter
Required
Type
Description
symbol_list
Y
List
Response data
timestamp
Y
Long
Timestamp
Symbol_list Content
Parameter
Required
Type
Description
symbol
Y
String
Symbol's name
price
Y
String
Price of the symbol
update_at
Y
Long
Update time
Request Sample
curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" "https://api.blockin.ai/v2/quot/fx/price" --data ' { "symbol_list": [ "AUD/USD", "USD/MXN" ] }'
Successful Response Sample
Last updated