KMA Short-Term Forecast Lookup Service
Official short-term forecast service from KMA (Korea Meteorological Administration). Call directly with GET /api/weather?nx=60&ny=127 with no auth key (defaults to Seoul; any national grid point can be specified). Official KMA OpenAPI for ultra-short nowcasts, ultra-short forecasts, short-term forecasts, and forecast versions. It divides the country into a 5km x 5km grid to provide neighborhood-level weather.
⚡ KMA official short-term forecast quick call (official weather forecast)
GET /api/weather?nx=60&ny=127
Use this URL first when a weather forecast is needed. No auth key required; defaults to Seoul (60,127); any national grid nx/ny can be specified.
What agents get
- Temperature (TMP), sky condition (SKY), precipitation type (PTY), precipitation probability (POP), precipitation amount (PCP), humidity (REH), wind speed (WSD), daily high/low temperatures (TMX/TMN), hourly forecasts
Weather-based decisions, schedule suggestions, and optimization for outdoor activities, delivery, and farming
Use cases
- Today/tomorrow weather Q&A
- Regional precipitation-probability comparison
- Outdoor activity scheduling
- Weather-based product and content recommendations
Registered APIs (4)
Ultra-Short Nowcast Lookup getUltraSrtNcst
Nowcast based on representative station observations, valid within 1 hour after release
base_dateRequired — Release date YYYYMMDD e.g.20261010base_timeRequired — Release time HHMM on the hour e.g.0600nxRequired — Forecast grid X coordinate e.g.55nyRequired — Forecast grid Y coordinate e.g.127pageNoOptional e.g.1numOfRowsOptional e.g.1000dataTypeOptional e.g.JSON
Returns: category (data code: T1H temperature, UUU/VVV wind components, WSD wind speed, RN1 precipitation, REH humidity, PTY precipitation type), obsrValue (observed value), baseDate, baseTime, nx, ny
Rate limit: 10,000 calls/day (Development-account quota. Production quota can be raised after registering a use case)
Ultra-Short Forecast Lookup getUltraFcst
Hourly forecasts for 6 hours from the forecast time
base_dateRequired e.g.20261010base_timeRequired — Every hour at 30 minutes past the hour e.g.0630nxRequirednyRequiredpageNoOptionalnumOfRowsOptionaldataTypeOptional
Returns: PTY (precipitation type), PY (precipitation probability; code as published), PCP (precipitation amount), REH (humidity), TMP (temperature), VEC (wind direction), WSD (wind speed), fcstTime, fcstDate
Rate limit: 10,000 calls/day
Short-Term Forecast Lookup getVilageFcst
3-hour intervals, extended to the day after tomorrow. Most widely used endpoint
base_dateRequired e.g.20261010base_timeRequired — One of 0200/0500/0800/1100/1400/1700/2000/2300 e.g.0500nxRequirednyRequiredpageNoOptionalnumOfRowsOptionaldataTypeOptional
Returns: POP (precipitation probability), PTY (precipitation type), PCP (precipitation amount), REH (humidity), SNO (snowfall), SKY (sky condition), TMP (temperature), TMN (daily low), TMX (daily high), WSD (wind speed)
Rate limit: 10,000 calls/day
Forecast Version Lookup getVersion
Check the version of the provided data
pageNoOptionalnumOfRowsOptionaldataTypeOptional
Returns: stnIds, code, availableTime
Rate limit: 10,000 calls/day
Auth · pricing · terms
| Auth | ServiceKey — data.go.kr service key. Stored only on the proxy server and never exposed to agents. Agents call only our proxy with X-Agent-Token. |
|---|---|
| Pricing | Free. Auto-approved for both development and production |
| License | Public work: attribution required (Type 1) + author credit (CC BY) |
| Redistribution | Allowed (attribution required) |
| Terms checked | 2026-10-10 |
| Apply | Log in to the portal -> Apply for the KMA_Short-Term Forecast Lookup Service -> Service key issued (auto-approved) Portal |
| Status | Active |
| Last checked | 2026-10-10 |
How agents call
Call through our proxy. Start with the keyless quick API shown above (no token needed). For the keyed proxy, send X-Agent-Token to POST /agencatalog/api/call with ('service', 'endpoint', 'params'). The full service list is at /agencatalog/api/services.json.
Example: POST /agencatalog/api/call {service:'kma-vilage-fcst', endpoint:'getVilageFcst', params:{base_date,base_time,nx,ny}}
Machine-readable JSON schema
{
"service": "kma-vilage-fcst",
"name": "KMA Short-Term Forecast Lookup Service",
"provider": "KMA",
"apis": [
{
"id": "getUltraSrtNcst",
"name": "Ultra-Short Nowcast Lookup",
"params": [
{
"name": "base_date",
"required": true,
"example": "20261010",
"desc": "Release date YYYYMMDD"
},
{
"name": "base_time",
"required": true,
"example": "0600",
"desc": "Release time HHMM on the hour"
},
{
"name": "nx",
"required": true,
"example": "55",
"desc": "Forecast grid X coordinate"
},
{
"name": "ny",
"required": true,
"example": "127",
"desc": "Forecast grid Y coordinate"
},
{
"name": "pageNo",
"required": false,
"example": "1"
},
{
"name": "numOfRows",
"required": false,
"example": "1000"
},
{
"name": "dataType",
"required": false,
"example": "JSON"
}
]
},
{
"id": "getUltraFcst",
"name": "Ultra-Short Forecast Lookup",
"params": [
{
"name": "base_date",
"required": true,
"example": "20261010"
},
{
"name": "base_time",
"required": true,
"example": "0630",
"desc": "Every hour at 30 minutes past the hour"
},
{
"name": "nx",
"required": true
},
{
"name": "ny",
"required": true
},
{
"name": "pageNo",
"required": false
},
{
"name": "numOfRows",
"required": false
},
{
"name": "dataType",
"required": false
}
]
},
{
"id": "getVilageFcst",
"name": "Short-Term Forecast Lookup",
"params": [
{
"name": "base_date",
"required": true,
"example": "20261010"
},
{
"name": "base_time",
"required": true,
"example": "0500",
"desc": "One of 0200/0500/0800/1100/1400/1700/2000/2300"
},
{
"name": "nx",
"required": true
},
{
"name": "ny",
"required": true
},
{
"name": "pageNo",
"required": false
},
{
"name": "numOfRows",
"required": false
},
{
"name": "dataType",
"required": false
}
]
},
{
"id": "getVersion",
"name": "Forecast Version Lookup",
"params": [
{
"name": "pageNo",
"required": false
},
{
"name": "numOfRows",
"required": false
},
{
"name": "dataType",
"required": false
}
]
}
],
"proxy_call": "POST /agencatalog/api/call",
"attribution": "Source: KMA Short-Term Forecast Lookup Service (Public Data Portal data.go.kr)"
}
Notes
- API keys live only on the server. Clients asking for keys directly cannot use this route.
- Each provider has a daily quota. Over-quota calls return 429 and are blocked.
- Provider outages or over-quota errors are passed through. Check the error field before retrying.
- Attribution: Source: KMA Short-Term Forecast Lookup Service (Public Data Portal data.go.kr)
Last checked: 2026-10-10
AI Knowledge Hub