Reference
CLIBeta
A thin client over the same /v1 endpoints the app and the SDKs use — every command maps onto one HTTP call, and --json on any of them prints exactly what that call returned.
Install & authenticate
# from the monorepo root — no separate install step
pnpm cli login rail_test_your_key_here
# or skip login entirely and set it per-shell
export rail_test_your_key_here=rail_test_your_key_hereOnce published, the same binary runs as railor after a global install.
Commands
railor corridors search --entity IN --to AE --asset USDC --currency AED
railor corridors search --entity IN --to AE --asset USDC --preset cheapest --jsonNotes
- A corridor watch targets a corridor you have already saved (its id, from the app or
corridors search --json) — there is no separate endpoint for defining one ad hoc, so the CLI does not invent one either. - API key creation stays in the dashboard's developer portal. It is a security-sensitive action gated to org owners/admins; the CLI only ever uses a key, it never mints one.
- Every list command accepts
--jsonfor scripting; everything else is a formatted table.