/jmty/lines
List the railway lines Jimoty (jmty.jp) indexes a Japanese prefecture by, with the operator that runs each line and the numeric id the board filters on, and — for a single line — every station on it with its own numeric id. Jimoty is organised around geography first and lets a search be pinned to a whole line or to one station, but it prints those ids nowhere else, so this is the lookup that makes the line_id and station_id filters of jmty/listings/search reachable. Tokyo is indexed by 81 lines across eleven operators, Osaka by 54, a rural prefecture such as Tottori by 7.
Price: 1 credit
⚠️ Common errors: 412: This prefecture does not index a railway line with this id
Authorizations
API token from the dashboard
Headers
Body
all, hokkaido, aomori, iwate, miyagi, akita, yamagata, fukushima, ibaraki, tochigi, gunma, saitama, chiba, tokyo, kanagawa, niigata, toyama, ishikawa, fukui, yamanashi, nagano, gifu, shizuoka, aichi, mie, shiga, kyoto, osaka, hyogo, nara, wakayama, tottori, shimane, okayama, hiroshima, yamaguchi, tokushima, kagawa, ehime, kochi, fukuoka, saga, nagasaki, kumamoto, oita, miyazaki, kagoshima, okinawa 20 <= x <= 1500x > 0