---
swagger: "2.0"
info:
x-ibm-name: swap-point-onshore-in-satangs
title: Swap point - Onshore (in Satangs)
version: 2.0.0
description: "Swap Point Onshore (in Satangs) refers to the difference between the
spot and forward exchange rates available at the period of 1, 3 and 6 months.
\nLag time : --
\nRelease schedule : End of every business day at 6.00
p.m.
\nSource of data :
\n1. Bank of Thailand\n2. Reuters
\nMore
detail [CLICK](http://www2.bot.or.th/statistics/MetaData/FM_RT_006_ENG.PDF)"
schemes:
- https
basePath: /Stat-SwapPoint/v2/SWAPPOINT
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
- name: term_type
type: string
required: false
in: query
description: Term type
definitions:
Response Parameters:
description: ""
type: object
properties:
result:
type: object
properties:
api:
type: string
example: Swap point - Onshore (in Satangs)
timestamp:
type: string
example: "2017-07-24 16:36:12"
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"
term_type_name_th:
type: string
example: 1 Month
term_type_name_eng:
type: string
example: 1 Month
bid_rate:
type: string
example: "0.6500000"
offer_rate:
type: string
example: "0.8000000"
x-ibm-endpoints:
- endpointUrl: https://apigw1.bot.or.th/bot/public
description: API Gateway
type:
- production
...