> ## 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.

# Asset Group Sentiment

> Sentiment score for a basket of assets. Each series is one asset group, keyed by its asset group id. Compares social sentiment across groups of assets rather than one asset at a time.

|                  |                                                                                                                                             |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| Access           | Social\_mindshare\_unified                                                                                                                  |
| Timeseries model | `asset-group-sentiment`: intervals `1h`, `6h`, `1d`, series key `asset-group-id` (Asset Group ID), series must be named (up to 20 per call) |

## Endpoints

<CardGroup cols={2}>
  <Card title="Batch Get Asset Group timeseries" icon="arrow-right" href="/api-reference/data-api/social-mindshare/timeseries-asset-group-sentiment">
    Up to 20 series in one request, named by Asset Group ID in `series`.
  </Card>

  <Card title="Get Asset Group timeseries" icon="arrow-right" href="/api-reference/data-api/social-mindshare/timeseries-asset-group-sentiment-by-id">
    One series over a time window, keyed by its Asset Group ID.
  </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 asset group. |

## Example

```bash curl theme={null}
curl "https://api.blockworks.com/query/timeseries/asset-group-sentiment/1d/<asset-group-id>?timeframe=7d&selections=score" \
  -H "X-Blockworks-API-Key: $BLOCKWORKS_API_KEY"
```

See [Get Asset Group timeseries](/api-reference/data-api/social-mindshare/timeseries-asset-group-sentiment-by-id) for the response and the errors.
