home / skills / openclaw / skills / seoul-subway

seoul-subway skill

This skill provides real-time Seoul subway arrivals, station search, route planning, and service alerts via a proxy API with no key.

npx playbooks add skill openclaw/skills --skill seoul-subway

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
13.1 KB
---
name: seoul-subway
description: Seoul Subway assistant for real-time arrivals, route planning, and service alerts (Korean/English)
metadata: {"moltbot":{"emoji":"๐Ÿš‡","requires":{"bins":["curl","jq"]}}}
homepage: https://github.com/dukbong/seoul-subway
user-invocable: true
---

# Seoul Subway Skill

Query real-time Seoul Subway information. **No API key required** - uses proxy server.

## Features

| Feature | Description | Trigger Example (KO) | Trigger Example (EN) |
|---------|-------------|----------------------|----------------------|
| Real-time Arrival | Train arrival times by station | "๊ฐ•๋‚จ์—ญ ๋„์ฐฉ์ •๋ณด" | "Gangnam station arrivals" |
| Station Search | Line and station code lookup | "๊ฐ•๋‚จ์—ญ ๋ช‡ํ˜ธ์„ ?" | "What line is Gangnam?" |
| Route Search | Shortest path with time/fare | "์‹ ๋„๋ฆผ์—์„œ ์„œ์šธ์—ญ" | "Sindorim to Seoul Station" |
| Service Alerts | Delays, incidents, non-stops | "์ง€ํ•˜์ฒ  ์ง€์—ฐ ์žˆ์–ด?" | "Any subway delays?" |

---

## First Time Setup / ์ฒซ ์‚ฌ์šฉ ์•ˆ๋‚ด

When you first use this skill, you'll see a permission prompt for the proxy domain.

์ฒ˜์Œ ์‚ฌ์šฉ ์‹œ ํ”„๋ก์‹œ ๋„๋ฉ”์ธ ์ ‘๊ทผ ํ™•์ธ ์ฐฝ์ด ๋œน๋‹ˆ๋‹ค.

**Select / ์„ ํƒ:** `Yes, and don't ask again for vercel-proxy-henna-eight.vercel.app`

This only needs to be done once. / ํ•œ ๋ฒˆ๋งŒ ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

---

## Proxy API Reference

All API calls go through the proxy server. No API keys needed for users.

### Base URL

```
https://vercel-proxy-henna-eight.vercel.app
```

### 1. Real-time Arrival Info

**Endpoint**
```
GET /api/realtime/{station}?start=0&end=10
```

**Parameters**

| Parameter | Required | Description |
|-----------|----------|-------------|
| station | Yes | Station name (Korean, URL-encoded) |
| start | No | Start index (default: 0) |
| end | No | End index (default: 10) |

**Response Fields**

| Field | Description |
|-------|-------------|
| `subwayId` | Line ID (1002=Line 2, 1077=Sinbundang) |
| `trainLineNm` | Direction (e.g., "์„ฑ์ˆ˜ํ–‰ - ์—ญ์‚ผ๋ฐฉ๋ฉด") |
| `arvlMsg2` | Arrival time (e.g., "4๋ถ„ 20์ดˆ ํ›„") |
| `arvlMsg3` | Current location |
| `btrainSttus` | Train type (์ผ๋ฐ˜/๊ธ‰ํ–‰) |
| `lstcarAt` | Last train (0=No, 1=Yes) |

**Example**
```bash
curl "https://vercel-proxy-henna-eight.vercel.app/api/realtime/๊ฐ•๋‚จ"
```

---

### 2. Station Search

**Endpoint**
```
GET /api/stations?station={name}&start=1&end=10
```

**Parameters**

| Parameter | Required | Description |
|-----------|----------|-------------|
| station | Yes | Station name to search |
| start | No | Start index (default: 1) |
| end | No | End index (default: 10) |

**Response Fields**

| Field | Description |
|-------|-------------|
| `STATION_CD` | Station code |
| `STATION_NM` | Station name |
| `LINE_NUM` | Line name (e.g., "02ํ˜ธ์„ ") |
| `FR_CODE` | External station code |

**Example**
```bash
curl "https://vercel-proxy-henna-eight.vercel.app/api/stations?station=๊ฐ•๋‚จ"
```

---

### 3. Route Search

