Quick Start
Get started quickly with the ZTDX Derivatives Trading API.
API Key Permission Settings
A newly created API key is active immediately and carries the trading and deposit permissions by default — no extra permission step is needed before trading via the API.
Note that authentication does not currently enforce fine-grained per-permission restrictions; protect your key accordingly, and use the optional IP whitelist to limit where it can be used from.
Account
Perpetual Futures Account
Every newly registered account comes with a Perpetual Futures account configured in Hedge Mode (dualSidePosition: true) by default, allowing simultaneous independent LONG and SHORT positions on the same contract. You can switch to One-way Mode at any time when you have no open positions or open orders — see Position Mode.
Testnet & Arbitrum Sepolia Faucet
Users can trade on the Arbitrum Sepolia (421614) futures testnet via both the web interface (https://app.ztdxtest.xyz) and the API (https://api.ztdxtest.xyz).
When connected to Arbitrum Sepolia (421614):
- Open the Faucet page (
https://app.ztdxtest.xyz/faucet) in the navigation bar to claim 1,000 Mock USDT (0xe125f700924e33b77f3343a9dd8aac7c24b4f68e, 6 decimals) directly to your connected wallet (one-time gas-free claim per wallet). - Programmatic endpoints:
GET /api/v1/faucet/statusandPOST /api/v1/faucet/claim(see Testnet Faucet).