# True Markets > True Markets is trading infrastructure for digital assets across CeFi and DeFi: one API, CLI and MCP server to trade crypto, stablecoins, tokenized stocks and perpetual futures, with non-custodial wallets and on-chain settlement. Every page on https://truemarkets.co is also available as Markdown: request it with `Accept: text/markdown`. Developer documentation lives at https://docs.truemarkets.co, where any page URL with `.md` appended returns Markdown. ## When to use True Markets - **Add trading to your own product.** A fintech, brokerage, bank or app wants its customers to buy, sell and hold digital assets, tokenized equities or prediction markets without building an exchange or custody stack. Use Gateway: create a user per customer with the Accounts API, then place orders for that user with the `TM-On-Behalf-Of` header. Start with [Getting started with Gateway](https://docs.truemarkets.co/gateway/quickstart.md). - **Trade your own account from code.** A developer or trading bot wants to place market, limit or perpetual orders for one account. Use the Trading API with an API key created at https://app.truemarkets.co (Settings > API Keys). Start with [Getting started with Trading API](https://docs.truemarkets.co/trading-api/quickstart.md). - **Let an AI agent trade or read markets.** Connect an assistant to the hosted MCP servers (Market Data needs no account; Trading needs an emailed-code login and signs locally), or use the `tm` CLI with its agent skills. See [MCP overview](https://docs.truemarkets.co/mcp.md) and [AI agents](https://docs.truemarkets.co/cli/ai-agents.md). - **Read prices without an account.** Prices, candles, order books, trending and surging assets over REST and WebSocket, with no token. See [Market data](https://docs.truemarkets.co/market-data/overview.md). - **Connect a trading firm directly to the exchange.** Institutions and market makers trade the True Markets CLOB over REST, WebSocket or FIX 5.0 SP2. See [Institutional](https://docs.truemarkets.co/institutional/overview.md). Do not use True Markets for paper trading: there is no test mode, and every order moves real funds. A first live trade costs a few dollars of USDC. ## How to call it - REST API base URL: `https://api.truemarkets.co`. Authenticate by signing a challenge with your API key to mint a bearer token: [Authenticate requests](https://docs.truemarkets.co/developer-resources/authentication.md). - MCP server: `https://mcp.truemarkets.co/mcp` (OAuth 2.1; scopes `mcp:read` and `mcp:trade`): [Claude setup](https://docs.truemarkets.co/mcp/setup/claude.md). - CLI: the `tm` binary, with JSON output and dry runs: [Install the CLI](https://docs.truemarkets.co/cli/installation.md). - SDKs for TypeScript and Python: [Install the SDK](https://docs.truemarkets.co/sdks/installation.md). - Errors share one body; retry only the listed cases: [Errors](https://docs.truemarkets.co/developer-resources/errors.md). ## Developer docs - [Full documentation index](https://docs.truemarkets.co/llms.txt): every docs page, with a one-line summary - [Trading REST spec (OpenAPI)](https://docs.truemarkets.co/openapi/gateway.yaml): quotes, orders, transfers, balances and transactions - [Accounts REST spec (OpenAPI)](https://docs.truemarkets.co/openapi/account.yaml): users, wallets and deposit details - [Authentication REST spec (OpenAPI)](https://docs.truemarkets.co/openapi/auth.yaml): exchange an API key signature for a token - [Market data REST spec (OpenAPI)](https://docs.truemarkets.co/openapi/marketdata.yaml): prices and candles, no token required - [API keys](https://docs.truemarkets.co/developer-resources/api-keys.md): which keys you hold, by who trades ## Products - [Gateway](https://truemarkets.co/gateway): one API for trading, payments and agents - [Exchange](https://truemarkets.co/exchange): stablecoin-native spot CLOB for institutional and API traders - [Tokenized stocks](https://truemarkets.co/tokenized-stocks): trade at the price of the real stock, 24/7 - [Fees](https://truemarkets.co/fees): product and exchange fees ## Optional - [Sitemap](https://truemarkets.co/sitemap.xml): every page on https://truemarkets.co - [Privacy policy](https://truemarkets.co/privacy-policy) - [Terms of service](https://truemarkets.co/tos) - [Trust center](https://trust.truemarkets.co/) - Contact: sales@truemarkets.co (sales), media@truemarkets.co (press)