> ## Documentation Index
> Fetch the complete documentation index at: https://sonar-cf3aeac7.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get token markets

> List the pools (markets) that trade a token, ordered by 24h volume, with the token always as the base.

Returns the pools on one chain that contain a token, each as a full market object, plus a count of the token's pools that have stats. Use it to build a "markets" or "pairs" table for a token.

## Query parameters

**address** `string` *required*

Token contract address: `0x` followed by 40 hex characters. Case-insensitive.

**chain** `string` *required*

Chain ID, as a number (`8453`) or in `evm:<id>` form (`evm:8453`). See [Chains and identifiers](https://sonar-cf3aeac7.mintlify.site/concepts/chains-and-identifiers.md).

**limit** `integer` (default: 10)

Maximum number of pools to return. Between `1` and `25`.

## Response

**status** `string`

Always `"success"`.

**data** `object`

**properties**

**markets** `MarketDetailsOutput[]`

The token's pools, ordered by pool 24h volume (highest first), then by pool liquidity. The requested token is always `baseToken` and `base` in every market. Fields are listed below.

**totalCount** `number`

Number of the token's pools on this chain that have stats. Use it to show a total such as "37 markets".

### `MarketDetailsOutput` fields

Each item in `markets` has these fields. Prices and stats refer to the base token, which here is always the token you asked for.

**address** `string`

Pool address (20 bytes) or 32-byte pool id, lowercase.

**chainId** `string`

Chain in `evm:<id>` form, for example `evm:1`.

**blockchain** `string | null`

Chain display name, for example `Ethereum` or `Base`. `null` if the chain has no configuration.

**type** `string`

Pool type id, for example `uniswap-v2`, `uniswap-v3`, `uniswap-v4`, `pancakeswap-infinity-cl`, `clanker-v4` or `fourmeme`. See [Protocols and launchpads](https://sonar-cf3aeac7.mintlify.site/concepts/protocols-and-launchpads.md) and [`GET /protocols`](https://sonar-cf3aeac7.mintlify.site/api-reference/protocols/get-protocols) for the list per chain.

**exchange** `object | null`

Exchange that runs the pool. `null` when it can't be identified.

**properties**

**name** `string`

Exchange display name, for example `Uniswap`.

**logo** `string | null`

Logo URL. `null` when no logo is known.

**factory** `string | null`

Factory contract that created the pool.

**sourceFactory** `string | null`

Originating factory, for example a launchpad factory, when it differs from the DEX factory.

**poolFeePercentage** `number | null`

Swap fee as a **fraction**, not a percentage: `0.003` means a 0.3% fee and `0.0005` means 0.05%. `null` when the fee is unknown.

**deployer** `string | null`

Address that deployed the pool.

**createdAt** `string | null`

Pool creation time, ISO 8601 (UTC).

**bonded** `boolean`

`true` once a launchpad token has completed its bonding curve. `false` for ordinary pools.

**bondingPercentage** `number | null`

Bonding-curve progress on a 0 to 100 scale.

**bondingCurveAddress** `string | null`

Address of the pre-bonding curve pool, for launchpad tokens that graduated to this pool.

**baseToken** `string`

Address of the base token. Prices in this object are prices of the base token.

**quoteToken** `string`

Address of the quote token (the other token in the pool).

**tokenSymbol** `string | null`

Base token symbol.

**tokenName** `string | null`

Base token name.

**priceUSD** `number`

USD price of the base token as implied by this pool. Same value as `base.priceUSD`, or `0` when `base` is `null`.

**priceToken** `number`

Price of one base token in quote-token units. Same value as `base.priceToken`, or `0` when `base` is `null`.

**priceTokenString** `string | null`

Exact pool price of the base token in quote-token units, as a decimal string with **32 fractional digits** (for example `"3512.07000000000000000000000000000000"`). It is computed from the pool's on-chain price and both tokens' decimals. Use it when float precision matters. `null` when it can't be computed, for example when either token's details are unknown.

**liquidityUSD** `number`

Pool liquidity in USD. `0` when the pool has no stats yet.

**marketCapUSD** `number`

Market cap from the pool's stats. `0` when the pool has no stats.

**marketCapDilutedUSD** `number`

Fully diluted market cap from the pool's stats. `0` when the pool has no stats.

**latestTradeDate** `string | null`

Time of the pool's latest trade, ISO 8601 (UTC).

**priceChange\{W}Percentage** `number`

Price change of the pool's base token over window `W`, in percent (`2.5` means +2.5%). `W` is one of `1min`, `5min`, `1h`, `4h`, `6h`, `12h`, `24h`. There is no `15min` price change. `0` when there is no earlier price.

**volume\{W}USD, volumeBuy\{W}USD, volumeSell\{W}USD** `number`

Total, buy and sell volume in USD over window `W`. `W` is one of `1min`, `5min`, `15min`, `1h`, `4h`, `6h`, `12h`, `24h`.

**trades\{W}, buys\{W}, sells\{W}** `number`

Number of trades, buys and sells over window `W`.

**buyers\{W}, sellers\{W}, traders\{W}** `number`

Number of distinct buying, selling and trading wallets over window `W`.

**feesPaid\{W}USD** `number`

Gas fees paid by traders for the pool's trades over window `W`, in USD.

**description** `string | null`

Base token description.

**socials** `object | null`

Base token social links.

**properties**

**twitter** `string | null`

**website** `string | null`

**telegram** `string | null`

**dexscreenerListed** `boolean`

Whether the base token is listed on DEX Screener.

**extraData** `object | null`

Pool-type-specific state, such as `sqrtPriceX96` or `tickSpacing` for concentrated-liquidity pools. Large integers are sent as strings. The keys depend on the pool type and may change, so treat this object as opaque and don't rely on specific keys. `null` when there is nothing to report.

**base** `MarketTokenOutput | null`

Details of the base token. `null` if the token's details are not stored.

**MarketTokenOutput**

**address** `string`

Token address, lowercase.

**chainId** `string`

Chain in `evm:<id>` form.

**name** `string`

**symbol** `string`

**decimals** `number`

**logo** `string | null`

Logo URL.

**assetId** `number | null`

Id of the cross-chain asset this token belongs to. Pass it to [`GET /asset/ohlcv`](https://sonar-cf3aeac7.mintlify.site/api-reference/asset/get-asset-ohlcv) and [`GET /asset/history`](https://sonar-cf3aeac7.mintlify.site/api-reference/asset/get-asset-history).

**deployer** `string | null`

Address that deployed the token.

**source** `string | null`

Launchpad id when the token was launched on a known launchpad, otherwise `null`.

**sourceMetadata** `object | null`

Launchpad display data: `name` (string) and `logo` (string or `null`).

**priceUSD** `number`

USD price. For the base token: `1` if it is a known stablecoin; otherwise the pool price times the quote token's USD price when both are known; otherwise the token's global USD price. For the quote token: its global USD price.

**priceToken** `number`

Price of one unit of this token in units of the other token in the pool. Falls back to the ratio of the two USD prices when the pool price is unavailable, and to `0` when neither is known.

**totalSupply** `string | null`

Total supply as a raw integer string in base units. Divide by `10^decimals` for a display value.

**circulatingSupply** `string | null`

Circulating supply as a raw integer string in base units.

**marketCapUSD** `number`

Token-level market cap. `0` when unknown.

**marketCapDilutedUSD** `number`

Token-level fully diluted market cap. `0` when unknown.

**liquidityUSD** `number`

Token-level liquidity in USD, summed over the token's top pools and counting only the weaker side of each pool. `0` when unknown.

**liquidityMaxUSD** `number`

Like `liquidityUSD`, but counting the full liquidity (both sides) of each of those pools. `0` when unknown.

**approximateReserveToken** `number`

This token's reserve in the pool, adjusted for decimals.

**approximateReserveTokenRaw** `string`

This token's reserve in the pool as a raw integer string in base units.

**approximateReserveUSD** `number`

`approximateReserveToken × priceUSD`.

**quote** `MarketTokenOutput | null`

Details of the quote token, with the same fields as `base`. Here `priceUSD` is the quote token's global USD price and `priceToken` is the price of one quote token in base-token units. `null` if the token's details are not stored.

## Behavior

* **The requested token is always the base.** Regardless of how the pool stores its pair, `baseToken` is the `address` you passed and `quoteToken` is the other token. `priceUSD`, `priceToken` and the price changes are therefore prices of your token. (Other market endpoints, such as [`GET /market/details`](https://sonar-cf3aeac7.mintlify.site/api-reference/market/get-market-details), may orient the pair differently.)
* **Ordering.** Pools are ordered by 24h volume, then liquidity, both descending.
* **Stats are pool-level.** `liquidityUSD`, the volume, trade and wallet counts are for the individual pool, not for the token as a whole. Token-wide numbers are in `base` or in [`GET /token`](https://sonar-cf3aeac7.mintlify.site/api-reference/token/get-token).
* **No pagination.** There is no `offset` or cursor. You can get at most the top 25 pools.
* **Unindexed tokens return 404.** The token must already be indexed on that chain. An indexed token with no pools returns `200` with `{ "markets": [], "totalCount": 0 }`.
* A successful request with at least one market can trigger the same background supply refresh as [`GET /token`](https://sonar-cf3aeac7.mintlify.site/api-reference/token/get-token).

> [!WARNING]
>
> **`markets.length` can be smaller than `limit`.** The API first takes the top `limit` pools, then drops pools that have no stats yet. Pools without stats sort last, so this only happens when the token has fewer than `limit` pools with stats. `totalCount` also counts only pools with stats. For example, a token with 6 pools of which 4 have stats returns 4 markets and `totalCount: 4` for `limit=10`.

> [!NOTE]
>
> `poolFeePercentage` is a **fraction**: `0.0005` means a 0.05% fee. The `priceChange*Percentage` fields, by contrast, are real percentages.

## Errors

| HTTP | `code` | When |
| - | - | - |
| 400 | `INVALID_ADDRESS` | `address` is not a valid 40-hex address, and that is the only problem. |
| 400 | `INVALID_PARAMETERS` | A required parameter is missing, `chain` is malformed, `limit` is outside 1 to 25, or there are several problems at once. |
| 404 | `TOKEN_NOT_FOUND` | `Token not found`: the token is not indexed on that chain. |
| 500 | `INTERNAL_ERROR` | Unexpected server error. |

```bash cURL theme={null}
curl "https://api.example.com/api/v1/token/markets?address=0x4200000000000000000000000000000000000006&chain=8453&limit=1"
```

```javascript JavaScript theme={null}
const params = new URLSearchParams({
  address: "0x4200000000000000000000000000000000000006",
  chain: "8453",
  limit: "10",
});
const res = await fetch(`https://api.example.com/api/v1/token/markets?${params}`);
const body = await res.json();
if (body.status !== "success") throw new Error(`${body.code}: ${body.message}`);

const { markets, totalCount } = body.data;
for (const m of markets) {
  console.log(m.exchange?.name, m.type, m.quote?.symbol, m.liquidityUSD, m.volume24hUSD);
}
console.log(`${totalCount} markets in total`);
```

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

res = requests.get(
    "https://api.example.com/api/v1/token/markets",
    params={"address": "0x4200000000000000000000000000000000000006", "chain": "8453", "limit": 10},
    timeout=10,
)
body = res.json()
if body["status"] != "success":
    raise RuntimeError(f'{body["code"]}: {body["message"]}')

for m in body["data"]["markets"]:
    print(m["type"], (m["quote"] or {}).get("symbol"), m["liquidityUSD"], m["volume24hUSD"])
print(body["data"]["totalCount"], "markets in total")
```

```json 200 theme={null}
{
  "status": "success",
  "data": {
    "markets": [
      {
        "address": "0xd0b53d9277642d899df5c87a3966a349a798f224",
        "chainId": "evm:8453",
        "blockchain": "Base",
        "type": "uniswap-v3",
        "exchange": {
          "name": "Uniswap",
          "logo": null
        },
        "factory": "0x33128a8fc17869897dce68ed026d694621f6fdfd",
        "sourceFactory": null,
        "poolFeePercentage": 0.0005,
        "deployer": null,
        "createdAt": "2023-08-09T17:21:43.000Z",
        "bonded": false,
        "bondingPercentage": null,
        "bondingCurveAddress": null,
        "baseToken": "0x4200000000000000000000000000000000000006",
        "quoteToken": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "tokenSymbol": "WETH",
        "tokenName": "Wrapped Ether",
        "priceUSD": 3412.57,
        "priceToken": 3412.57,
        "priceTokenString": "3412.57000000000000000000000000000000",
        "liquidityUSD": 21004512.77,
        "marketCapUSD": 622264019.3,
        "marketCapDilutedUSD": 622264019.3,
        "latestTradeDate": "2026-12-03T09:14:05.000Z",
        "priceChange1minPercentage": 0.1,
        "priceChange5minPercentage": -0.31,
        "priceChange1hPercentage": 1.79,
        "priceChange4hPercentage": 3.02,
        "priceChange6hPercentage": 2.66,
        "priceChange12hPercentage": -4.11,
        "priceChange24hPercentage": 6.38,
        "volume1minUSD": 910.2,
        "volume5minUSD": 5120.4,
        "volume15minUSD": 15300.1,
        "volume1hUSD": 58210.9,
        "volume4hUSD": 240110.3,
        "volume6hUSD": 350980.2,
        "volume12hUSD": 671220.5,
        "volume24hUSD": 1390442.8,
        "volumeBuy1minUSD": 455.1,
        "volumeBuy5minUSD": 2560.2,
        "volumeBuy15minUSD": 7650.05,
        "volumeBuy1hUSD": 29105.45,
        "volumeBuy4hUSD": 120055.15,
        "volumeBuy6hUSD": 175490.1,
        "volumeBuy12hUSD": 335610.25,
        "volumeBuy24hUSD": 695221.4,
        "volumeSell1minUSD": 455.1,
        "volumeSell5minUSD": 2560.2,
        "volumeSell15minUSD": 7650.05,
        "volumeSell1hUSD": 29105.45,
        "volumeSell4hUSD": 120055.15,
        "volumeSell6hUSD": 175490.1,
        "volumeSell12hUSD": 335610.25,
        "volumeSell24hUSD": 695221.4,
        "trades1min": 2,
        "trades5min": 12,
        "trades15min": 38,
        "trades1h": 141,
        "trades4h": 602,
        "trades6h": 880,
        "trades12h": 1702,
        "trades24h": 3410,
        "buys1min": 1,
        "buys5min": 6,
        "buys15min": 19,
        "buys1h": 71,
        "buys4h": 300,
        "buys6h": 441,
        "buys12h": 850,
        "buys24h": 1706,
        "sells1min": 1,
        "sells5min": 6,
        "sells15min": 19,
        "sells1h": 70,
        "sells4h": 302,
        "sells6h": 439,
        "sells12h": 852,
        "sells24h": 1704,
        "buyers1min": 1,
        "buyers5min": 5,
        "buyers15min": 14,
        "buyers1h": 52,
        "buyers4h": 210,
        "buyers6h": 301,
        "buyers12h": 580,
        "buyers24h": 1150,
        "sellers1min": 1,
        "sellers5min": 4,
        "sellers15min": 12,
        "sellers1h": 47,
        "sellers4h": 190,
        "sellers6h": 280,
        "sellers12h": 540,
        "sellers24h": 1080,
        "traders1min": 2,
        "traders5min": 8,
        "traders15min": 24,
        "traders1h": 90,
        "traders4h": 370,
        "traders6h": 540,
        "traders12h": 1040,
        "traders24h": 2060,
        "feesPaid1minUSD": 0.2,
        "feesPaid5minUSD": 1.3,
        "feesPaid15minUSD": 4.1,
        "feesPaid1hUSD": 15.2,
        "feesPaid4hUSD": 64.8,
        "feesPaid6hUSD": 95.0,
        "feesPaid12hUSD": 183.1,
        "feesPaid24hUSD": 370.6,
        "description": null,
        "socials": {
          "twitter": null,
          "website": "https://weth.io",
          "telegram": null
        },
        "dexscreenerListed": true,
        "extraData": {
          "tick": -198410,
          "tickSpacing": 10
        },
        "base": {
          "address": "0x4200000000000000000000000000000000000006",
          "chainId": "evm:8453",
          "name": "Wrapped Ether",
          "symbol": "WETH",
          "decimals": 18,
          "logo": "https://assets.coingecko.com/coins/images/2518/large/weth.png",
          "assetId": 2,
          "deployer": null,
          "source": null,
          "sourceMetadata": null,
          "priceUSD": 3412.57,
          "priceToken": 3412.57,
          "totalSupply": "182345671234567890123456",
          "circulatingSupply": "182345671234567890123456",
          "marketCapUSD": 622264019.3,
          "marketCapDilutedUSD": 622264019.3,
          "liquidityUSD": 21004512.77,
          "liquidityMaxUSD": 48210334.18,
          "approximateReserveToken": 3077.41,
          "approximateReserveTokenRaw": "3077410000000000000000",
          "approximateReserveUSD": 10501820.1
        },
        "quote": {
          "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "chainId": "evm:8453",
          "name": "USD Coin",
          "symbol": "USDC",
          "decimals": 6,
          "logo": "https://assets.coingecko.com/coins/images/6319/large/usdc.png",
          "assetId": 1,
          "deployer": null,
          "source": null,
          "sourceMetadata": null,
          "priceUSD": 1,
          "priceToken": 0.000293035,
          "totalSupply": "4100000000000000",
          "circulatingSupply": "4100000000000000",
          "marketCapUSD": 4100000000,
          "marketCapDilutedUSD": 4100000000,
          "liquidityUSD": 95000000,
          "liquidityMaxUSD": 190000000,
          "approximateReserveToken": 10502692.67,
          "approximateReserveTokenRaw": "10502692670000",
          "approximateReserveUSD": 10502692.67
        }
      }
    ],
    "totalCount": 37
  }
}
```

```json 400 theme={null}
{
  "status": "error",
  "statusCode": 400,
  "code": "INVALID_PARAMETERS",
  "message": "limit: Too big: expected number to be <=25",
  "details": [
    { "field": "limit", "message": "Too big: expected number to be <=25" }
  ]
}
```

```json 404 theme={null}
{
  "status": "error",
  "statusCode": 404,
  "code": "TOKEN_NOT_FOUND",
  "message": "Token not found"
}
```


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