# @lifi/perps-sdk ## Docs - [Account API](https://public-perps-docs.mintlify.app/api-reference/account.md): Endpoints for account information, positions, and order history - [Authorization API](https://public-perps-docs.mintlify.app/api-reference/authorization.md): Endpoints for building and submitting delegate authorizations - [Introduction](https://public-perps-docs.mintlify.app/api-reference/introduction.md): LI.FI Perps API overview, authentication, and request format - [Market Data API](https://public-perps-docs.mintlify.app/api-reference/market-data.md): Public endpoints for market information, prices, OHLCV, and orderbooks - [OpenAPI Specification](https://public-perps-docs.mintlify.app/api-reference/openapi-spec.md): Download the LI.FI Perps API OpenAPI specification for integration with SDKs and tools - [Trading API](https://public-perps-docs.mintlify.app/api-reference/trading.md): Endpoints for order placement, cancellation, and status queries - [WebSocket](https://public-perps-docs.mintlify.app/api-reference/websocket.md): WebSocket streaming via direct DEX connections - [Withdrawal API](https://public-perps-docs.mintlify.app/api-reference/withdrawal.md): Endpoints for withdrawing funds from a perps DEX to L1 - [Action Pattern](https://public-perps-docs.mintlify.app/concepts/action-pattern.md): The create → sign → submit pattern used by all mutating operations - [Advanced](https://public-perps-docs.mintlify.app/concepts/advanced.md): Request cancellation and advanced usage patterns - [Authorization Flow](https://public-perps-docs.mintlify.app/concepts/authorization.md): How DEX authorizations are discovered, built, signed, and submitted - [Multi-DEX](https://public-perps-docs.mintlify.app/concepts/multi-dex.md): Multi-DEX support for trading on multiple DEXes simultaneously - [Signing Modes](https://public-perps-docs.mintlify.app/concepts/signing-modes.md): USER and USER_AGENT signing modes, agent key storage, and key management - [Streaming](https://public-perps-docs.mintlify.app/concepts/streaming.md): Live data via WebSocket connections directly to the DEX - [Error Codes](https://public-perps-docs.mintlify.app/error-codes.md): Error codes, HTTP status codes, and troubleshooting guide - [Getting Started](https://public-perps-docs.mintlify.app/getting-started.md): Install and configure @lifi/perps-sdk - [LLMs](https://public-perps-docs.mintlify.app/llms.md): Machine-readable documentation for LLMs and AI agents - [Overview](https://public-perps-docs.mintlify.app/overview.md): Introduction to @lifi/perps-sdk - [Hyperliquid](https://public-perps-docs.mintlify.app/providers/hyperliquid.md): Signing model, account abstraction, and configuration - [Account](https://public-perps-docs.mintlify.app/sdk/account.md): Fetch account balances, positions, open orders, and trade history - [Authorization](https://public-perps-docs.mintlify.app/sdk/authorization.md): Discover, build, sign, and submit DEX authorizations - [Market Data](https://public-perps-docs.mintlify.app/sdk/market-data.md): Fetch DEX information, markets, prices, OHLCV, and orderbooks - [Streaming](https://public-perps-docs.mintlify.app/sdk/streaming.md): Subscribe to live price feeds, orderbook updates, fills, and order status via WebSocket - [Trading](https://public-perps-docs.mintlify.app/sdk/trading.md): Place orders, cancel orders, and query order status - [Withdrawal](https://public-perps-docs.mintlify.app/sdk/withdrawal.md): Withdraw funds from a DEX perps account ## OpenAPI Specs - [perps-api](https://public-perps-docs.mintlify.app/perps-api.yaml) Built with [Mintlify](https://mintlify.com).