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

# Data APIs

> Access comprehensive on-chain market data, token analytics, wallet portfolios, and more.

## Overview

Mobula's Data APIs provide real-time and historical access to on-chain data across 40+ blockchains:

<CardGroup cols={3}>
  <Card title="Market Data" icon="chart-line" color="#5C7DF9">
    Token prices, market caps, liquidity, and detailed token analytics across all supported chains.
  </Card>

  <Card title="Trades & History" icon="clock-rotate-left" color="#5C7DF9">
    Historical prices, OHLCV candles, and real-time trade feeds with enriched metadata.
  </Card>

  <Card title="Wallet & Portfolio" icon="wallet" color="#5C7DF9">
    Portfolio balances, trade history, DeFi positions, PnL tracking, and wallet labels.
  </Card>
</CardGroup>

## Authentication

All endpoints require an API key. Get one for free at [admin.mobula.io](https://admin.mobula.io).

```bash theme={null}
curl "https://api.mobula.io/api/2/token/price?address=So11111111111111111111111111111111111111112" \
  -H "Authorization: YOUR_API_KEY"
```

## Base URL

| Environment         | URL                                                                     |
| ------------------- | ----------------------------------------------------------------------- |
| Production          | `https://api.mobula.io/api/2`                                           |
| Demo (rate-limited) | `https://demo-api.mobula.io/api/2` (no key required for some endpoints) |
