# API & SDK

MegaTAO exposes a public REST API and two official SDKs for building trading bots, analytics tools, and integrations.

|                    |                                                               |
| ------------------ | ------------------------------------------------------------- |
| **REST API**       | `https://api.megatao.com` — read-only market and account data |
| **Python SDK**     | `pip install megatao-sdk` — REST reads + on-chain writes      |
| **TypeScript SDK** | `@megatao/sdk` — on-chain reads and writes via viem           |

## Pages

* [REST API](https://docs.megatao.com/api-sdk/rest-api) — endpoint reference
* [Python SDK](https://docs.megatao.com/api-sdk/python-sdk) — installation, info client, chain client
* [TypeScript SDK](https://docs.megatao.com/api-sdk/typescript-sdk) — on-chain reads and writes