**Endpoint**
```
GET /api/route?dptreStnNm={departure}&arvlStnNm={arrival}
```

**Parameters**

| Parameter | Required | Description |
|-----------|----------|-------------|
| dptreStnNm | Yes | Departure station |
| arvlStnNm | Yes | Arrival station |
| searchDt | No | Datetime (yyyy-MM-dd HH:mm:ss) |
| searchType | No | duration / distance / transfer |

**Response Fields**

| Field | Description |
|-------|-------------|
| `totalDstc` | Total distance (m) |
| `totalreqHr` | Total time (seconds) |
| `totalCardCrg` | Fare (KRW) |
| `paths[].trainno` | Train number |
| `paths[].trainDptreTm` | Departure time |
| `paths[].trainArvlTm` | Arrival time |
| `paths[].trsitYn` | Transfer flag |

**Example**
```bash
curl "https://vercel-proxy-henna-eight.vercel.app/api/route?dptreStnNm=์‹ ๋„๋ฆผ&arvlStnNm=์„œ์šธ์—ญ"
```

---

### 4. Service Alerts

**Endpoint**
```
GET /api/alerts?pageNo=1&numOfRows=10
```

**Parameters**

| Parameter | Required | Description |
|-----------|----------|-------------|
| pageNo | No | Page number (default: 1) |
| numOfRows | No | Results per page (default: 10) |
| lineNm | No | Filter by line |

**Response Fields**

| Field | Description |
|-------|-------------|
| `noftTtl` | Alert title |
| `noftCn` | Alert content |
| `noftOcrnDt` | Timestamp |
| `lineNmLst` | Affected line(s) |
| `nonstopYn` | Non-stop flag |
| `xcseSitnBgngDt` | Incident start |
| `xcseSitnEndDt` | Incident end |

**Example**
```bash
curl "https://vercel-proxy-henna-eight.vercel.app/api/alerts"
```

---

## Static Data (GitHub Raw)

For static data like station lists and line mappings, use GitHub raw URLs:

```bash
# Station list
curl "https://raw.githubusercontent.com/dukbong/seoul-subway/main/data/stations.json"

# Line ID mappings
curl "https://raw.githubusercontent.com/dukbong/seoul-subway/main/data/lines.json"

# Station name translations
curl "https://raw.githubusercontent.com/dukbong/seoul-subway/main/data/station-names.json"
```

---

## Line ID Mapping

| Line | ID | Line | ID |
|------|----|------|----|
| Line 1 | 1001 | Line 6 | 1006 |
| Line 2 | 1002 | Line 7 | 1007 |
| Line 3 | 1003 | Line 8 | 1008 |
| Line 4 | 1004 | Line 9 | 1009 |
| Line 5 | 1005 | Sinbundang | 1077 |
| Gyeongui-Jungang | 1063 | Gyeongchun | 1067 |
| Airport Railroad | 1065 | Suin-Bundang | 1075 |

---

## Station Name Mapping (English โ†’ Korean)

์ฃผ์š” ์—ญ ์ด๋ฆ„์˜ ์˜์–ด-ํ•œ๊ธ€ ๋งคํ•‘ ํ…Œ์ด๋ธ”์ž…๋‹ˆ๋‹ค. API ํ˜ธ์ถœ ์‹œ ์˜์–ด ์ž…๋ ฅ์„ ํ•œ๊ธ€๋กœ ๋ณ€ํ™˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

### Line 1 (1ํ˜ธ์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Seoul Station | ์„œ์šธ์—ญ | City Hall | ์‹œ์ฒญ |
| Jonggak | ์ข…๊ฐ | Jongno 3-ga | ์ข…๋กœ3๊ฐ€ |
| Jongno 5-ga | ์ข…๋กœ5๊ฐ€ | Dongdaemun | ๋™๋Œ€๋ฌธ |
| Cheongnyangni | ์ฒญ๋Ÿ‰๋ฆฌ | Yongsan | ์šฉ์‚ฐ |
| Noryangjin | ๋…ธ๋Ÿ‰์ง„ | Yeongdeungpo | ์˜๋“ฑํฌ |
| Guro | ๊ตฌ๋กœ | Incheon | ์ธ์ฒœ |
| Bupyeong | ๋ถ€ํ‰ | Suwon | ์ˆ˜์› |

