Environments
The host picks the environment. There is no environment parameter to get wrong.
- Live:
https://api.flyrail.space/v1 - Sandbox:
https://sandbox-api.flyrail.space/v1
The sandbox runs the same code as live against fake airlines. It never contacts a real airline and never touches real money.
Airlines are listed per environment with GET /airlines. A test key sees only sandbox airlines.