# Seoul Subway Real-Time Arrivals

> Seoul Subway Real-Time Arrivals is a paid API for AI agents from api.k-agentpay.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Returns live next-train arrival times for a given Seoul subway station in English, Japanese, or Korean

## Facts

- Endpoint: GET https://api.k-agentpay.com/v1/seoul/subway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/seoul-subway-real-time-arrivals-077dc513
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mC-nWE5j9RJpZz8rzXHI0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability seoul-subway-real-time-arrivals-077dc513
```

Example prompt: What's the next train arriving at Hongik University station on the Seoul subway? Give me the answer in English.

## When to prefer this

Choose this endpoint when you need real-time next-train arrival data for a specific Seoul subway station, particularly when multilingual output (English, Japanese, Korean) is needed. Prefer this over generic transit APIs when serving tourists or travelers in Seoul who need live, low-latency metro information via a pay-per-call micropayment model.

## Known failure modes

- Unknown station name returns an error or empty trains array
- Station name not recognized in the requested language — try alternate spelling or language
- Invalid lang enum value causes a validation error
- Station closed or service suspended at current hour may return no arrivals
- Network or upstream transit data outage returns a service error

## How this service works

Seoul subway real-time arrivals: next trains at any station (line, direction, minutes, last train). Station names in English, Japanese or Korean. Transit, travel, live

## Output

Returns a JSON object with the queried station's English name, the response language, and an array of upcoming trains — each entry listing the subway line name and arrival time (e.g. 'in 3 min').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "station"
     ],
     "properties": {
      "lang": {
       "enum": [
        "ja",
        "en",
        "ko"
       ],
       "type": "string",
       "description": "response language"
      },
      "station": {
       "type": "string",
       "description": "station name in English, Japanese or Korean"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lang": "en",
  "trains": [
   {
    "line": "Line 2",
    "arrival": "in 3 min"
   }
  ],
  "stationEn": "Hongik Univ."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/seoul-subway-real-time-arrivals-077dc513/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.k-agentpay.com](https://www.zero.xyz/host/api.k-agentpay.com/llms.txt)