### Line 2 (2ํ˜ธ์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Gangnam | ๊ฐ•๋‚จ | Yeoksam | ์—ญ์‚ผ |
| Samseong | ์‚ผ์„ฑ | Jamsil | ์ž ์‹ค |
| Sindorim | ์‹ ๋„๋ฆผ | Hongdae (Hongik Univ.) | ํ™๋Œ€์ž…๊ตฌ |
| Hapjeong | ํ•ฉ์ • | Dangsan | ๋‹น์‚ฐ |
| Yeouido | ์—ฌ์˜๋„ | Konkuk Univ. | ๊ฑด๋Œ€์ž…๊ตฌ |
| Seolleung | ์„ ๋ฆ‰ | Samsung | ์‚ผ์„ฑ |
| Sports Complex | ์ข…ํ•ฉ์šด๋™์žฅ | Gangbyeon | ๊ฐ•๋ณ€ |
| Ttukseom | ๋š์„ฌ | Seongsu | ์„ฑ์ˆ˜ |
| Wangsimni | ์™•์‹ญ๋ฆฌ | Euljiro 3-ga | ์„์ง€๋กœ3๊ฐ€ |
| Euljiro 1-ga | ์„์ง€๋กœ์ž…๊ตฌ | City Hall | ์‹œ์ฒญ |
| Chungjeongno | ์ถฉ์ •๋กœ | Ewha Womans Univ. | ์ด๋Œ€ |
| Sinchon | ์‹ ์ดŒ | Sadang | ์‚ฌ๋‹น |
| Nakseongdae | ๋‚™์„ฑ๋Œ€ | Seoul Nat'l Univ. | ์„œ์šธ๋Œ€์ž…๊ตฌ |
| Guro Digital Complex | ๊ตฌ๋กœ๋””์ง€ํ„ธ๋‹จ์ง€ | Mullae | ๋ฌธ๋ž˜ |

### Line 3 (3ํ˜ธ์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Gyeongbokgung | ๊ฒฝ๋ณต๊ถ | Anguk | ์•ˆ๊ตญ |
| Jongno 3-ga | ์ข…๋กœ3๊ฐ€ | Chungmuro | ์ถฉ๋ฌด๋กœ |
| Dongguk Univ. | ๋™๋Œ€์ž…๊ตฌ | Yaksu | ์•ฝ์ˆ˜ |
| Apgujeong | ์••๊ตฌ์ • | Sinsa | ์‹ ์‚ฌ |
| Express Bus Terminal | ๊ณ ์†ํ„ฐ๋ฏธ๋„ | Gyodae | ๊ต๋Œ€ |
| Nambu Bus Terminal | ๋‚จ๋ถ€ํ„ฐ๋ฏธ๋„ | Yangjae | ์–‘์žฌ |
| Daehwa | ๋Œ€ํ™” | Juyeop | ์ฃผ์—ฝ |

### Line 4 (4ํ˜ธ์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Myeongdong | ๋ช…๋™ | Hoehyeon | ํšŒํ˜„ |
| Seoul Station | ์„œ์šธ์—ญ | Sookmyung Women's Univ. | ์ˆ™๋Œ€์ž…๊ตฌ |
| Dongdaemun History & Culture Park | ๋™๋Œ€๋ฌธ์—ญ์‚ฌ๋ฌธํ™”๊ณต์› | Hyehwa | ํ˜œํ™” |
| Hansung Univ. | ํ•œ์„ฑ๋Œ€์ž…๊ตฌ | Mia | ๋ฏธ์•„ |
| Mia Sageori | ๋ฏธ์•„์‚ฌ๊ฑฐ๋ฆฌ | Gireum | ๊ธธ์Œ |
| Chongshin Univ. | ์ด์‹ ๋Œ€์ž…๊ตฌ | Sadang | ์‚ฌ๋‹น |

