BETAHYPERLIQUID LIVE

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.co

Why 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.

auth_example.py
# Add your API key to headers
importrequests

headers = {
'X-API-Key':'pe_your_api_key'
}

response = requests.post(
'https://api.paperx.co/info',
headers=headers,
json={"type": "allMids"}}
)

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.

EndpointMethodDescription
/infoPOSTGet market data and account info
/exchangePOSTPlace and cancel orders
/auth/registerPOSTCreate a new account
/auth/loginPOSTLogin and get JWT token
/auth/api-keysPOSTCreate API key
/account/overviewGETGet account dashboard
/account/resetPOSTReset account balance
/billing/subscriptionGETGet subscription status

Quick Links