Skip to main content
POST
Get station

Request contract

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

Amtrak 3-letter station code, e.g. NYP, WAS, CHI (case-insensitive). Pattern: ^[A-Za-z]{3}$.

url
string

Station page URL, e.g. https://www.amtrak.com/stations/nyp; alternative to code

Response

One station by 3-letter code: identity and timezone from the station reference feed, service flags, street address and coordinates from the station finder, and the station page tabs (hours by service, parking, baggage, features, accessibility).

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.