{
  "serviceId": "kr-rates-fx-v1",
  "displayName": "Korean Rates and FX",
  "description": "Official Korean interest rates and won exchange rates: Bank of Korea base, call, KOFR, CD, CP and the KTB curve 1y-50y (ECOS); KRW deal basis, TTB and TTS (Export-Import Bank of Korea); weekly customs FX; indicative conversion. Each value is dated and sourced, no forecasts. GET /v1/rates, /v1/rate, /v1/fx, /v1/convert, /v1/customs-fx or POST /v1/query.",
  "category": "finance",
  "resourceUrl": "https://agent.pocket.network/v1/kr-rates-fx-v1",
  "priceUsd": "0.005000",
  "priceVersion": 1,
  "rails": [
    {
      "id": "base",
      "network": "eip155:8453",
      "chainId": 8453,
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tokenDecimals": 6,
      "payToAddress": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
    }
  ],
  "paymentNetworks": [
    "eip155:8453",
    "eip155:4217"
  ],
  "paymentProtocols": [
    "x402",
    "mpp"
  ],
  "protocols": [
    "rest"
  ],
  "inputSchema": {
    "type": "object",
    "description": "The body of POST /v1/query. The GET routes take query parameters, each with an optional date (KST, default today): /v1/rates takes none else; /v1/rate takes series (required, e.g. ktb3y, base, kofr) and days (default 30); /v1/fx takes ccy (comma-separated ISO codes, default USD); /v1/convert takes amount (required), from (default USD) and to (default KRW); /v1/customs-fx takes ccy and kind (import or export).",
    "properties": {
      "question": {
        "type": "string",
        "description": "A question in Korean or English, e.g. 국고채 3년 금리."
      },
      "date": {
        "type": "string",
        "description": "As-of date (KST), YYYY-MM-DD; default today."
      }
    }
  },
  "outputSchema": {
    "type": "object",
    "description": "A JSON object tagged with its own `schema` (kr-rates/v1, kr-rate-history/v1, kr-fx/v1, kr-convert/v1, kr-customs-fx/v1, kr-rates-fx-answer/v1). Every value carries its observation date and source; missing days are listed, never filled. Rates are % per year, FX is KRW per unit."
  },
  "methods": {
    "GET /v1/convert": "read",
    "GET /v1/customs-fx": "read",
    "GET /v1/fx": "read",
    "GET /v1/health": "read",
    "GET /v1/rate": "read",
    "GET /v1/rates": "read",
    "GET /v1/version": "read",
    "POST /v1/query": "read"
  },
  "firstParty": true,
  "networks": [
    "eip155:8453",
    "eip155:4217"
  ],
  "serving": true,
  "page": "https://agent.pocket.network/services/kr-rates-fx-v1",
  "descriptor": "https://agent.pocket.network/services/kr-rates-fx-v1/descriptor.json"
}