Skip to main content
POST
Live trains

Request contract

  • Method and path: POST /apis/v1/amtrak-com/train-status/live-trains
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/amtrak-com/train-status/live-trains
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
limit
number

Return at most this many trains (feed order). Default: all.

Provider reference: minimum 1; maximum 500.

route_name
string

Exact route name as the feed states it, e.g. 'Northeast Regional', 'Acela' (case-insensitive)

state
string

Filter by feed state

Provider reference: allowed values ["Active", "Predeparture", "Completed"].

train_number
string

Train number, e.g. 2151 Pattern: ^[0-9A-Za-z]{1,6}$.

Response

Live positions and status of every Amtrak train currently in the tracking feed (active, pre-departure and recently completed runs): coordinates, heading, speed, route, origin/destination and last event. Decrypts the public maps.amtrak.com feed the Track Your Train map uses. Optional filters by route name, train number or state; limit caps the list (the output then says it is partial).

The response contains the tool result directly.

The provider identifies trains as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.