{
  "serviceId": "kr-apt-trades-v1",
  "displayName": "KR Apartment Trades",
  "description": "What apartments in a Korean district actually sold for, from MOLIT's real-transaction register: each reported sale with price in KRW, area, floor and cancellation flag, monthly medians and quartiles, trends, and one complex across months. GET /v1/trades, /v1/trend, /v1/complex, or POST /v1/query in Korean or English. Pay per request in USDC; no API key.",
  "category": "finance",
  "resourceUrl": "https://agent.pocket.network/v1/kr-apt-trades-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 the same fields as query parameters: /v1/trades takes region (required), month, apt and limit (default 50); /v1/trend takes region (required), months (default 6, at most 24) and apt; /v1/complex takes region and apt (both required) and months (default 12); /v1/regions takes none.",
    "properties": {
      "question": {
        "type": "string",
        "description": "A question in Korean or English, e.g. 강남구 아파트 매매 시세 추이."
      },
      "region": {
        "type": "string",
        "description": "A district as its 5-digit LAWD_CD (11680), Korean name (강남구) or English alias (gangnam)."
      },
      "month": {
        "type": "string",
        "pattern": "^\\d{6}$",
        "description": "YYYYMM month."
      },
      "apt": {
        "type": "string",
        "description": "Apartment complex name, in Korean."
      },
      "months": {
        "type": "integer",
        "description": "How many months of history to return."
      }
    }
  },
  "outputSchema": {
    "type": "object",
    "description": "A JSON object tagged with its own `schema` (kr-apt-trades/v1, kr-apt-trend/v1, kr-apt-complex/v1, kr-apt-regions/v1, kr-apt-answer/v1). Prices are KRW; statistics exclude cancelled trades, and a month still inside the 30-day reporting window is marked REPORTING_WINDOW_OPEN and can grow."
  },
  "methods": {
    "GET /v1/complex": "read",
    "GET /v1/health": "read",
    "GET /v1/regions": "read",
    "GET /v1/trades": "read",
    "GET /v1/trend": "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-apt-trades-v1",
  "descriptor": "https://agent.pocket.network/services/kr-apt-trades-v1/descriptor.json"
}