PomeradoSign inSign up free
API library

Amtrak

Amtrak's website provides passenger train schedules, ticket fares and travel reservations.

Tools
1 tool1 read0 write
Login
No login needed

Search one-way trains

POST/v1/integrations/{id}/tools/{tool_id}/runsSign in to use

Searches one-way cash fares for default adult travelers without booking, returning train names and numbers, local dates and times, duration, intermediate stop counts, connections and class/family fares including sold-out states; excludes points, discounts and optional refinements and returns up to `limit` results per call (default 20) from Amtrak's full search response, whose UI pages show 10 trains. When `next_cursor` is not null, call again within ten minutes with the same inputs and `cursor` set to it for the results that follow. When `list_changed` is true, results may repeat earlier ones: de-duplicate by key.

Tool ID
tool_e091a17d81fc042ac142843d954106cb
Effect and login
ReadNo login needed

Input

originstringrequired
destinationstringrequired
datestring (date)required
passengersintegerrequired

Result

datestring (date)
originstring
trainslist of objects
has_moreboolean
passengersinteger
destinationstring
next_cursorstring or null
list_changedboolean
total_resultsinteger or null
next_cursor_expires_atstring or null
next_cursor_unavailablestring