SNAP / MCP
MCP Reference
Read the request and response contracts without signing in. Run requests in the signed-in SNAP workspace.
- Server URL
- https://mcp.snapfx.ai/mcp
- Specification
- 11 tools
- Transport
- Streamable HTTP
- Execution
- Authenticated
Time zones and date field migration
timeZone applies only to timestamp-bearing Spot, Forward, Term Structure, Swap Point, Zero Rate and Discount Factor APIs and their MCP tools. Use a GET query or the calculate-forward JSON body. Omission or JSON null means UTC. Use an IANA ID such as Asia/Seoul. Empty values, whitespace, KST, numeric offsets and unknown IDs return HTTP 400/code 4000.
2026-01-01T00:00:00.000Z and 2026-01-01T09:00:00.000+09:00 represent the same instant. DST follows the zone at that instant. referenceAt is source reference time and is not refreshed by fetching again. The REST Spot lastAt uses the same millisecond format, but the trade clock has second resolution so the fraction is always .000, and its inferred trade date can be inaccurate after market closures. YYYY-MM-DD dates and prices stay unchanged; referenceDate keeps the source UTC date.
Every success and error response uses UTC millisecond timestamps for meta.requestAt and meta.responseAt, independent of the requested timeZone. meta.requestId is a server-generated UUID. meta.clientRequestId is the incoming X-Request-ID value or null. retrievedAt is not part of the public contract.
{
"timeZone": "Asia/Seoul",
"referenceAt": "2026-01-01T09:00:00.000+09:00",
"maturityDate": "2026-09-24"
}Use the names on the right. REST quote responses no longer carry lastTradedAtKst, lastTradedAt, points[].maturity, nearMaturity or farMaturity; only the curve date remains as a deprecated alias. MCP tool results use the same names. Curve requests take either maturityDate or tenor; sending both date and maturityDate is an error.
{
"asOf": "referenceAt",
"lastTradedAtKst": "lastAt",
"lastTradedAt": "lastAt",
"points[].maturity": "points[].maturityDate",
"nearMaturity": "nearMaturityDate",
"farMaturity": "farMaturityDate",
"curve date": "maturityDate"
}Connections and calls require OAuth authentication. The available tools depend on granted scopes. This reference captures tools/list with the full rates-read scope.
MCP connection guideMCPcalculate_forward
Forward Exchange Rate
/v1/fx/calculate-forward. Returns the two-way forward exchange rate for a currency pair at one forward value date.
Give the date either as maturityDate or as a standard tenor of the pair; send exactly one.
Supported tenors differ by pair; read them from GET /v1/fx/tenors.
The forward starts from the current spot settlement date, returned as spotDate with the
resolved maturityDate and the calendar-day count days.
bid and ask are in quote currency per USD 1. They are both null when a two-way forward is
unavailable, for example outside the quoted curve; no midpoint replaces them and nothing is extrapolated.
referenceAt is the observation time in timeZone (UTC when omitted or null); calendar dates are unchanged.
Input schema
maturityDatestring | null / dateForward value date. Provide exactly one of maturityDate and tenor.
pairstringDefault:
USDKRWtenornull | stringStandard FX forward tenor of the pair, as listed by
GET /v1/fx/tenors. Provide exactly one of maturityDate and tenor.Nested fields
null{ "type": "null" }string{ "type": "string", "enum": [ "1W", "2W", "3W", "1M", "2M", "3M", "4M", "5M", "6M", "7M", "8M", "9M", "10M", "11M", "1Y" ] }timeZonestring | nullIANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.
Default:
UTC
inputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"maturityDate": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Forward value date. Provide exactly one of maturityDate and tenor."
},
"pair": {
"type": "string",
"default": "USDKRW"
},
"tenor": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"enum": [
"1W",
"2W",
"3W",
"1M",
"2M",
"3M",
"4M",
"5M",
"6M",
"7M",
"8M",
"9M",
"10M",
"11M",
"1Y"
]
}
],
"description": "Standard FX forward tenor of the pair, as listed by `GET /v1/fx/tenors`. Provide exactly one of maturityDate and tenor."
},
"timeZone": {
"type": [
"string",
"null"
],
"description": "IANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.",
"default": "UTC"
}
}
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
asknumber | nullForward ask in quote currency per USD 1, rounded up to 2 decimal places; null with bid when a two-way forward is unavailable.
bidnumber | nullForward bid in quote currency per USD 1, rounded down to 2 decimal places; null with ask when a two-way forward is unavailable.
daysinteger | nullCalendar days from spotDate to maturityDate; null when either date is null.
maturityDatestring | null / dateForward value date. For a tenor request, the date the tenor resolves to; null when no observation is available to resolve it.
pairstringRequiredreferenceAtstring | null / date-timeObservation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.
spotDatestring | null / dateSpot settlement date the forward is measured from; null without an observation.
tenornull | stringRequested tenor, echoed; null when the request used maturityDate.
Nested fields
null{ "type": "null" }string{ "type": "string", "enum": [ "1W", "2W", "3W", "1M", "2M", "3M", "4M", "5M", "6M", "7M", "8M", "9M", "10M", "11M", "1Y" ] }
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"ask": {
"type": [
"number",
"null"
],
"description": "Forward ask in quote currency per USD 1, rounded up to 2 decimal places; null with bid when a two-way forward is unavailable."
},
"bid": {
"type": [
"number",
"null"
],
"description": "Forward bid in quote currency per USD 1, rounded down to 2 decimal places; null with ask when a two-way forward is unavailable."
},
"days": {
"type": [
"integer",
"null"
],
"description": "Calendar days from spotDate to maturityDate; null when either date is null."
},
"maturityDate": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Forward value date. For a tenor request, the date the tenor resolves to; null when no observation is available to resolve it."
},
"pair": {
"type": "string"
},
"referenceAt": {
"type": [
"string",
"null"
],
"description": "Observation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.",
"format": "date-time"
},
"spotDate": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Spot settlement date the forward is measured from; null without an observation."
},
"tenor": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"enum": [
"1W",
"2W",
"3W",
"1M",
"2M",
"3M",
"4M",
"5M",
"6M",
"7M",
"8M",
"9M",
"10M",
"11M",
"1Y"
]
}
],
"description": "Requested tenor, echoed; null when the request used maturityDate."
}
},
"required": [
"pair"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Forward Exchange Rate",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPcalculate_settlement_days
Settlement Dates
/v1/fx/settlement-days. Calculates the settlement dates for a trade date and tenor.
For standard tenors, spotDate is the spot settlement date from the currency pair's spot lag,
and maturityDate adds the tenor to it and adjusts to a business day.
Month and year tenors follow the end-of-month convention: when spotDate is the last business day
of its month, maturityDate is the last business day of the target month.
For ON, TN and SN, spotDate is the near leg and maturityDate is the far leg,
and the trade date must be a business day.
Business days follow the settlement calendars of the currency pair.
Dates outside the published calendar coverage return error code 4220 without estimating dates.
Holiday data for later years can come from rule-generated calendars, and calculation conventions
are provisional, so results may change when official holiday schedules are published.
Input schema
pairstringDefault:
USDKRWtenorstringRequiredON | TN | SN | 1D | 1W | 2W | 3W | 1M | 2M | 3M | 4M | 5M | 6M | 7M | 8M | 9M | 10M | 11M | 1YtradeDatestring / dateRequired
inputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"pair": {
"type": "string",
"default": "USDKRW"
},
"tenor": {
"type": "string",
"enum": [
"ON",
"TN",
"SN",
"1D",
"1W",
"2W",
"3W",
"1M",
"2M",
"3M",
"4M",
"5M",
"6M",
"7M",
"8M",
"9M",
"10M",
"11M",
"1Y"
]
},
"tradeDate": {
"type": "string",
"format": "date"
}
},
"required": [
"tenor",
"tradeDate"
]
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
businessDaysintegerRequireddaysToMaturityintegerRequiredisBusinessTradeDatebooleanRequiredWhether tradeDate is a business day in the pair's settlement calendars. Standard tenors still return dates for a holiday trade date; ON, TN and SN reject it.
maturityDatestring / dateRequiredpairstringRequiredspotDatestring / dateRequiredspotDaysintegerRequiredtenorstringRequiredON | TN | SN | 1D | 1W | 2W | 3W | 1M | 2M | 3M | 4M | 5M | 6M | 7M | 8M | 9M | 10M | 11M | 1YtradeDatestring / dateRequired
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"businessDays": {
"type": "integer"
},
"daysToMaturity": {
"type": "integer"
},
"isBusinessTradeDate": {
"type": "boolean",
"description": "Whether tradeDate is a business day in the pair's settlement calendars. Standard tenors still return dates for a holiday trade date; ON, TN and SN reject it."
},
"maturityDate": {
"type": "string",
"format": "date"
},
"pair": {
"type": "string"
},
"spotDate": {
"type": "string",
"format": "date"
},
"spotDays": {
"type": "integer"
},
"tenor": {
"type": "string",
"enum": [
"ON",
"TN",
"SN",
"1D",
"1W",
"2W",
"3W",
"1M",
"2M",
"3M",
"4M",
"5M",
"6M",
"7M",
"8M",
"9M",
"10M",
"11M",
"1Y"
]
},
"tradeDate": {
"type": "string",
"format": "date"
}
},
"required": [
"businessDays",
"daysToMaturity",
"isBusinessTradeDate",
"maturityDate",
"pair",
"spotDate",
"spotDays",
"tenor",
"tradeDate"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Settlement Dates",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPget_business_days
Business Days
/v1/fx/business-days. Returns the date day business days from date in the calendar selected by calendarCode.
For example, day 2 from a Monday with no holidays returns the Wednesday.
day 0 returns date itself when it is a business day, and the next business day otherwise.
Negative values move backward; the range is -30 to 30. When date is not a business day,
counting starts from date, so day 1 from a Saturday returns the following Monday.
isBusinessDay and reason describe the requested date; resultDate is the answer.
certainty describes resultDate: PREDICTED when any day the search passed through comes from a
rule-generated revision, so the answer can move once the real holiday schedule is published.
Dates outside the calendar's published coverage return an error.
Input schema
datestring / dateRequiredcalendarCodestringRequiredUSD_NEWYORK | KRW_SEOUL | JPY_TOKYOdayintegerRequired
inputSchema JSON
{
"type": "object",
"properties": {
"date": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"format": "date"
},
"calendarCode": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"enum": [
"USD_NEWYORK",
"KRW_SEOUL",
"JPY_TOKYO"
]
},
"day": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "integer"
}
},
"required": [
"date",
"calendarCode",
"day"
],
"additionalProperties": true
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
calendarstringRequiredUSD_NEWYORK | KRW_SEOUL | JPY_TOKYOcertaintystringRequireddatestring / dateRequiredisBusinessDaybooleanRequiredreasonstringRequiredresultDatestring / dateRequired
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"calendar": {
"type": "string",
"enum": [
"USD_NEWYORK",
"KRW_SEOUL",
"JPY_TOKYO"
]
},
"certainty": {
"type": "string"
},
"date": {
"type": "string",
"format": "date"
},
"isBusinessDay": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"resultDate": {
"type": "string",
"format": "date"
}
},
"required": [
"calendar",
"certainty",
"date",
"isBusinessDay",
"reason",
"resultDate"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Business Days",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPget_config
Calculation Conventions
/v1/fx/config. Returns currency day-count conventions and calendars in currencies, and base currency,
quote currency, spot lag and point factor in pairs. A currency listed here has published
conventions; it does not follow that every product accepts it. JPY conventions are listed
while zero-rate and discount-factor still serve USD and KRW only.
currencies carries one row per currency, identified by currency. daycount is the
convention used to report rates from that currency's curve.
pointFactor converts a quote-currency change to swap points:
points = (outright - spot) * pointFactor. Convert points back to quote-currency units with
outright = spot + points / pointFactor. Both USDKRW and USDJPY currently use 100.
These are reference conventions; quote responses provide their applicable settlement dates.
Input schema
inputSchema JSON
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": true
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
currenciesobject[]RequiredNested fields
calendarstringRequiredUSD_NEWYORK | KRW_SEOUL | JPY_TOKYOcurrencystringRequiredJPY | KRW | USDdaycountstringRequiredActual-day convention used when reporting rates from this curve.
ACT/360 | ACT/365
pairsobject[]RequiredNested fields
basestringRequiredJPY | KRW | USDpairstringRequiredUSDKRW | USDJPY | JPYKRWpointFactornumberRequiredMultiplier from the quote-currency change to swap points: points = (outright - spot) * pointFactor. Convert points back by dividing by this value.
quotestringRequiredJPY | KRW | USDspotLagintegerRequired
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$defs": {
"Currency": {
"type": "string",
"enum": [
"JPY",
"KRW",
"USD"
]
}
},
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"currencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"calendar": {
"type": "string",
"enum": [
"USD_NEWYORK",
"KRW_SEOUL",
"JPY_TOKYO"
]
},
"currency": {
"$ref": "#/$defs/Currency"
},
"daycount": {
"type": "string",
"enum": [
"ACT/360",
"ACT/365"
],
"description": "Actual-day convention used when reporting rates from this curve."
}
},
"required": [
"calendar",
"currency",
"daycount"
]
}
},
"pairs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"base": {
"$ref": "#/$defs/Currency"
},
"pair": {
"type": "string",
"enum": [
"USDKRW",
"USDJPY",
"JPYKRW"
]
},
"pointFactor": {
"type": "number",
"description": "Multiplier from the quote-currency change to swap points: points = (outright - spot) * pointFactor. Convert points back by dividing by this value."
},
"quote": {
"$ref": "#/$defs/Currency"
},
"spotLag": {
"type": "integer"
}
},
"required": [
"base",
"pair",
"pointFactor",
"quote",
"spotLag"
]
}
}
},
"required": [
"currencies",
"pairs"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Calculation Conventions",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPget_currency_pairs
Supported Currency Pairs
/v1/fx/currency-pairs. Lists currencies and currency pairs published by the calculation conventions.
The plural list keys are currencies and pairs. Returns USDKRW and USDJPY in pairs,
with JPY, KRW and USD in currencies.
Spot and forward quote availability is described by each quote operation.
Currency and pair conventions are available from /v1/fx/config.
Input schema
inputSchema JSON
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": true
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
currenciesstring[]Requiredpairsstring[]Required
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"currencies": {
"type": "array",
"items": {
"type": "string",
"enum": [
"JPY",
"KRW",
"USD"
]
}
},
"pairs": {
"type": "array",
"items": {
"type": "string",
"enum": [
"USDKRW",
"USDJPY",
"JPYKRW"
]
}
}
},
"required": [
"currencies",
"pairs"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Supported Currency Pairs",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPget_discount_factor
Discount Factor
/v1/fx/discount-factor. Returns a discount factor and corresponding simple-interest zero rate for USD or KRW, for exactly one
of maturityDate or tenor. The deprecated date alias is accepted only without maturityDate.
A tenor resolves to a maturity date by that currency's convention; the response returns it as maturityDate.
Other currencies are unsupported and answer 4000, which is different from a supported currency with no value.
curveBaseDate is the curve's base date and may differ from the FX settlement date.
On the curve base date, the discount factor is 1.0 and zeroRate is null.
Missing data or dates outside the curve produce null values; there is no extrapolation.
referenceAt is the observation time of the curve inputs in timeZone (default UTC); calendar dates are unchanged.
Input schema
currencystringRequired통화. USD와 KRW
datestring / dateDeprecatedDeprecated alias for maturityDate. Do not supply both date names.
tenorstring만기.
maturityDate와 택일1D | SN | 1W | 2W | 3W | 1M | 2M | 3M | 4M | 5M | 6M | 7M | 8M | 9M | 10M | 11M | 1Y | 12MtimeZonestring | nullIANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.
Default:
UTCmaturityDatestring / dateMaturity calendar date. Use either maturityDate or tenor, not both.
inputSchema JSON
{
"type": "object",
"properties": {
"currency": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"description": "통화. USD와 KRW"
},
"date": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"format": "date",
"deprecated": true,
"description": "Deprecated alias for maturityDate. Do not supply both date names."
},
"tenor": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"enum": [
"1D",
"SN",
"1W",
"2W",
"3W",
"1M",
"2M",
"3M",
"4M",
"5M",
"6M",
"7M",
"8M",
"9M",
"10M",
"11M",
"1Y",
"12M"
],
"description": "만기. `maturityDate`와 택일"
},
"timeZone": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": [
"string",
"null"
],
"description": "IANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.",
"default": "UTC"
},
"maturityDate": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"format": "date",
"description": "Maturity calendar date. Use either maturityDate or tenor, not both."
}
},
"required": [
"currency"
],
"additionalProperties": true
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
currencystringRequiredJPY | KRW | USDcurveBaseDatestring | null / datedatestring | null / dateUse maturityDate.
daycountnull | stringNested fields
null{ "type": "null" }string{ "type": "string", "enum": [ "ACT/360", "ACT/365" ] }discountFactornumber | nullreferenceAtstring | null / date-timeObservation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.
tenornull | stringNested fields
null{ "type": "null" }string{ "type": "string", "enum": [ "1D", "SN", "1W", "2W", "3W", "1M", "2M", "3M", "4M", "5M", "6M", "7M", "8M", "9M", "10M", "11M", "1Y", "12M" ] }yearFractionnumber | nullzeroRatenumber | null
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"currency": {
"type": "string",
"enum": [
"JPY",
"KRW",
"USD"
]
},
"curveBaseDate": {
"type": [
"string",
"null"
],
"format": "date"
},
"date": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Use maturityDate."
},
"daycount": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"enum": [
"ACT/360",
"ACT/365"
]
}
]
},
"discountFactor": {
"type": [
"number",
"null"
]
},
"referenceAt": {
"type": [
"string",
"null"
],
"description": "Observation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.",
"format": "date-time"
},
"tenor": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"enum": [
"1D",
"SN",
"1W",
"2W",
"3W",
"1M",
"2M",
"3M",
"4M",
"5M",
"6M",
"7M",
"8M",
"9M",
"10M",
"11M",
"1Y",
"12M"
]
}
]
},
"yearFraction": {
"type": [
"number",
"null"
]
},
"zeroRate": {
"type": [
"number",
"null"
]
}
},
"required": [
"currency"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Discount Factor",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPget_spot
Spot Exchange Rate
/v1/fx/spot. Returns the spot bid and ask, settlement date and last trade for a currency pair. USDKRW is supported;
USDJPY is available when its spot service is enabled. Spot availability does not imply support for other calculations.
bid and ask are quotes in quote currency per USD 1. When a midpoint is needed, compute it from both sides.
Missing or expired quotes produce null bid and ask; decide price availability from these two fields.
referenceAt is the observation time of the spot source data, not a retrieval time, and is null when no
observation exists. It can be present without quotes. It uses ISO-8601 with milliseconds in timeZone
(UTC when omitted or null).
last and lastAt describe the last available trade, independently of quote expiry.
Pairs without a trade source, currently USDJPY, return null for both.
lastAt uses the same millisecond format and timeZone, but the trade clock has second resolution, so its
fractional part is always .000. Its date is inferred from the observation date
and may be inaccurate for trades retransmitted after a market closure.
A last trade does not necessarily represent a recent trade.
Input schema
pairstring통화쌍
Default:
USDKRWtimeZonestring | nullIANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.
Default:
UTC
inputSchema JSON
{
"type": "object",
"properties": {
"pair": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"description": "통화쌍",
"default": "USDKRW"
},
"timeZone": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": [
"string",
"null"
],
"description": "IANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.",
"default": "UTC"
}
},
"required": [],
"additionalProperties": true
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
asknumber | nullAsk in quote currency per USD 1; null when this side is not provided.
bidnumber | nullBid in quote currency per USD 1; null when this side is not provided.
lastnumber | nullLast traded price in quote currency per USD 1; null for pairs without a trade source and when no trade is available.
lastAtstring | null / date-timeEstimated time of the last trade in timeZone (default UTC), rendered with milliseconds; the trade clock has second resolution, so the fractional part is always .000. Null without a trade clock. Date is inferred from the observation and can be inaccurate after closures.
pairstringRequiredreferenceAtstring | null / date-timeObservation time of the spot source data in timeZone (default UTC), with milliseconds; null when no observation exists. It can be present without bid or ask, so use bid and ask to decide whether a price is available.
spotDatestring | null / date
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"ask": {
"type": [
"number",
"null"
],
"description": "Ask in quote currency per USD 1; null when this side is not provided."
},
"bid": {
"type": [
"number",
"null"
],
"description": "Bid in quote currency per USD 1; null when this side is not provided."
},
"last": {
"type": [
"number",
"null"
],
"description": "Last traded price in quote currency per USD 1; null for pairs without a trade source and when no trade is available."
},
"lastAt": {
"type": [
"string",
"null"
],
"description": "Estimated time of the last trade in timeZone (default UTC), rendered with milliseconds; the trade clock has second resolution, so the fractional part is always .000. Null without a trade clock. Date is inferred from the observation and can be inaccurate after closures.",
"format": "date-time"
},
"pair": {
"type": "string"
},
"referenceAt": {
"type": [
"string",
"null"
],
"description": "Observation time of the spot source data in timeZone (default UTC), with milliseconds; null when no observation exists. It can be present without bid or ask, so use bid and ask to decide whether a price is available.",
"format": "date-time"
},
"spotDate": {
"type": [
"string",
"null"
],
"format": "date"
}
},
"required": [
"pair"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Spot Exchange Rate",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPget_swap_point
Forward Swap Points
/v1/fx/swap-point. Returns two-way swap points for a swap from nearDate to farDate in quote currency per USD 1.
farDate must follow nearDate. Both legs are measured from the current spot settlement date, returned
as spotDate; a nearDate on spotDate is a spot-starting swap.
swapPoint.bid is the far-leg bid minus the near-leg ask and swapPoint.ask is the far-leg ask minus the
near-leg bid, so the spread includes both legs. Bid is rounded down and ask up to 2 decimal places.
days is the calendar-day count from nearMaturityDate to farMaturityDate.
swapPoint is null when a two-way price is unavailable, including a nearDate before spotDate or a date
outside the quoted curve; no midpoint replaces it and nothing is extrapolated.
referenceAt is the observation time in timeZone (UTC when omitted or null); calendar dates are unchanged.
Input schema
pairstring통화쌍
Default:
USDKRWnearDatestring / dateRequirednear leg 결제일
farDatestring / dateRequiredfar leg 결제일
timeZonestring | nullIANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.
Default:
UTC
inputSchema JSON
{
"type": "object",
"properties": {
"pair": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"description": "통화쌍",
"default": "USDKRW"
},
"nearDate": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"format": "date",
"description": "near leg 결제일"
},
"farDate": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"format": "date",
"description": "far leg 결제일"
},
"timeZone": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": [
"string",
"null"
],
"description": "IANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.",
"default": "UTC"
}
},
"required": [
"nearDate",
"farDate"
],
"additionalProperties": true
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
daysintegerRequiredCalendar days from nearMaturityDate to farMaturityDate.
farMaturityDatestring / dateRequiredFar-leg value date, as requested; unaffected by timeZone.
nearMaturityDatestring / dateRequiredNear-leg value date, as requested; unaffected by timeZone.
pairstringRequiredreferenceAtstring | null / date-timeObservation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.
spotDatestring | null / dateSpot settlement date of the observation; a nearDate before it has no price. Null without an observation.
swapPointobject | nullTwo-way swap points from nearMaturityDate to farMaturityDate; null when a two-way price is unavailable. Never one-sided or a midpoint.
Nested fields
asknumberRequiredFar-leg ask minus near-leg bid, in quote currency per USD 1, rounded up to 2 decimal places.
bidnumberRequiredFar-leg bid minus near-leg ask, in quote currency per USD 1, rounded down to 2 decimal places.
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"days": {
"type": "integer",
"description": "Calendar days from nearMaturityDate to farMaturityDate."
},
"farMaturityDate": {
"type": "string",
"format": "date",
"description": "Far-leg value date, as requested; unaffected by timeZone."
},
"nearMaturityDate": {
"type": "string",
"format": "date",
"description": "Near-leg value date, as requested; unaffected by timeZone."
},
"pair": {
"type": "string"
},
"referenceAt": {
"type": [
"string",
"null"
],
"description": "Observation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.",
"format": "date-time"
},
"spotDate": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Spot settlement date of the observation; a nearDate before it has no price. Null without an observation."
},
"swapPoint": {
"type": [
"object",
"null"
],
"properties": {
"ask": {
"type": "number",
"description": "Far-leg ask minus near-leg bid, in quote currency per USD 1, rounded up to 2 decimal places."
},
"bid": {
"type": "number",
"description": "Far-leg bid minus near-leg ask, in quote currency per USD 1, rounded down to 2 decimal places."
}
},
"required": [
"ask",
"bid"
],
"description": "Two-way swap points from nearMaturityDate to farMaturityDate; null when a two-way price is unavailable. Never one-sided or a midpoint."
}
},
"required": [
"days",
"farMaturityDate",
"nearMaturityDate",
"pair"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Forward Swap Points",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPget_tenors
Supported Tenors
/v1/fx/tenors. Lists the standard FX forward tenors supported for the requested currency pair in fxForward.
pair is required and supports the published pairs USDKRW and USDJPY. Unsupported pairs return 4000.
Overnight, tomorrow-next and spot-next are settlement anchors, so ON, TN and SN are not included here.
Input schema
pairstringRequired통화쌍
inputSchema JSON
{
"type": "object",
"properties": {
"pair": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"description": "통화쌍"
}
},
"required": [
"pair"
],
"additionalProperties": true
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
fxForwardstring[]Required
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"fxForward": {
"type": "array",
"items": {
"type": "string",
"enum": [
"1W",
"2W",
"3W",
"1M",
"2M",
"3M",
"4M",
"5M",
"6M",
"7M",
"8M",
"9M",
"10M",
"11M",
"1Y"
]
}
}
},
"required": [
"fxForward"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Supported Tenors",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPget_term_structure
Swap Point Term Structure
/v1/fx/term-structure. Returns swap points by tenor for the currency pair, measured from the current spot settlement date
returned as spotDate. Each point repeats that spotDate. Tenors without a quote are omitted.
bid and ask are in pips with the sign of the market quote: the quote-currency amount per USD 1
multiplied by the pair's pointFactor from GET /v1/fx/config. USDKRW and USDJPY use 100, so a bid of
-1781 is -17.81 KRW per USD 1. Negative and zero values are valid. They are null when a two-way quote is
unavailable; no midpoint replaces them.
Before the market quotes ON and TN for the day, those two rows are estimated from the swap curve and marked
interpolated: true; when they cannot be estimated, their values are null. No tenor is extrapolated.
For ON and TN, days counts settlement business days from spotDate back to the near-leg date, usually -2
and -1; for other tenors it is the calendar days from spotDate to maturityDate.
With no available quotes, points is empty and referenceAt is null.
referenceDate is the UTC date of the source observation, independent of timeZone.
Timestamps use timeZone (default UTC); calendar dates are unchanged.
Input schema
pairstring통화쌍
Default:
USDKRWtimeZonestring | nullIANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.
Default:
UTC
inputSchema JSON
{
"type": "object",
"properties": {
"pair": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"description": "통화쌍",
"default": "USDKRW"
},
"timeZone": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": [
"string",
"null"
],
"description": "IANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.",
"default": "UTC"
}
},
"required": [],
"additionalProperties": true
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | nullpayload. 실패 응답에서는 항상
null이다.Nested fields
pairstringRequiredpointsobject[]RequiredNested fields
asknumber | nullAsk in pips: the quote-currency amount per USD 1 multiplied by the pair's pointFactor (see GET /v1/fx/config); USDKRW and USDJPY use 100, so -1279 is -12.79 KRW. Null when not provided.
bidnumber | nullBid in pips: the quote-currency amount per USD 1 multiplied by the pair's pointFactor (see GET /v1/fx/config); USDKRW and USDJPY use 100, so -1781 is -17.81 KRW. Null when not provided.
daysinteger | nullFor ON and TN, settlement business days from spotDate back to the near-leg date, usually -2 and -1, but fewer when a holiday falls in between. For other tenors, calendar days from spotDate to maturityDate.
interpolatedbooleanRequiredTrue when the value is estimated from the curve because the market has not quoted this tenor yet. Only ON and TN can be estimated; nothing is extrapolated.
maturityDatestring | null / dateMaturity (far-leg value) date; unaffected by timeZone.
spotDatestring | null / dateSpot settlement date the point is measured from; the same value as the response's spotDate. Null without an observation.
tenorstringRequired
referenceAtstring | null / date-timeObservation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.
referenceDatestring | null / datespotDatestring | null / dateSpot settlement date the points are measured from (business-day T+2 convention from the observation date); null without an observation.
messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"type": [
"object",
"null"
],
"properties": {
"pair": {
"type": "string"
},
"points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ask": {
"type": [
"number",
"null"
],
"description": "Ask in pips: the quote-currency amount per USD 1 multiplied by the pair's pointFactor (see GET /v1/fx/config); USDKRW and USDJPY use 100, so -1279 is -12.79 KRW. Null when not provided."
},
"bid": {
"type": [
"number",
"null"
],
"description": "Bid in pips: the quote-currency amount per USD 1 multiplied by the pair's pointFactor (see GET /v1/fx/config); USDKRW and USDJPY use 100, so -1781 is -17.81 KRW. Null when not provided."
},
"days": {
"type": [
"integer",
"null"
],
"description": "For ON and TN, settlement business days from spotDate back to the near-leg date, usually -2 and -1, but fewer when a holiday falls in between. For other tenors, calendar days from spotDate to maturityDate."
},
"interpolated": {
"type": "boolean",
"description": "True when the value is estimated from the curve because the market has not quoted this tenor yet. Only ON and TN can be estimated; nothing is extrapolated."
},
"maturityDate": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Maturity (far-leg value) date; unaffected by timeZone."
},
"spotDate": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Spot settlement date the point is measured from; the same value as the response's spotDate. Null without an observation."
},
"tenor": {
"type": "string"
}
},
"required": [
"interpolated",
"tenor"
]
}
},
"referenceAt": {
"type": [
"string",
"null"
],
"description": "Observation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.",
"format": "date-time"
},
"referenceDate": {
"type": [
"string",
"null"
],
"format": "date"
},
"spotDate": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Spot settlement date the points are measured from (business-day T+2 convention from the observation date); null without an observation."
}
},
"required": [
"pair",
"points"
],
"description": "payload. 실패 응답에서는 항상 `null`이다."
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Swap Point Term Structure",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}MCPget_zero_rate
Zero Rate
/v1/fx/zero-rate. Returns a zero rate for USD or KRW, for exactly one of maturityDate or tenor. The deprecated date alias is accepted only without maturityDate.
A tenor resolves to a maturity date by that currency's convention; the response returns it as maturityDate.
Other currencies are unsupported and answer 4000, which is different from a supported currency with no value.
The rate is derived from the discount factor using simple interest: DF = 1 / (1 + r * yf).
curveBaseDate is the curve's base date and may differ from the FX settlement date.
On the curve base date, zeroRate is null because the period is zero.
Missing data or dates outside the curve produce null values; there is no extrapolation.
referenceAt is the observation time of the curve inputs in timeZone (default UTC); calendar dates are unchanged.
Input schema
currencystringRequired통화. USD와 KRW
datestring / dateDeprecatedDeprecated alias for maturityDate. Do not supply both date names.
tenorstring만기.
maturityDate와 택일1D | SN | 1W | 2W | 3W | 1M | 2M | 3M | 4M | 5M | 6M | 7M | 8M | 9M | 10M | 11M | 1Y | 12MtimeZonestring | nullIANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.
Default:
UTCmaturityDatestring / dateMaturity calendar date. Use either maturityDate or tenor, not both.
inputSchema JSON
{
"type": "object",
"properties": {
"currency": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"description": "통화. USD와 KRW"
},
"date": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"format": "date",
"deprecated": true,
"description": "Deprecated alias for maturityDate. Do not supply both date names."
},
"tenor": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"enum": [
"1D",
"SN",
"1W",
"2W",
"3W",
"1M",
"2M",
"3M",
"4M",
"5M",
"6M",
"7M",
"8M",
"9M",
"10M",
"11M",
"1Y",
"12M"
],
"description": "만기. `maturityDate`와 택일"
},
"timeZone": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": [
"string",
"null"
],
"description": "IANA area/location time zone for response timestamps, for example Asia/Seoul. Omitted or null means UTC. Calendar dates and prices are unchanged.",
"default": "UTC"
},
"maturityDate": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "string",
"format": "date",
"description": "Maturity calendar date. Use either maturityDate or tenor, not both."
}
},
"required": [
"currency"
],
"additionalProperties": true
}Result
codeintegerRequired성공은
0. 실패는 에러 번호(4000·4220·5000).dataobject | null | objectNested fields
object | nullcurrencystringRequiredJPY | KRW | USDcurveBaseDatestring | null / datedatestring | null / dateUse maturityDate.
daycountnull | stringNested fields
null{ "type": "null" }string{ "type": "string", "enum": [ "ACT/360", "ACT/365" ] }referenceAtstring | null / date-timeObservation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.
tenornull | stringNested fields
null{ "type": "null" }string{ "type": "string", "enum": [ "1D", "SN", "1W", "2W", "3W", "1M", "2M", "3M", "4M", "5M", "6M", "7M", "8M", "9M", "10M", "11M", "1Y", "12M" ] }yearFractionnumber | nullzeroRatenumber | null
object{ "description": "payload. 실패 응답에서는 항상 `null`이다." }messagestringRequired성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지.
metaobject | objectRequiredNested fields
objectclientRequestIdstring | nullRequiredClient correlation value received in X-Request-ID; null when absent.
requestAtstringRequiredUTC time when the server received the request.
requestIdstringRequiredServer-generated UUID for response and log correlation.
responseAtstringRequiredUTC time when the response envelope was created.
object{ "description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터." }
outputSchema JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "성공은 `0`. 실패는 에러 번호(`4000`·`4220`·`5000`)."
},
"data": {
"allOf": [
{
"type": [
"object",
"null"
],
"properties": {
"currency": {
"type": "string",
"enum": [
"JPY",
"KRW",
"USD"
]
},
"curveBaseDate": {
"type": [
"string",
"null"
],
"format": "date"
},
"date": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Use maturityDate."
},
"daycount": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"enum": [
"ACT/360",
"ACT/365"
]
}
]
},
"referenceAt": {
"type": [
"string",
"null"
],
"description": "Observation time of the source values in timeZone (default UTC), with milliseconds; null when no observation backs the response.",
"format": "date-time"
},
"tenor": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"enum": [
"1D",
"SN",
"1W",
"2W",
"3W",
"1M",
"2M",
"3M",
"4M",
"5M",
"6M",
"7M",
"8M",
"9M",
"10M",
"11M",
"1Y",
"12M"
]
}
]
},
"yearFraction": {
"type": [
"number",
"null"
]
},
"zeroRate": {
"type": [
"number",
"null"
]
}
},
"required": [
"currency"
],
"description": "지정 통화·날짜의 zero rate. 커브 범위 밖이면 `zeroRate`가 `null`이다."
},
{
"description": "payload. 실패 응답에서는 항상 `null`이다."
}
]
},
"message": {
"type": "string",
"description": "성공은 빈 문자열. 실패는 유저에게 노출해도 되는 메시지."
},
"meta": {
"allOf": [
{
"type": "object",
"properties": {
"clientRequestId": {
"type": [
"string",
"null"
],
"description": "Client correlation value received in X-Request-ID; null when absent."
},
"requestAt": {
"type": "string",
"description": "UTC time when the server received the request."
},
"requestId": {
"type": "string",
"description": "Server-generated UUID for response and log correlation."
},
"responseAt": {
"type": "string",
"description": "UTC time when the response envelope was created."
}
},
"required": [
"clientRequestId",
"requestAt",
"requestId",
"responseAt"
],
"description": "Request-response metadata shared by REST and MCP results."
},
{
"description": "REST와 MCP가 공유하는 요청·응답 처리 메타데이터."
}
]
}
},
"required": [
"code",
"message",
"meta"
],
"description": "\n SNAP 응답 래퍼. 성공은 `code: 0` · `message: \"\"`이고 payload는 `data`에 담긴다.\n 프런트엔드는 `code`로 분기한다.\n\n **\"데이터 없음\"은 실패가 아니다.** 요청이 유효한데 스냅샷이 아직 안 들어왔거나 요청한\n 만기가 커브 범위 밖이면 `code: 0`으로 응답하고 `data` 안쪽 필드를 `null`로 둔다.\n "
}Tool annotations
{
"title": "Zero Rate",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}Call results and errors
tools/call returns content in result.content. Treat isError: true as a failed call. Valid requests can return code 0 with null fields when market data is unavailable. Do not turn null into zero. structuredContent and content JSON follow the REST response envelope and its meta contract. The X-Request-ID sent with tools/call returns as meta.clientRequestId and differs from the server UUID in meta.requestId.