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

> Volume-weighted average price candles for an asset: open, high, low, close and volume in USD. Each series is one asset, keyed by its asset id. The model for price charts, returns and backtests.

|                  |                                                                                                                            |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Access           | Paid                                                                                                                       |
| Timeseries model | `asset-price`: intervals `5m`, `1h`, `1d`, `1w`, series key `assetID` (Asset ID), series must be named (up to 20 per call) |

## Endpoints

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

  <Card title="Get Asset timeseries" icon="arrow-right" href="/api-reference/data-api/assets/timeseries-asset-price-by-id">
    One series over a time window, keyed by its Asset ID.
  </Card>
</CardGroup>

## Metrics

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

| Field    | Name        | Type    | Unit | Description                           |
| -------- | ----------- | ------- | ---- | ------------------------------------- |
| `open`   | Open Price  | float64 | usd  | Price at the candle open.             |
| `high`   | High Price  | float64 | usd  | High price during the candle.         |
| `low`    | Low Price   | float64 | usd  | Low price during the candle.          |
| `close`  | Close Price | float64 | usd  | Price at the candle close.            |
| `volume` | Volume      | float64 |      | Total trade volume during the candle. |

## Example

```bash curl theme={null}
curl "https://api.blockworks.com/query/timeseries/asset-price/1d/1e31218a-e44e-4285-820c-8282ee222035?timeframe=7d&selections=close,volume" \
  -H "X-Blockworks-API-Key: $BLOCKWORKS_API_KEY"
```

See [Get Asset timeseries](/api-reference/data-api/assets/timeseries-asset-price-by-id) for the response and the errors.
