- A Hedera account (
0.0.X) or EVM account (0x...) with a supported key type — see supported account identifiers - The API base URL for your environment — see environments
Public and protected endpoints
Endpoints split into two groups:
Protected endpoints require a JWT issued by the
/auth flow. Attach the JWT to REST calls with:
Authentication flow
1
Request a challenge
Submit your Challenge response:
accountId to POST /auth/challenge and receive a nonce message to sign.Challenge request:2
Sign the challenge
Sign the challenge message client-side with the account key.
3
Verify and receive a JWT
Submit Verify response:
accountId and signature to POST /auth/verify and receive a JWT.Verify request:Supported account identifiers
Token lifetime
JWTs are short-lived. Re-authenticate before a long-running session expires or whenever a protected call returns401. Re-authenticate before each WebSocket reconnect attempt — see WebSockets.
Next steps
Orders
Use your JWT to build, sign, and save orders through the placement flow.
WebSockets
Connect both authenticated streams and handle reconnects and token renewal.
Market data
Read the public endpoints that need no JWT: books, depth, trades, and quotes.
Limits and errors
Handle
401 renewals, rate limits, and the shared error response format.