DocsOverview
API v1.0Hyperliquid Compatible
API Reference
PaperExchange API v1.0 is 100% compatible with Hyperliquid. Use the same request format with your PaperExchange API key.
Info Endpoint
Market data, prices, account state
Exchange Endpoint
Place orders, cancel, manage positions
Account Endpoints
Auth, API keys, subscription
Error Codes
Error handling and troubleshooting
Base URL
https://api.paperx.coAuthentication
All requests require authentication via API key or JWT token.
API Key (Recommended)
X-API-Key: pe_your_api_key_hereJWT Token
Authorization: Bearer your_jwt_tokenEndpoints Overview
| Endpoint | Method | Description |
|---|---|---|
/v1/exchanges/hyperliquid/info | POST | Market data, prices, account state |
/v1/exchanges/hyperliquid/exchange | POST | Place orders, cancel, manage positions |
/v1/auth/register | POST | Create new account |
/v1/auth/login | POST | Login and get JWT token |
/v1/auth/api-keys | POST | Create API key |
/v1/exchanges/hyperliquid/account/reset | POST | Add funds when balance low |
/v1/exchanges/hyperliquid/account/overview | GET | Get account dashboard |
/v1/billing/subscription | GET | Get subscription status |
Rate Limits
Basic Plan
200 requests per minute
Pro Plan
500 requests per minute
Rate Limit Headers
X-RateLimit-Limit: 200
X-RateLimit-Remaining: 195
X-RateLimit-Reset: 1700000060Error Codes
| Code | Description |
|---|---|
200 | Success |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden (subscription expired) |
429 | Rate limit exceeded |
500 | Internal server error |