API Documentation Introduction
Welcome to the Primit API. Primit is a decentralized perpetual-futures exchange on the Avalanche C-Chain. The trading REST/WebSocket API is structured following the Binance API standard.
| Environment | Base URL | Chain |
|---|---|---|
| Production | https://api.primit.io | Avalanche C-Chain mainnet (43114) |
| Development / Test | https://api.primit.xyz | Avalanche fork / Fuji testnet (43113) |
See General Info for details. Beyond core trading, the API also covers Advanced Earn, the Points System, Referral, the Broker (KOL/BD) program, and Bonus.