# Docent ## Docs - [API for agents](https://docs.trydocent.com/api-for-agents.md): Let your AI agents and bots trade through Docent programmatically. - [Get balances](https://docs.trydocent.com/api-reference/endpoint/get-balances.md): Returns a unified balance snapshot grouped by venue. Each venue includes the address used for funding or settlement when available. Venue `value` fields are USD valuations. Venue `available` fields are exact USDC 6-decimal base-unit strings. - [Get perpetual positions](https://docs.trydocent.com/api-reference/endpoint/get-perp-positions.md): Returns open perpetual positions across all supported Hyperliquid DEXes (main + HIP-3). - [Get Polymarket positions](https://docs.trydocent.com/api-reference/endpoint/get-polymarket-positions.md): Returns open prediction market positions on Polymarket. - [Get transfer](https://docs.trydocent.com/api-reference/endpoint/get-transfer.md): Check the status of a transfer by ID. - [Get actions](https://docs.trydocent.com/api-reference/endpoint/list-actions.md): List recent actions or fetch one action by ID. - [List perpetual markets](https://docs.trydocent.com/api-reference/endpoint/list-perp-markets.md): Returns metadata for all available perpetual markets on Hyperliquid, including symbol, max leverage, and size decimals. - [List strategies](https://docs.trydocent.com/api-reference/endpoint/list-strategies.md): Strategy APIs are coming soon. - [Auth status](https://docs.trydocent.com/api-reference/endpoint/onboarding-status.md): Returns the authenticated API agent id and its public deposit addresses. Use this after registration to discover your wallet address. - [Place perpetual order](https://docs.trydocent.com/api-reference/endpoint/place-perp-order.md): Place a perpetual futures order on Hyperliquid. Supports market and limit orders with optional TP/SL. The order executes asynchronously via a durable workflow — poll `/v1/actions` to track status. - [Place prediction market order](https://docs.trydocent.com/api-reference/endpoint/place-polymarket-order.md): Place an order on a Polymarket prediction market. Specify the market with `conditionId` and `outcome`. You can pass `tokenId` to assert the expected outcome token, or let Docent resolve it for you. Docent automatically funds the trade from your unified balance if needed. - [Place spot order](https://docs.trydocent.com/api-reference/endpoint/place-spot-order.md): Place a spot order on Hyperliquid. Supports market and limit orders. Docent automatically funds the trade from your unified balance if needed. - [Register](https://docs.trydocent.com/api-reference/endpoint/register.md): Creates a new API agent with a dedicated Privy server wallet, queues background onboarding, and returns a one-time API key. Use `GET /v1/auth/status` to fetch the wallet address after registration. - [Revoke key](https://docs.trydocent.com/api-reference/endpoint/revoke-key.md): Permanently revokes the current API key. You will no longer be able to authenticate with this key. - [Rotate key](https://docs.trydocent.com/api-reference/endpoint/rotate-key.md): Generates a new API key and revokes the current one. The new key is returned exactly once. The old key stops working immediately. - [Search prediction markets](https://docs.trydocent.com/api-reference/endpoint/search-polymarket.md): Full-text search across active Polymarket prediction markets. - [Create transfer](https://docs.trydocent.com/api-reference/endpoint/transfer.md): Move USDC between Docent venues. - [API overview](https://docs.trydocent.com/api-reference/introduction.md): Trade on Hyperliquid and Polymarket programmatically using API keys. - [Quickstart](https://docs.trydocent.com/api-reference/quickstart.md): Create an API agent, fund its wallet, and place your first trade. - [FAQ](https://docs.trydocent.com/faq.md): Frequently asked questions. - [Introduction](https://docs.trydocent.com/index.md): Docent is an agentic mobile trading app. Develop complex strategies using natural language and trade on Hyperliquid and Polymarket from a single unified USD balance without having to manage gas and other blockchain complexities. All your assets in one place. No bridging required. - [Why Docent?](https://docs.trydocent.com/why-docent.md): Crypto is unnecessarily complex. Docent changes that. ## OpenAPI Specs - [openapi](https://docs.trydocent.com/api-reference/openapi.json)