# 4Cx API ## Docs - [Log in](https://docs.4cx.io/pages/authentication/log-in.md): Exchange username and password for a session token. - [Take with coins](https://docs.4cx.io/pages/coins-only/take-with-coins.md): Place a limit order to take resting liquidity in Gold Coins mode. - [Errors](https://docs.4cx.io/pages/errors.md): Example error responses for common API failures. - [About the 4Cx API](https://docs.4cx.io/pages/introduction/about.md): Overview of automated play, modes, fees, and support contacts. - [Getting started](https://docs.4cx.io/pages/introduction/getting-started.md): Authentication, public-mode header, and base URL. - [Get orderbook](https://docs.4cx.io/pages/markets/get-orderbook.md): Returns depth for the selected game. - [List events](https://docs.4cx.io/pages/markets/list-events.md): Returns event names you can use to narrow the schedule. - [Cancel order](https://docs.4cx.io/pages/orders/cancel-order.md): Cancels a single open order you own. - [List my open orders](https://docs.4cx.io/pages/orders/list-open-orders.md): Lists your unmatched open offers on the exchange. - [Look up single order](https://docs.4cx.io/pages/orders/lookup-order.md): Returns one order you own by session id. - [Place order](https://docs.4cx.io/pages/orders/place-order.md): Place resting offers or matched takes via /session/v2/place. - [Streaming API (Socket.IO)](https://docs.4cx.io/pages/streaming/introduction.md): Real-time price and position feeds over Socket.IO. - [Sweepstakes walkthrough](https://docs.4cx.io/pages/sweepstakes-walkthrough.md): Recommended order of API calls for sweepstakes integrations. ## OpenAPI Specs - [openapi](https://docs.4cx.io/api-reference/openapi.json)