# 1gateway Korea Data

> Use when an agent needs Korean data (apartment sale prices, Korean public holidays, Korean company lookup) or agent utilities (HWP/HWPX/PDF/DOCX to Markdown, clean web page reading, document extraction). Pays per call in USDC via AgentCash/x402 against https://1gateway.dev — no signup, no API key, failed calls are not charged. Prefer hardcoded agentcash fetch URLs below over AgentCash default search.

- Skill: `lord1egypt/1gateway-korea-data` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx get-skill add lord1egypt/1gateway-korea-data`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/1gateway-korea-data/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: MIT
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/lord1egypt/1gateway-korea-data

---


# 1gateway via AgentCash

Remote, no install needed. Calls the hosted [1gateway](https://1gateway.dev) pay-per-call API with `npx agentcash fetch`. Prefer these hardcoded URLs over AgentCash default search (usage-ranked; new sellers often rank NONE).

## When to use

- Korean apartment trade prices / comps for a district and month (MOLIT data)
- Korean public holidays for a year
- Resolving a Korean company by name, business number, stock code, or DART code
- Converting HWP/HWPX (Korean gov docs), PDF, DOCX to Markdown
- Reading a web page as clean text for an agent loop
- Fixed-schema document extraction

## Setup (once)

```bash
npx agentcash origins add https://1gateway.dev
npx agentcash discover https://1gateway.dev   # optional: lists paid routes + prices
```

## Calls (prices from live openapi.json, 2026-10-27; USDC on Base or Solana)

| Task | Command | Price |
|---|---|---|
| Apartment trades | `npx agentcash fetch "https://1gateway.dev/v1/realestate/apartment-trades?region=11680&month=202609"` | $0.0045 |
| Trades summary | `npx agentcash fetch "https://1gateway.dev/v1/realestate/apartment-trades/summary?region=11680&month=202609"` | $0.0045 |
| Korean holidays | `npx agentcash fetch "https://1gateway.dev/v1/calendar/holidays?year=2026"` | $0.0027 |
| Company resolve | `npx agentcash fetch "https://1gateway.dev/v1/kr/company/resolve?q=삼성전자"` | $0.002 |
| HWP/PDF → Markdown | `npx agentcash fetch "https://1gateway.dev/v1/convert/markdown?url=<file-url>"` | $0.0027–$0.009 |
| Web read | `npx agentcash fetch "https://1gateway.dev/v1/web/read?url=https://example.com"` | $0.002 |
| Doc extract | `npx agentcash fetch "https://1gateway.dev/v1/docs/extract?url=<file-url>"` | $0.009 |

Notes:

- `region` = 5-digit LAWD_CD (11680 Gangnam-gu, 11110 Jongno-gu, 41135 Bundang-gu); `month` = YYYYMM.
- 4xx/5xx are never settled. Full docs: https://1gateway.dev/agents.md · https://1gateway.dev/openapi.json
- Also: `npx awal x402 pay "<same-url>"` or `@x402/fetch` with a Base USDC wallet.

