
Seoul Subway Arrival
- 3.7k installs
- 6.5k repo stars
- Updated July 27, 2026
- nomadamas/k-skill
When subway arrival information is requested for a Seoul station, retrieve current train schedules including line, direction, next two arrivals, and timestamp
About
This skill queries Seoul's official Open Data API to retrieve real-time subway arrival information by station. It summarizes scheduled train arrivals with line numbers, directions, and estimated times in seconds. The skill uses a hosted proxy endpoint that securely manages upstream API credentials server-side, eliminating the need for users to manage keys directly. Supports custom proxy configuration via environment variable. Ideal for travelers needing current transit timing and crowding insights across Seoul's subway network.
- Real-time Seoul subway arrival data via official API
- Server-side credential management through k-skill-proxy
- Configurable proxy with fallback to hosted default
- Outputs line, direction, and arrival times in seconds
- Conservative live data handling with query timestamps
Seoul Subway Arrival by the numbers
- 3,681 all-time installs (skills.sh)
- +129 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #145 of 3,301 Productivity & Planning skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
seoul-subway-arrival capabilities & compatibility
- Capabilities
- query real time arrival by station name · parse and summarize line/direction metadata · resolve proxy urls from environment config · extract arrival times in seconds · enforce server side credential handling
- Use cases
- web search · data analysis · orchestration
What seoul-subway-arrival says it does
Look up Seoul real-time subway arrival information with the official Seoul Open Data API. Use when the user asks when a train arrives
proxy는 서울 실시간 지하철 API key를 서버에서 주입하고, 역명 기준 실시간 도착정보만 공개 read-only endpoint로 노출한다
실시간 데이터는 몇 초 단위로 바뀔 수 있으므로, 답변에는 조회 시점을 같이 적는다
npx skills add https://github.com/nomadamas/k-skill --skill seoul-subway-arrivalAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 3.7k |
|---|---|
| repo stars | ★ 6.5k |
| Security audit | 2 / 3 scanners passed |
| Last updated | July 27, 2026 |
| Repository | nomadamas/k-skill ↗ |
What it does
Query real-time Seoul subway arrival times and train crowding data via official Open Data API
Who is it for?
Developers building Seoul transit apps, CLI tools, or agent integrations needing live arrival data
Skip if: Historical transit analysis, fare calculation, route optimization, or non-Seoul transit systems
When should I use this skill?
User asks about current train arrivals, which trains approach a station, or crowding timing at Seoul stations
What you get
User receives summarized real-time train arrival data with line/direction for requested station and query timestamp
- Summarized arrival info: line number, direction, next two trains
- Estimated arrival times in seconds
- Query timestamp for data freshness context
By the numbers
- Seoul Open Data API: daily call limits may apply
- Live data refresh: every few seconds
- Response fields: line, direction, two arrival messages, optional seconds
Files
Seoul Subway Arrival
What this skill does
서울 열린데이터 광장의 실시간 지하철 도착정보 Open API를 k-skill-proxy 경유로 조회해 역 기준 도착 예정 열차 정보를 요약한다.
When to use
- "강남역 지금 몇 분 뒤 도착해?"
- "서울역 1호선 도착 정보 보여줘"
- "잠실역 곧 들어오는 열차 정리해줘"
Prerequisites
- optional:
jq - optional:
KSKILL_PROXY_BASE_URL(self-host·별도 프록시를 쓸 때만 설정. 비우면 기본 hostedhttps://k-skill-proxy.nomadamas.org를 사용한다.)
Required environment variables
- 없음.
KSKILL_PROXY_BASE_URL은 선택 사항이며, 비우면 기본 hostedhttps://k-skill-proxy.nomadamas.org를 사용한다.
사용자가 개인 서울 열린데이터 광장 OpenAPI key를 직접 발급할 필요는 없다. /v1/seoul-subway/arrival route는 기본 hosted proxy에서 호출하고, upstream key는 proxy 서버 쪽에만 보관한다. 별도 proxy를 쓰는 경우에만 KSKILL_PROXY_BASE_URL 을 설정한다.
Proxy resolution order
1. `KSKILL_PROXY_BASE_URL` 이 있으면 그 값을 사용한다. 2. 없거나 빈 값이면 기본 hosted proxy https://k-skill-proxy.nomadamas.org 를 사용한다. 3. 직접 proxy를 운영하는 경우에만 proxy 서버 upstream key를 서버 쪽에만 설정한다.
클라이언트/사용자 쪽에서 upstream key를 직접 다루지 않는다.
Inputs
- 역명
- 선택 사항: 가져올 건수
Workflow
1. Resolve the proxy base URL
KSKILL_PROXY_BASE_URL 이 있으면 그 값을 사용하고, 없거나 비어 있으면 기본 hosted proxy https://k-skill-proxy.nomadamas.org 를 사용한다.
2. Query the official station arrival endpoint
proxy는 서울 실시간 지하철 API key를 서버에서 주입하고, 역명 기준 실시간 도착정보만 공개 read-only endpoint로 노출한다.
BASE="${KSKILL_PROXY_BASE_URL:-https://k-skill-proxy.nomadamas.org}"
curl -fsS --get "${BASE}/v1/seoul-subway/arrival" \
--data-urlencode 'stationName=강남'필요하면 startIndex, endIndex 로 응답 범위를 조정할 수 있다.
3. Summarize the response
가능하면 아래 항목만 먼저 요약한다.
- 호선
- 상/하행 또는 외/내선
- 첫 번째 도착 메시지
- 두 번째 도착 메시지
- 도착 예정 시간(있으면 초 단위)
4. Be conservative about live data
실시간 데이터는 몇 초 단위로 바뀔 수 있으므로, 답변에는 조회 시점을 같이 적는다.
Done when
- 요청 역의 도착 예정 열차가 정리되어 있다
- live data 기준 시점이 명시되어 있다
- upstream key가 클라이언트에 노출되지 않았다
Failure modes
- proxy upstream key 미설정
- quota 초과
- 역명 표기 불일치
Notes
- 서울 열린데이터 광장 가이드는 실시간 지하철 Open API에 일일 호출 제한이 있을 수 있다고 안내한다
- proxy 운영/환경변수 설정은
docs/features/k-skill-proxy.md를 참고한다 - endpoint path는 API 버전 변경 가능성이 있으므로 실패 시 dataset console의 최신 샘플 URL을 다시 확인한다
Related skills
How it compares
Unlike generic transit APIs, this skill automates credential management and proxy resolution, requiring no user key setup and supporting custom self-hosted proxies
FAQ
Which API does seoul-subway-arrival use?
seoul-subway-arrival calls the Seoul Open Data Plaza real-time subway arrival Open API through k-skill-proxy, then summarizes station-based approaching train information for Korean transit queries.
Can seoul-subway-arrival use a self-hosted proxy?
seoul-subway-arrival accepts an optional KSKILL_PROXY_BASE_URL environment variable for self-hosted or alternate k-skill-proxy deployments; when unset, the skill uses the default hosted k-skill-proxy endpoint.
Is Seoul Subway Arrival safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.