Private Endpoints
Private endpoints cover trading, balances, account actions, and trading history.
Service Hosts
There is no single gateway. Each path prefix maps to its own service:
/orders/*
https://order-service.outpoll.com
/api/events/*
https://event-service.outpoll.com
/api/user-balances/*
https://wallet-mutator-view.outpoll.com
/api/history/*
https://history-service.outpoll.com
/api/deposit/*
https://wallet-mutator-view.outpoll.com
/api/transactions
https://wallet-mutator-view.outpoll.com
/auth/*
https://auth-service.outpoll.com
Authentication
Trading and data endpoints use API key headers.
OUTPOLL-API-KEY
API key. Starts with op_k_
OUTPOLL-API-SIGNATURE
Base64URL-encoded HMAC-SHA256 signature
OUTPOLL-API-TIMESTAMP
Unix timestamp in seconds
Build the signature payload as:
message = timestamp + method + path + bodyUse only the path.
Do not include the full URL.
Do not include the query string.
Timestamps must be within 30 seconds of server time.
Signature example
Use this worked example for a signed POST request.
Input values
API key:
op_k_abc123API secret:
dGVzdF9zZWNyZXRfMTIzNDU2Nzgtimestamp:
1712500000method:
POSTpath:
/orders/market
cURL example
Use this shell example to compute the signature and send the request with curl.
Python signature example
Use this example to sign and send a market order request directly to the order service.
JavaScript signature example
Use this example to sign and send the same request with fetch.
OutpollClient
Use a path-to-host map when one client needs to call multiple private services.
Sections
API Keys for key creation, inspection, and revocation.
Orders for limit, market, and TP/SL orders.
Portfolio for portfolio-related endpoints.
Positions for open positions and active orders.
Balances for balance queries.
Deposit for the USDC deposit address.
History & Stats for history coverage.
History for orders, trades, transactions, activity, and profile metrics.
Example IDs
Examples use readable placeholders:
evt_btc_100k_2026for an eventmkt_btc_100k_yes_nofor a marketasset_btc_100k_yesfor the YES assetasset_usdcfor USDCord_7f3a9c2dfor an ordertpsl_4e2b1a90for a TP/SL order
Shared rules
See FAQ for rate limits, pagination, and common error handling.
Last updated
Was this helpful?

