Toretabi API guide

toretabi.jp

Use Toretabi to find regional rail tickets in Japan and check published fares, sale dates, and travel conditions against linked operator rules.

Actions and inputs

tickets list

Find regional rail ticket listings by area, type, or Japanese search term.

Inputs area, ticket type, query, page limit, result limit

tickets get

Read a ticket listing and its linked operator rules when available.

Inputs ticket ID

tickets compare

Check published dates and conditions across two to four tickets.

Inputs 2–4 ticket IDs, first-use date, as-of date

tickets cached

Read previously retrieved ticket details without refreshing them.

Inputs result limit

Saved Toretabi rail ticket shortlist in Smith

Create

Save a shortlist of Toretabi rail tickets in Smith.

Inputs shortlist name, ticket IDs, intended first-use date

Read

Open the saved shortlist to review the selected tickets.

Inputs shortlist ID

Update

Revise the selected tickets or first-use date for the shortlist.

Inputs shortlist ID, ticket IDs or first-use date

Delete

Delete the shortlist from Smith without changing any ticket listings.

Inputs shortlist ID