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

# GET /api/supply

> Retrieve complete token supply breakdown with allocation details

## Overview

The supply endpoints provide complete supply breakdown for launchpad tokens, including detailed allocation information for circulating supply, team performance packages, and liquidity positions.

> [!NOTE]
>
> For launchpad tokens, circulating supply **excludes** the team performance package but **includes** all liquidity (both FutarchyAMM and Meteora DAMM).

## Supply Breakdown

For launchpad tokens, supply is broken down into the following categories:

| Category | Description | Circulating? |
| - | - | - |
| **Circulating Supply** | Total supply minus team performance package | ✅ Yes |
| **Team Performance Package** | Locked tokens allocated to the team (price-based unlock) | ❌ No |
| **FutarchyAMM Liquidity** | Tokens in the internal FutarchyAMM for spot trading | ✅ Yes |
| **Meteora LP Liquidity** | Tokens in the external Meteora DAMM pool (POL) | ✅ Yes |

> [!WARNING]
>
> Liquidity tokens (both FutarchyAMM and Meteora) **are** counted as circulating supply since they can be traded.

## Endpoints

| Endpoint | Description |
| - | - |
| `GET /api/supply/:mintAddress` | Returns complete supply breakdown with allocation details |
| `GET /api/supply/:mintAddress/total` | Returns total supply only |
| `GET /api/supply/:mintAddress/circulating` | Returns circulating supply (excludes team performance package) |

## Full Supply Information

**Endpoint:** `GET /api/supply/:mintAddress`

Returns complete supply information for a token.

### Path Parameters

**mintAddress** `string` *required*

The SPL token mint address (Solana PublicKey)

Example: `METAwkXcqyXKy1AtsSgJ8JiUHwGCafnZL38n3vYmeta`

### Response

**result** `string` *required*

The formatted total supply as a string

**data** `object` *required*

Complete supply data object with allocation breakdown

**data properties**

**mint** `string`

The token mint address

**totalSupply** `string`

Total token supply (formatted with decimals)

**circulatingSupply** `string`

Circulating token supply - excludes team performance package (formatted with decimals)

**teamPerformancePackage** `string`

Locked tokens allocated to the team with price-based unlock - NOT circulating

**futarchyAmmLiquidity** `string`

Tokens in the internal FutarchyAMM for spot trading - IS circulating

**meteoraLpLiquidity** `string`

Tokens in the external Meteora DAMM pool (POL) - IS circulating

**decimals** `number`

Token decimal places

**rawTotalSupply** `string`

Raw total supply without decimal formatting

### Example Request

```bash cURL theme={null}
curl https://market-api.metadao.fi/api/supply/METAwkXcqyXKy1AtsSgJ8JiUHwGCafnZL38n3vYmeta
```

```javascript JavaScript theme={null}
const mintAddress = 'METAwkXcqyXKy1AtsSgJ8JiUHwGCafnZL38n3vYmeta';
const response = await fetch(`https://market-api.metadao.fi/api/supply/${mintAddress}`);
const data = await response.json();
console.log(data);
```

```python Python theme={null}
import requests

mint_address = 'METAwkXcqyXKy1AtsSgJ8JiUHwGCafnZL38n3vYmeta'
response = requests.get(f'https://market-api.metadao.fi/api/supply/{mint_address}')
data = response.json()
print(data)
```

### Example Response

```json theme={null}
{
  "result": "1000000.0",
  "data": {
    "mint": "METAwkXcqyXKy1AtsSgJ8JiUHwGCafnZL38n3vYmeta",
    "totalSupply": "1000000.0",
    "circulatingSupply": "850000.0",
    "teamPerformancePackage": "150000.0",
    "futarchyAmmLiquidity": "200000.0",
    "meteoraLpLiquidity": "100000.0",
    "decimals": 9,
    "rawTotalSupply": "1000000000000000"
  }
}
```

***

## Total Supply Only

**Endpoint:** `GET /api/supply/:mintAddress/total`

Returns just the total supply value as a plain string. Useful for integrations that only need the total supply number.

### Example Request

```bash theme={null}
curl https://market-api.metadao.fi/api/supply/METAwkXcqyXKy1AtsSgJ8JiUHwGCafnZL38n3vYmeta/total
```

### Example Response

```
1000000.0
```

> [!NOTE]
>
> This endpoint returns a plain text response, not JSON, for easy integration with tools expecting a simple number.

***

## Circulating Supply Only

**Endpoint:** `GET /api/supply/:mintAddress/circulating`

Returns just the circulating supply value as a plain string. This value **excludes** the team performance package but **includes** all liquidity positions.

> [!NOTE]
>
> **Circulating = Total Supply - Team Performance Package**
>
> Both FutarchyAMM liquidity and Meteora LP liquidity are included in circulating supply since these tokens are actively tradeable.

### Example Request

```bash theme={null}
curl https://market-api.metadao.fi/api/supply/METAwkXcqyXKy1AtsSgJ8JiUHwGCafnZL38n3vYmeta/circulating
```

### Example Response

```
850000.0
```

> [!NOTE]
>
> This endpoint returns a plain text response, not JSON, for easy integration with price aggregators like CoinGecko and CoinMarketCap.

***

## Use Cases

> [card] Price Aggregators
>
> CoinGecko and CoinMarketCap require supply endpoints for market cap calculations

> [card] Token Dashboards
>
> Display real-time supply metrics on token information pages

> [card] Analytics
>
> Track supply changes over time for tokenomics analysis

> [card] DeFi Integrations
>
> Calculate fully diluted valuations and token metrics

## Error Handling

### Invalid Mint Address

```json theme={null}
{
  "error": "Invalid mint address"
}
```

### Mint Not Found

```json theme={null}
{
  "error": "Token mint not found"
}
```

## Related Documentation

> [card] [Tickers API](https://api-docs.metadao.fi/api-reference/tickers.md)
>
> Get pricing and volume data for all DAOs

> [card] [Volume Aggregate](https://api-docs.metadao.fi/api-reference/volume-aggregate.md)
>
> Get aggregate volume with daily breakdown

> [card] [API Overview](https://api-docs.metadao.fi/api-reference/overview.md)
>
> Learn about the API architecture

> [card] [Error Handling](https://api-docs.metadao.fi/advanced/error-handling.md)
>
> Handle API errors properly


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