> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yellow.pro/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Overview of the Yellow.pro REST and WebSocket APIs, base URLs, and authentication.

The Yellow\.pro platform provides REST and WebSocket APIs for authentication, trading, account management, and market data. There are two base URLs:

* **Authentication API** — wallet-based authentication, JWT tokens, and session management
* **Trading API** — trading, positions, transfers, market data, and the WebSocket stream

New here? Start with [**Getting Started with API**](https://docs.yellow.pro/api-and-programmatic-access/getting-started-with-api.md) to authenticate and obtain your API keys.

## Base URLs

| API | Base URL |
| - | - |
| Authentication | `https://auth.api.yellow.pro` |
| Trading (REST + market data) | `https://trade.api.yellow.pro` |
| WebSocket | `wss://trade.api.yellow.pro` |

> [!NOTE]
>
> All examples in these docs use the production hosts above. Market data endpoints are served from the Trading API base URL and require no authentication.

## Contents

> [card] [Getting Started](https://docs.yellow.pro/api-and-programmatic-access/getting-started-with-api.md)
>
> Authentication flow, JWT and API key (HMAC) auth

> [card] [API Key Management](https://docs.yellow.pro/api-and-programmatic-access/api-key-management.md)
>
> Create, list, and revoke API keys; scopes and IP allow-lists

> [card] [Signing Requests with API Keys](https://docs.yellow.pro/api-and-programmatic-access/signing-requests-with-api-keys.md)
>
> HMAC-SHA256 signature algorithm with Node.js and Python examples

> [card] [Authentication Service API](https://docs.yellow.pro/api-and-programmatic-access/authentication-service-api.md)
>
> Challenge, verify, refresh, login, logout, /auth/me

> [card] [Trading API Service](https://docs.yellow.pro/api-and-programmatic-access/trading-api-service.md)
>
> Health, auth testing, and exchange market data

> [card] [Market Data API](https://docs.yellow.pro/api-and-programmatic-access/market-data-api.md)
>
> Prices, momentum, std, VWMA (no auth required)

> [card] [Spot Trading](https://docs.yellow.pro/api-and-programmatic-access/spot-trading-api.md)
>
> Spot accounts, orders, trades, deposits, withdrawals

> [card] [Perpetuals Trading](https://docs.yellow.pro/api-and-programmatic-access/perpetuals-trading-api.md)
>
> Positions, leverage, margin, perp orders, funding

> [card] [Account Transfers](https://docs.yellow.pro/api-and-programmatic-access/account-transfers-api.md)
>
> Internal transfers and send history

> [card] [WebSocket API](https://docs.yellow.pro/api-and-programmatic-access/websocket-api.md)
>
> Real-time streams and liquidation warnings

> [card] [Error Handling](https://docs.yellow.pro/api-and-programmatic-access/error-handling-api.md)
>
> Error response formats, codes, HTTP statuses

> [card] [Reference](https://docs.yellow.pro/api-and-programmatic-access/reference.md)
>
> Rate limits, data types, implementation notes


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.