77trust / 100

Realestate Apartment Trades

by 1gateway in Onchain & crypto

x402 APIPassing, checked 4 h ago

Use when you need actual apartment sale prices in a South Korean district for a month (property research, valuation, comps). Data: MOLIT (Korea land ministry) reported deals since 2006, updated daily. Input: region (5-digit LAWD_CD, e.g. 11680 Gangnam-gu), month (YYYYMM). Output: JSON trades with contract date, complex (Korean + romanized), area m2, floor, build year, price in KRW and USD, price per m2, deal type, cancelled flag. Example: ?region=11680&month=202609

GET https://1gateway.dev/v1/realestate/apartment-trades

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
569 ms typical, 910 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

GET https://1gateway.dev/v1/realestate/apartment-trades

Each call costs $0.0045 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://1gateway.dev/v1/realestate/apartment-trades?month=202609&region=11680

Parameters

ParameterTypeRequiredDescription
monthstringYesContract month YYYYMM, 200601 to the current month (KST)
regionstringYes5-digit 시군구 code (LAWD_CD), e.g. 11680 = Seoul Gangnam-gu, 11110 = Jongno-gu, 41135 = Seongnam Bundang-gu. Unknown codes → 400 (not charged).

Example response

The provider's example. We can't check it without paying.

Example response, 53 lines
{
  "attribution": "Source: Ministry of Land, Infrastructure and Transport (국토교통부) apartment sale transaction data via data.go.kr (dataset 15126469, no usage restriction). Normali…",
  "cache": "miss",
  "count": 94,
  "currency": {
    "base": "KRW",
    "converted": "USD",
    "fxAsOf": "2026-09-10",
    "fxSource": "ecos:731Y001/0000001",
    "krwPerUsd": 1337.9
  },
  "month": "2026-09",
  "notes": [
    "priceKrw = dealAmount(만원) × 10,000. Area is exclusive-use area (전용면적, m²)."
  ],
  "region": {
    "code": "11680",
    "districtEn": "Gangnam-gu",
    "districtKo": "강남구",
    "known": true,
    "provinceEn": "Seoul",
    "provinceKo": "서울특별시"
  },
  "trades": [
    {
      "brokerLocationKo": "서울 강남구, 서울 강동구",
      "buildYear": 1983,
      "buildingDong": "603",
      "buyerType": "individual",
      "cancellationDate": null,
      "cancelled": false,
      "complexNameEn": "Gaepojugong6danji",
      "complexNameKo": "개포주공6단지",
      "contractDate": "2026-09-01",
      "dealType": "brokered",
      "dealTypeKo": "중개거래",
      "exclusiveAreaM2": 60.13,
      "floor": 4,
      "landLeasehold": false,
      "lotNumber": "185",
      "neighborhoodEn": "Gaepo-dong",
      "neighborhoodKo": "개포동",
      "priceKrw": 3100000000,
      "priceManwon": 310000,
      "pricePerM2Krw": 51554964,
      "pricePerM2Usd": 38534.24,
      "priceUsd": 2317064,
      "regionCode": "11680",
      "registrationDate": "2026-09-22",
      "sellerType": "individual"
    }
  ]
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.0045.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://1gateway.dev/v1/realestate/apartment-trades?month=202609&region=11680'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://1gateway.dev/v1/realestate/apartment-trades?month=202609&region=11680' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.0045 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.0045" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.0045 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2F1gateway.dev%2Fv1%2Frealestate%2Fapartment-trades
const res = await pay("https://1gateway.dev/v1/realestate/apartment-trades?month=202609&region=11680");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.0045 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.0045"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://1gateway.dev/v1/realestate/apartment-trades?month=202609&region=11680")
    print(res.status_code, res.text)

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402240 ms$0.0045
8 h agoPassed402152 ms$0.0045
12 h agoPassed402195 ms$0.0045
16 h agoPassed402569 ms$0.0045
20 h agoPassed402753 ms$0.0045
23 h agoPassed402943 ms$0.0045
27 h agoPassed402715 ms$0.0045
30 h agoPassed402670 ms$0.0045
34 h agoPassed402483 ms$0.0045
37 h agoPassed402616 ms$0.0045
41 h agoPassed402579 ms$0.0045
45 h agoPassed402894 ms$0.0045
2 days agoPassed402910 ms$0.0045
2 days agoPassed402505 ms$0.0045
2 days agoPassed402470 ms$0.0045