### Line 5 (5ํ˜ธ์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Gwanghwamun | ๊ด‘ํ™”๋ฌธ | Jongno 3-ga | ์ข…๋กœ3๊ฐ€ |
| Dongdaemun History & Culture Park | ๋™๋Œ€๋ฌธ์—ญ์‚ฌ๋ฌธํ™”๊ณต์› | Cheonggu | ์ฒญ๊ตฌ |
| Wangsimni | ์™•์‹ญ๋ฆฌ | Haengdang | ํ–‰๋‹น |
| Yeouido | ์—ฌ์˜๋„ | Yeouinaru | ์—ฌ์˜๋‚˜๋ฃจ |
| Mapo | ๋งˆํฌ | Gongdeok | ๊ณต๋• |
| Gimpo Airport | ๊น€ํฌ๊ณตํ•ญ | Banghwa | ๋ฐฉํ™” |

### Line 6 (6ํ˜ธ์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Itaewon | ์ดํƒœ์› | Samgakji | ์‚ผ๊ฐ์ง€ |
| Noksapyeong | ๋…น์‚ฌํ‰ | Hangang | ํ•œ๊ฐ•์ง„ |
| Sangsu | ์ƒ์ˆ˜ | Hapjeong | ํ•ฉ์ • |
| World Cup Stadium | ์›”๋“œ์ปต๊ฒฝ๊ธฐ์žฅ | Digital Media City | ๋””์ง€ํ„ธ๋ฏธ๋””์–ด์‹œํ‹ฐ |

### Line 7 (7ํ˜ธ์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Gangnam-gu Office | ๊ฐ•๋‚จ๊ตฌ์ฒญ | Cheongdam | ์ฒญ๋‹ด |
| Konkuk Univ. | ๊ฑด๋Œ€์ž…๊ตฌ | Children's Grand Park | ์–ด๋ฆฐ์ด๋Œ€๊ณต์› |
| Junggok | ์ค‘๊ณก | Ttukseom Resort | ๋š์„ฌ์œ ์›์ง€ |
| Express Bus Terminal | ๊ณ ์†ํ„ฐ๋ฏธ๋„ | Nonhyeon | ๋…ผํ˜„ |
| Hakdong | ํ•™๋™ | Bogwang | ๋ณด๊ด‘ |
| Jangam | ์žฅ์•” | Dobongsan | ๋„๋ด‰์‚ฐ |

### Line 8 (8ํ˜ธ์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Jamsil | ์ž ์‹ค | Mongchontoseong | ๋ชฝ์ดŒํ† ์„ฑ |
| Gangdong-gu Office | ๊ฐ•๋™๊ตฌ์ฒญ | Cheonho | ์ฒœํ˜ธ |
| Bokjeong | ๋ณต์ • | Sanseong | ์‚ฐ์„ฑ |
| Moran | ๋ชจ๋ž€ | Amsa | ์•”์‚ฌ |

### Line 9 (9ํ˜ธ์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Sinnonhyeon | ์‹ ๋…ผํ˜„ | Express Bus Terminal | ๊ณ ์†ํ„ฐ๋ฏธ๋„ |
| Dongjak | ๋™์ž‘ | Noryangjin | ๋…ธ๋Ÿ‰์ง„ |
| Yeouido | ์—ฌ์˜๋„ | National Assembly | ๊ตญํšŒ์˜์‚ฌ๋‹น |
| Dangsan | ๋‹น์‚ฐ | Yeomchang | ์—ผ์ฐฝ |
| Gimpo Airport | ๊น€ํฌ๊ณตํ•ญ | Gaehwa | ๊ฐœํ™” |
| Olympic Park | ์˜ฌ๋ฆผํ”ฝ๊ณต์› | Sports Complex | ์ข…ํ•ฉ์šด๋™์žฅ |

### Sinbundang Line (์‹ ๋ถ„๋‹น์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Gangnam | ๊ฐ•๋‚จ | Sinsa | ์‹ ์‚ฌ |
| Yangjae | ์–‘์žฌ | Yangjae Citizen's Forest | ์–‘์žฌ์‹œ๋ฏผ์˜์ˆฒ |
| Pangyo | ํŒ๊ต | Jeongja | ์ •์ž |
| Dongcheon | ๋™์ฒœ | Suji District Office | ์ˆ˜์ง€๊ตฌ์ฒญ |
| Gwanggyo | ๊ด‘๊ต | Gwanggyo Jungang | ๊ด‘๊ต์ค‘์•™ |

