Documentation
PaperExchange lets you paper trade on real mainnet data. Our API is 100% compatible with Hyperliquid's API - just change the base URL and add your PaperExchange API key. Your existing code works instantly.
Base URL
https://api.paperx.coWhy not use Hyperliquid Testnet?
Hyperliquid's testnet uses fake, simulated data. Strategies that work on testnet often fail on mainnet because the prices, order books, and market conditions are completely different. PaperExchange connects to real mainnet data so your testing reflects actual market behavior.
Authentication
All API requests require authentication via your PaperExchange API key. Generate keys in your dashboard after signing up.
Key Concepts
API Compatibility
PaperExchange uses the same API format as Hyperliquid. Just change the base URL from api.hyperliquid.xyz to api.paperx.co and add your API key.
Authentication
All requests require an API key passed in the X-API-Key header. You can also use Bearer token authentication with your JWT.
Paper Trading
All trades are simulated using real mainnet data. Basic: $10,000, Pro: $100,000 virtual balance. Fees and slippage are simulated realistically.
Rate Limits
Basic plan: 200 requests/minute. Pro plan: 500 requests/minute. Rate limit headers are included in all responses.
API Endpoints
Same endpoints as Hyperliquid. Use the same request format - just point to our base URL.
| Endpoint | Method | Description |
|---|---|---|
/info | POST | Get market data and account info |
/exchange | POST | Place and cancel orders |
/auth/register | POST | Create a new account |
/auth/login | POST | Login and get JWT token |
/auth/api-keys | POST | Create API key |
/account/overview | GET | Get account dashboard |
/account/reset | POST | Reset account balance |
/billing/subscription | GET | Get subscription status |