# API

- [Introduction](/api/introduction.md): Overview of the Outpoll APIs
- [FAQ](/api/faq.md): Authentication, API keys, rate limits, and core integration rules
- [REST API](/api/rest-api.md)
- [Public Endpoints](/api/rest-api/public-endpoints.md)
- [Get Available Coins](/api/rest-api/public-endpoints/get-available-coins.md): Return the list of supported coins and assets
- [Search Events](/api/rest-api/public-endpoints/search-events.md): Search and browse prediction markets
- [Get Categories](/api/rest-api/public-endpoints/get-categories.md): Retrieve all event categories
- [Get Popular Tags](/api/rest-api/public-endpoints/get-popular-tags.md): Retrieve trending tags
- [Private Endpoints](/api/rest-api/private-endpoints.md)
- [Portfolio](/api/rest-api/private-endpoints/portfolio.md): Positions, balances, active orders, and deposit endpoints
- [History & Stats](/api/rest-api/private-endpoints/history-and-stats.md): Orders, trades, transactions, activity, and trading metrics
- [Orders](/api/rest-api/private-endpoints/orders.md): Place, inspect, and cancel trading orders
- [Place Market Order](/api/rest-api/private-endpoints/orders/place-market-order.md): Execute an order at the best available price
- [Get Active Orders](/api/rest-api/private-endpoints/orders/get-active-orders.md): Return active unfilled orders
- [Cancel Order](/api/rest-api/private-endpoints/orders/cancel-order.md): Cancel an active limit order
- [Place Limit Order](/api/rest-api/private-endpoints/orders/place-limit-order.md): Place a limit order at a specific price
- [Take Profit / Stop Loss](/api/rest-api/private-endpoints/orders/take-profit-stop-loss.md): Create take-profit and stop-loss orders for a position
- [Get TP/SL Orders](/api/rest-api/private-endpoints/orders/get-tp-sl-orders.md): Return active take-profit and stop-loss orders
- [Cancel TP/SL Order](/api/rest-api/private-endpoints/orders/cancel-tp-sl-order.md): Cancel an active take-profit or stop-loss order
- [Positions](/api/rest-api/private-endpoints/positions.md): Open positions and active order snapshots
- [Balances](/api/rest-api/private-endpoints/balances.md): Available and enriched balance views
- [Deposit](/api/rest-api/private-endpoints/deposit.md): Retrieve the authenticated user's USDC deposit address
- [History](/api/rest-api/private-endpoints/history.md): Orders, trades, transactions, activity, and profile metrics
- [Websockets](/api/rest-api/websockets.md)
- [Order Book](/api/rest-api/websockets/order-book.md): Real-time best bid, best ask, and last chance updates
- [Chance History](/api/rest-api/websockets/chance-history.md): Real-time probability updates and chart history
- [Account & History Streams](/api/rest-api/websockets/account-and-history-streams.md): Order, balance, activity, and trade WebSocket endpoints
- [Order Updates](/api/rest-api/websockets/account-and-history-streams/order-updates.md): Real-time order execution and TP/SL status events
- [Balance Updates](/api/rest-api/websockets/account-and-history-streams/balance-updates.md): Initial balance snapshot and live balance delta events
- [Order Feed](/api/rest-api/websockets/account-and-history-streams/order-feed.md): Live order status events from the history service
- [Activity Feed](/api/rest-api/websockets/account-and-history-streams/activity-feed.md): Live event activity stream with subscribe and unsubscribe
- [Last Trades Feed](/api/rest-api/websockets/account-and-history-streams/last-trades-feed.md): Public stream of the latest platform trades
- [WebSocket API Reference](/api/rest-api/websockets/websocket-api-reference.md): Full authentication, message, and stream reference for all WebSocket endpoints
- [Python Examples](/api/rest-api/python-examples.md): End-to-end Python scripts for common Outpoll REST and WebSocket workflows
- [Setup & Helpers](/api/rest-api/python-examples/setup-and-helpers.md): Python environment setup and shared REST and WebSocket helpers
- [Buy a Liquid Event](/api/rest-api/python-examples/buy-a-liquid-event.md): Monitor a liquid market and place a market buy when the YES price reaches a target
- [Set TP/SL on Open Positions](/api/rest-api/python-examples/set-tp-sl-on-open-positions.md): Fetch open positions and submit one take-profit and stop-loss order per position
- [Copy Large Trades](/api/rest-api/python-examples/copy-large-trades.md): Listen to the public trade feed and copy trades above a chosen value threshold
- [Cross-Platform Price Monitor](/api/rest-api/python-examples/cross-platform-price-monitor.md): Compare live best bids across Kalshi, Polymarket, and Outpoll
