# Sahi Docs > REST and WebSocket API reference and integration guides for the Sahi APIs — orders, portfolio, funds and market data. ## API reference - [Introduction](https://docs.sahi.com/): Every v1 REST and WebSocket endpoint, field by field. - [Authentication](https://docs.sahi.com/api/v1/reference/authentication/): Create an API key, register the static IP you call from, and exchange the key for an access token. - [Orders](https://docs.sahi.com/api/v1/reference/orders/): Place, modify and cancel orders, read the order book and the trades behind each order, and follow live order updates. - [Portfolio](https://docs.sahi.com/api/v1/reference/portfolio/): Your open positions and demat holdings. - [Funds](https://docs.sahi.com/api/v1/reference/funds/): Your available balances per order kind, and the margin an order would need before you place it. - [Account](https://docs.sahi.com/api/v1/reference/account/): Your identity and account status. - [Market data](https://docs.sahi.com/api/v1/reference/market-data/): Last traded price, full quotes with depth, historical candles, and the live tick stream. - [Scrip master](https://docs.sahi.com/api/v1/reference/scrip-master/): The daily instrument file every request maps its symbols through. ## Python SDK - [Getting started](https://docs.sahi.com/sdk/python/): Install the official Python client, authenticate, resolve an instrument, read the market, and place and cancel an order. - [Authentication](https://docs.sahi.com/sdk/python/authentication/): Mint a token in one call or share one across processes, narrow its scopes, and rotate at 06:00 IST. - [Orders](https://docs.sahi.com/sdk/python/orders/): Place, modify and cancel orders, and read the order book and trades from Python. - [Portfolio](https://docs.sahi.com/sdk/python/portfolio/): Read your open positions and demat holdings. - [Funds](https://docs.sahi.com/sdk/python/funds/): Read available balances and quote the margin an order or basket would need. - [Account](https://docs.sahi.com/sdk/python/account/): Read your profile. - [Market data](https://docs.sahi.com/sdk/python/market-data/): Last traded price, quotes with depth, candles and the option chain. - [Scrip master](https://docs.sahi.com/sdk/python/scrip-master/): Load the daily instrument file and look instruments up by id, symbol or ISIN. - [Live streams](https://docs.sahi.com/sdk/python/streams/): SahiFeed: the tick stream and order updates, with reconnect and a local tick cache. - [Errors](https://docs.sahi.com/sdk/python/errors/): The exception hierarchy, how a reply maps onto it, what each exception carries, and how to catch by class. ## Notes - Append `.md` to any page URL for its Markdown source. - The whole site as one file: https://docs.sahi.com/llms-full.txt