> ## 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 Asset Sentiment

> Social sentiment score aggregated over the assets in a sub-sector. Each series is one sub-sector, keyed by its name.

|                  |                                                                                                                                     |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| Access           | Social\_mindshare\_unified                                                                                                          |
| Timeseries model | `sub-sector-asset-sentiment`: intervals `1h`, `6h`, `1d`, 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/social-mindshare/timeseries-sub-sector-asset-sentiment">
    Every series in one request, or the named ones.
  </Card>

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

## Metrics

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

| Field   | Name  | Type    | Unit | Description                                  |
| ------- | ----- | ------- | ---- | -------------------------------------------- |
| `score` | Score | float64 |      | The asset sentiment score of the sub-sector. |

## Example

```bash curl theme={null}
curl "https://api.blockworks.com/query/timeseries/sub-sector-asset-sentiment/1d/AI%20Agents?timeframe=7d&selections=score" \
  -H "X-Blockworks-API-Key: $BLOCKWORKS_API_KEY"
```

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