Skip to main content
POST
Get route

Request contract

  • Method and path: POST /apis/v1/amtrak-com/train-status/get-route
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/amtrak-com/train-status/get-route
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
code
string

Route code from list_routes, e.g. NERG Pattern: ^[A-Za-z0-9]{2,8}$.

name
string

Exact route name, e.g. 'Coast Starlight' (case-insensitive)

Response

One route by code (e.g. NERG) or exact name (e.g. Northeast Regional): cities served, ordered stops with station names, and the train numbers Amtrak maps to the route.

The response contains the tool result directly.

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