### Gyeongui-Jungang Line (๊ฒฝ์˜์ค‘์•™์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Seoul Station | ์„œ์šธ์—ญ | Hongdae (Hongik Univ.) | ํ™๋Œ€์ž…๊ตฌ |
| Gongdeok | ๊ณต๋• | Hyochang Park | ํšจ์ฐฝ๊ณต์›์•ž |
| Yongsan | ์šฉ์‚ฐ | Oksu | ์˜ฅ์ˆ˜ |
| Wangsimni | ์™•์‹ญ๋ฆฌ | Cheongnyangni | ์ฒญ๋Ÿ‰๋ฆฌ |
| DMC | ๋””์ง€ํ„ธ๋ฏธ๋””์–ด์‹œํ‹ฐ | Susaek | ์ˆ˜์ƒ‰ |
| Ilsan | ์ผ์‚ฐ | Paju | ํŒŒ์ฃผ |

### Airport Railroad (๊ณตํ•ญ์ฒ ๋„)
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Seoul Station | ์„œ์šธ์—ญ | Gongdeok | ๊ณต๋• |
| Hongdae (Hongik Univ.) | ํ™๋Œ€์ž…๊ตฌ | Digital Media City | ๋””์ง€ํ„ธ๋ฏธ๋””์–ด์‹œํ‹ฐ |
| Gimpo Airport | ๊น€ํฌ๊ณตํ•ญ | Incheon Airport T1 | ์ธ์ฒœ๊ณตํ•ญ1ํ„ฐ๋ฏธ๋„ |
| Incheon Airport T2 | ์ธ์ฒœ๊ณตํ•ญ2ํ„ฐ๋ฏธ๋„ | Cheongna Int'l City | ์ฒญ๋ผ๊ตญ์ œ๋„์‹œ |

### Suin-Bundang Line (์ˆ˜์ธ๋ถ„๋‹น์„ )
| English | Korean | English | Korean |
|---------|--------|---------|--------|
| Wangsimni | ์™•์‹ญ๋ฆฌ | Seolleung | ์„ ๋ฆ‰ |
| Gangnam-gu Office | ๊ฐ•๋‚จ๊ตฌ์ฒญ | Seonjeongneung | ์„ ์ •๋ฆ‰ |
| Jeongja | ์ •์ž | Migeum | ๋ฏธ๊ธˆ |
| Ori | ์˜ค๋ฆฌ | Jukjeon | ์ฃฝ์ „ |
| Suwon | ์ˆ˜์› | Incheon | ์ธ์ฒœ |

---

## Usage Examples

**Real-time Arrival**
```bash
curl "https://vercel-proxy-henna-eight.vercel.app/api/realtime/๊ฐ•๋‚จ"
```

**Station Search**
```bash
curl "https://vercel-proxy-henna-eight.vercel.app/api/stations?station=๊ฐ•๋‚จ"
```

**Route Search**
```bash
curl "https://vercel-proxy-henna-eight.vercel.app/api/route?dptreStnNm=์‹ ๋„๋ฆผ&arvlStnNm=์„œ์šธ์—ญ"
```

**Service Alerts**
```bash
curl "https://vercel-proxy-henna-eight.vercel.app/api/alerts"
```

---

## Output Format Guide

### Real-time Arrival

**Korean:**
```
[๊ฐ•๋‚จ์—ญ ๋„์ฐฉ ์ •๋ณด]

| ํ˜ธ์„  | ๋ฐฉํ–ฅ | ๋„์ฐฉ | ์œ„์น˜ | ์œ ํ˜• |
|------|------|------|------|------|
| 2ํ˜ธ์„  | ์„ฑ์ˆ˜ํ–‰ | 3๋ถ„ | ์—ญ์‚ผ | ์ผ๋ฐ˜ |
```

**English:**
```
[Gangnam Station Arrivals]

| Line | Direction | Arrival | Location | Type |
|------|-----------|---------|----------|------|
| Line 2 | Seongsu-bound | 3 min | Yeoksam | Regular |
```

### Station Search

**Korean:**
```
[๊ฐ•๋‚จ์—ญ]

| ํ˜ธ์„  | ์—ญ์ฝ”๋“œ | ์™ธ๋ถ€์ฝ”๋“œ |
|------|--------|----------|
| 2ํ˜ธ์„  | 222 | 0222 |
```

**English:**
```
[Gangnam Station]

| Line | Station Code | External Code |
|------|--------------|---------------|
| Line 2 | 222 | 0222 |
```

