Spot Rate : USD/THB refers to the exchange rate quoted on the spot market. All trading transactions are verified and settled within two consecutive business day following the trading date. <br> Lag time : -- <br> Release schedule : End of every business day at 6.00 p.m. <br> Source of data : <br>
- Bank of Thailand
- Reuters <br> More detail CLICK
production
https://apigw1.bot.or.th/bot/public
API Gateway
Paths
/
get /
clientIdHeader
X-IBM-Client-Id
(apiKey located in header)
start_period
Required in query
string
Start Period Date (YYYY-MM-DD) EX. 2017-06-30
end_period
Required in query
string
End Preiod Date (YYYY-MM-DD) EX. 2017-06-30
Accept
Optional in header
string
application/json
200
200 OK
Example Request
Example Response
GET https://apigw1.bot.or.th/bot/public/Stat-SpotRate/v2/SPOTRATE/
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
Definitions
{
"type": "object",
"properties": {
"result": {
"type": "object",
"properties": {
"api": {
"type": "string",
"example": "Spot Rate USD/THB (Percent per annum)"
},
"timestamp": {
"type": "string",
"example": "2017-07-24 16:35:09"
},
"data": {
"type": "object",
"properties": {
"data_header": {
"type": "object",
"properties": {
"report_name_eng": {
"type": "string",
"example": "Spot Rate and Swap Point"
},
"report_name_th": {
"type": "string",
"example": "Spot Rate and Swap Point"
},
"report_uoq_name_eng": {
"type": "string",
"example": ""
},
"report_uoq_name_th": {
"type": "string",
"example": ""
},
"report_source_of_data": {
"type": "object",
"properties": {
"source_of_data_eng": {
"type": "string"
},
"source_of_data_th": {
"type": "string"
}
},
"example": [
{
"source_of_data_eng": "Reuters",
"source_of_data_th": "รอยเตอร์"
},
{
"source_of_data_eng": "Bank of Thailand",
"source_of_data_th": "ธนาคารแห่งประเทศไทย"
}
]
},
"report_remark": {
"type": "object",
"properties": {
"report_remark_eng": {
"type": "string"
},
"report_remark_th": {
"type": "string"
}
},
"example": [
{
"report_remark_eng": "Forward exchange rate can be derived from the addition of spot rate and swap point.",
"report_remark_th": "อัตราแลกเปลี่ยนล่วงหน้าคำนวณได้จากอัตราแลกเปลี่ยนทันที และ SWAP POINT"
},
{
"report_remark_eng": "1 Satang = 0.01 Baht.",
"report_remark_th": "1 สตางค์ = 0.01 บาท "
}
]
},
"last_updated": {
"type": "string",
"example": "2017-07-21"
}
}
},
"data_detail": {
"type": "array",
"items": {
"properties": {
"period": {
"type": "string",
"example": "2017-05-03"
},
"bid_rate": {
"type": "string",
"example": "34.4700000"
},
"offer_rate": {
"type": "string",
"example": "34.4800000"
}
}
}
}
}
}
}
}
}
}