Skip to main content

1. Register

Create an API agent. This provisions a dedicated Privy server wallet and returns your API key.
Response
Save your API key now. It is only shown once and cannot be retrieved later.

2. Get your wallet address

Use auth status to fetch your deposit address after registration.
Response

3. Fund your wallet

Send USDC to addresses.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 until status is completed or failed.
Response
Use GET /v1/transfers?transferId=... the same way when you create a venue transfer.

Next steps

  • Browse the full endpoint reference
  • Use POST /v1/orders/polymarket to trade prediction markets
  • Use POST /v1/transfers to move funds between venues
  • Use POST /v1/auth/keys/rotate to rotate your API key periodically