### Route Search

**Korean:**
```
[๊ฐ•๋‚จ -> ํ™๋Œ€์ž…๊ตฌ]

์†Œ์š”์‹œ๊ฐ„: 38๋ถ„ | ๊ฑฐ๋ฆฌ: 22.1 km | ์š”๊ธˆ: 1,650์› | ํ™˜์Šน: 1ํšŒ

1. 09:03 ๊ฐ•๋‚จ ์ถœ๋ฐœ (2ํ˜ธ์„  ์„ฑ์ˆ˜๋ฐฉ๋ฉด)
2. 09:18 ์‹ ๋„๋ฆผ ํ™˜์Šน (2ํ˜ธ์„  -> 1ํ˜ธ์„ )
3. 09:42 ํ™๋Œ€์ž…๊ตฌ ๋„์ฐฉ
```

**English:**
```
[Gangnam -> Hongdae]

Time: 38 min | Distance: 22.1 km | Fare: 1,650 KRW | Transfers: 1

1. 09:03 Depart Gangnam (Line 2 towards Seongsu)
2. 09:18 Transfer at Sindorim (Line 2 -> Line 1)
3. 09:42 Arrive Hongdae
```

### Service Alerts

**Korean:**
```
[์šดํ–‰ ์•Œ๋ฆผ]

[1ํ˜ธ์„ ] ์ข…๋กœ3๊ฐ€์—ญ ๋ฌด์ •์ฐจ (15:00 ~ 15:22)
- ์ฝ”๋ ˆ์ผ ์—ด์ฐจ ์—ฐ๊ธฐ ๋ฐœ์ƒ์œผ๋กœ ์ธํ•จ

[2ํ˜ธ์„ ] ์ •์ƒ ์šดํ–‰
```

**English:**
```
[Service Alerts]

[Line 1] Jongno 3-ga Non-stop (15:00 ~ 15:22)
- Due to smoke from Korail train

[Line 2] Normal operation
```

### Error

**Korean:**
```
์˜ค๋ฅ˜: ์—ญ์„ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.
"๊ฐ•๋‚จ" (์—ญ ์ด๋ฆ„๋งŒ)์œผ๋กœ ๊ฒ€์ƒ‰ํ•ด ๋ณด์„ธ์š”.
```

**English:**
```
Error: Station not found.
Try searching with "Gangnam" (station name only).
```

Overview

This skill provides real-time Seoul Subway information, route planning, station lookup and service alerts in Korean and English. It uses a proxy API so no user API key is required and supports station name translation for English queries. Quick, practical outputs include arrivals, shortest routes with time/fare, and active incident notices.

How this skill works

Requests go through a proxy server that exposes endpoints for realtime arrivals, station search, route planning and alerts. The skill converts English station names to Korean when needed, calls the proxy endpoints, and formats responses into concise arrival lists, route steps with times and fares, or alert summaries. Static data (station lists and line mappings) is available via GitHub raw files for translations and line IDs.

When to use it

  • Check live train arrivals at a specific station (Korean or English).
  • Find which line a station belongs to or get station codes.
  • Plan the fastest/cheapest route between two stations with time and fare.
  • See current service alerts, delays, non-stop stations, and affected lines.
  • Convert English station names to Korean for API queries.

Best practices

  • Provide full station names (e.g., Gangnam, Seoul Station) to avoid ambiguity.
  • When using English names, prefer common translations from the mapping table (e.g., Hongdae for Hongik Univ.).
  • If an error occurs, try the Korean station name or a shorter station-only query.
  • For route planning include both departure and arrival names to get accurate transfer steps.
  • Allow the initial proxy permission prompt once; it only needs confirming a single time.

Example use cases

  • "Gangnam station arrivals" โ€” get next trains, platform/arrival times and train types.
  • "What line is Seoul Station?" โ€” return line numbers and station codes.
  • "Sindorim to Seoul Station" โ€” shortest route with departure/arrival times, duration and fare.
  • "Any subway delays?" โ€” list current alerts, affected lines and incident windows.
  • Convert and call station lists or line ID mappings from GitHub raw URLs for offline validation.

FAQ

Do I need an API key?

No. The skill uses a proxy server so users do not need an API key.

Can I query in English?

Yes. English station names are converted to Korean using included mappings before calling the API.