---
title: "Per-market 24h/7d/cumulative volume and swap fees."
method: GET
path: "/v1/analytics/markets/volume/summary"
tags: ["markets"]
---

# Per-market 24h/7d/cumulative volume and swap fees.

`GET /v1/analytics/markets/volume/summary`

USD × 1e18, one row per market, non-overlapping — protocol totals are a plain sum. Fees are the total cryptopool trade fee. `includeLegacy=true` for protocol-wide totals; the default omits legacy markets, ~14% of all-time swap volume.

## Query parameters

- `chainId` string
- `includeLegacy` string

## Response `200`

Per-market volume summary

- object
  - `success` true, required
  - `data` object[], required
    - `marketId` string, required
    - `swapVolume24hUsdRaw` string, required
    - `swapVolume7dUsdRaw` string, required
    - `swapVolumeCumulativeUsdRaw` string, required
    - `ammVolume24hUsdRaw` string, required
    - `ammVolume7dUsdRaw` string, required
    - `ammVolumeCumulativeUsdRaw` string, required
    - `swapFees24hUsdRaw` string, required
    - `swapFees7dUsdRaw` string, required
    - `swapFeesCumulativeUsdRaw` string, required
  - `timestamp` string, required

## Other responses

- `400` — Invalid request
- `500` — Internal error
- `502` — Upstream data/schema error

---

[API](https://skmtc.dev/yieldbasis/apis/yieldbasis-api.md) · [All operations](https://skmtc.dev/yieldbasis/apis/yieldbasis-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/yieldbasis/yieldbasis-api/revisions/b5b24c7435c8/schema)
