---
title: "List Japan Rail Lines"
method: GET
path: "/japan/rail/lines"
tags: ["japan"]
---

# List Japan Rail Lines

`GET /japan/rail/lines`

Return a GeoJSON FeatureCollection of Shinkansen lines.

Each feature's `geometry` is a MultiLineString in WGS84 (the underlying
PostGIS column is geometry(MultiLineString, 4326)). Per-feature
properties carry the names + operator labels the FE needs to label
each line. Brand COLORS live on the FE side as a static map (see
`program/app/japan/rail-line-colors.ts`) — they're presentation, not
data, and don't need a DB round-trip.

Cache headers match `japan_places`: short browser TTL, longer at the
edge — data only changes when the loader script runs.

## Response `200`

Successful Response

- object

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
