Base URLs
If you are integrating against staging or local services, keep the same paths and replace only the host.
What You Need
- A Hit account with a wallet and proxy wallet set up.
- A trading API key, secret and passphrase generated from your Hit account.
1. Fetch Markets
Market discovery is public. Start with active events, then pick a market token ID from the returnedmarkets array.
2. Read the Order Book
Use the token ID for the outcome you want to trade.3. Configure an API Key
Trading requests use API key credentials instead of a website session. Store these values as environment variables:4. Place an Order
Authenticated REST requests require these headers:path includes /api/v1 and excludes the host and query string.
5. Stream Updates
Public order book streams do not require authentication./user. See WebSockets.