The setup flow on this page currently applies to the Sandbox environment. See Environments for environment details.
Step 1: Register for a Rails Account
Visit sandbox.rails.xyz/sign-up to register your account. Select Business as your account type to enable API access. Upon successful verification, your account will be activated.Step 2: Deposit USDT
Rails uses USDT on Stellar as trading collateral, deposited via Stellar’s Freighter Wallet (install it first). Fund the product you intend to trade — Perpetuals and Options have separate balances. See the Deposit & Withdraw guide.Step 3: Generate API Key and Authenticate
Create an API key through the Rails user interface. Use this key to authenticate and obtain an access token for REST and WebSocket API requests. For further details, see the Authorization guide.Step 4: Choose your product
Your account, API keys, and access token work across both products. Continue to the product you want to trade — each Overview includes its own step-by-step quickstart:Perpetuals
Leverage, cross/isolated margin, and funding, with no expiry.
Options
Calls and puts with weekly and monthly expiries.