# Socially mentioned price levels

- Method: `GET`
- Path: `/price-levels`
- Tier: Pro
- HTML docs: https://docs.hiddensystems.ai/nebula/reference/get-price-levels/
- Interactive docs: https://docs.hiddensystems.ai/nebula/api/#endpoint=get-price-levels

## Description

Returns price levels extracted from social posts for one resolved asset, grouped into time and USD-price buckets with mention counts. Asset selectors support equities, commodities, indices, and crypto assets returned by GET /assets; commodity and index IDs use asset_class=equity.

## cURL Example

```bash
curl --get \
  --url 'https://nebula-api.hiddensystems.ai/api/v1/public/price-levels' \
  --data-urlencode 'asset_id=NVDA' \
  --data-urlencode 'asset_class=equity' \
  --header 'X-API-Key: YOUR_API_KEY'
```

## Path Parameters

No path parameters for this endpoint.

## Query Parameters

- `asset_id` (string, required): Canonical identifier returned by /assets. Stock, commodity, and index IDs are normally ticker or market symbols and use asset_class=equity; crypto IDs are canonical crypto slugs. asset_class is mandatory whenever asset_id is present.
- `asset_class` (string, required, allowed: equity, crypto): Namespace of asset_id, or the market class for endpoints with a class-scoped global view. Stocks, commodities, and indices use equity. Equity is the documented default only where the endpoint description states a default.
- `hours` (integer, optional, default: 720): Lookback window in hours.

## Response

OK

- `levels` (array<object>, required): Socially mentioned price-level buckets.
- `levels[].mentions` (integer, required): Number of extracted price mentions represented by this bucket.
- `levels[].price_usd` (number (double), required): Latest or observed market price in US dollars.
- `levels[].timestamp` (string (date-time), required): UTC RFC 3339 timestamp for the observation or bucket start.

Media type: `application/json`

## JSON Response

```json
{
  "levels": [
    {
      "mentions": 43,
      "price_usd": 182.41,
      "timestamp": "2026-08-07T15:00:00Z"
    }
  ]
}
```
