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

# Sub-Sector Marketdata

> Circulating market capitalization and trading volume in USD summed over the assets in a sub-sector. Each series is one sub-sector, keyed by its name.

| | |
| - | - |
| Access | Sector-marketdata-dataset |
| Timeseries model | `sub-sector-marketdata`: intervals `1d`, `1h`, series key `sub-sector` (Sub-Sectors), every series available in one call |

## Endpoints

<CardGroup cols={2}>
  <Card title="Batch Get Sub-Sector timeseries" icon="arrow-right" href="/api-reference/data-api/sector-market-data/timeseries-sub-sector-marketdata">
    Every series in one request, or the named ones.
  </Card>

  <Card title="Get Sub-Sector timeseries" icon="arrow-right" href="/api-reference/data-api/sector-market-data/timeseries-sub-sector-marketdata-by-id">
    One series over a time window, keyed by its Sub-Sectors.
  </Card>
</CardGroup>

## Metrics

2 metrics. Use the `Field` value in `selections`; every point starts with the timestamp and continues in this order.

| Field | Name | Type | Unit | Description |
| - | - | - | - | - |
| `circulating-marketcap` | Circulating Marketcap | float64 | usd | The circulating marketcap of the sub-sector. |
| `volume` | Volume | float64 | usd | The volume of the sub-sector during the time interval. |

## Example

```bash curl theme={null}
curl "https://api.blockworks.com/query/timeseries/sub-sector-marketdata/1d/AAA%20Games?timeframe=7d&selections=circulating-marketcap,volume" \
  -H "X-Blockworks-API-Key: $BLOCKWORKS_API_KEY"
```

See [Get Sub-Sector timeseries](/api-reference/data-api/sector-market-data/timeseries-sub-sector-marketdata-by-id) for the response and the errors.


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