> For the complete documentation index, see [llms.txt](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints.md).

# API Endpoints

- [Use Cases](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/use-cases.md)
- [Get AI Copilot Strategy](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/get-ai-copilot-strategy.md): Provides real-time, AI-powered trading strategies for perpetual markets. gives actionable strategies with clear entry zones, risk parameters, leverage guidance and execution-ready trade setups.
- [Get Account](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/get-account.md): Returns HyprEarn trading account context for a client user wallet: smart wallet address, Hyperliquid withdrawable balance (USDC), API wallet address, and onboarding status.
- [Activate Account](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/activate-account.md): Two-phase HyprEarn trading activation: provisions Privy smart wallet and client mapping on first use, then resumes onboarding - bridging Arbitrum USDC when needed, approving Hyperliquid agent.
- [Get Available Tokens](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/get-available-tokens.md): Returns tradable Hyperliquid perp markets by open interest, including mark price, funding, leverage caps, and volume.
- [Get Open Orders](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/get-open-orders.md): Returns open orders (including TP/SL where applicable) for the user. Orders are sorted most recent first.
- [Get Open Positions](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/get-open-positions.md): Returns all open perpetual positions for the user, with normalized fields for size, leverage, PnL, and mark price.
- [Open Order / Position](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/open-order-position.md): Places a perpetual order (market or limit) for the wallet mapped to the API key and userWalletAddress. Updates internal position records after a fill.
- [Cancel order](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/cancel-order.md): Cancels a single open order by orderId and symbol for the user.
- [Close Position](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/close-position.md): Closes or reduces a Hyperliquid perpetual position using a market or limit order on the opposite side.
- [Update Position](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/update-position.md): Edits existing position take-profit and/or stop-loss for a given symbol.
- [Withdraw Funds](https://docs.hyprearn.com/HnETD1HQdaN5QhTwmV4l/developers/api-endpoints/withdraw-funds.md)
