1. Register
Create an API agent. This provisions a dedicated Privy server wallet and returns your API key.Response
2. Get your wallet address
Use auth status to fetch your deposit address after registration.Response
3. Fund your wallet
Send USDC toaddresses.ethereum on Arbitrum or Base. Docent uses OneBalance to move funds between venues, so you do not need to bridge manually before you trade.
4. Check your balance
Response
5. Place a trade
Response
6. Poll for completion
Orders execute asynchronously. Poll the action untilstatus is completed or failed.
Response
GET /v1/transfers?transferId=... the same way when you create a venue transfer.
Next steps
- Browse the full endpoint reference
- Use
POST /v1/orders/polymarketto trade prediction markets - Use
POST /v1/transfersto move funds between venues - Use
POST /v1/auth/keys/rotateto rotate your API key periodically