---
swagger: "2.0"
info:
x-ibm-name: spot-rate-usdthb
title: Spot Rate USD/THB
version: 2.0.0
description: |-
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.
Lag time : --
Release schedule : End of every business day at 6.00 p.m.
Source of data :
1. Bank of Thailand
2. Reuters
More detail [CLICK](http://www2.bot.or.th/statistics/MetaData/FM_RT_006_ENG.PDF)
schemes:
- https
basePath: /Stat-SpotRate/v2/SPOTRATE
consumes:
- application/json
produces:
- application/json
securityDefinitions:
clientIdHeader:
type: apiKey
in: header
name: X-IBM-Client-Id
security:
- clientIdHeader: []
x-ibm-configuration:
testable: true
enforced: true
phase: realized
paths:
/:
get:
responses:
200:
description: 200 OK
schema:
$ref: '#/definitions/Response Parameters'
parameters:
- name: start_period
type: string
required: true
in: query
description: Start Period Date (YYYY-MM-DD) EX. 2017-06-30
- name: end_period
type: string
required: true
in: query
description: End Preiod Date (YYYY-MM-DD) EX. 2017-06-30
definitions:
Response Parameters:
description: ""
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"
x-ibm-endpoints:
- endpointUrl: https://apigw1.bot.or.th/bot/public
description: API Gateway
type:
- production
...