---
title: "Get historical HBAR price data (minutely)"
method: GET
path: "/stats/hbarHistoricalPrices"
tags: ["Stats"]
---

# Get historical HBAR price data (minutely)

`GET /stats/hbarHistoricalPrices`

## Request

- Base URL: `https://api.saucerswap.finance`
- URL: `https://api.saucerswap.finance/stats/hbarHistoricalPrices`
- Auth: none required
- TypeScript: <https://skmtc.dev/saucerswap/apis/saucerswap-rest-api/docs/stats/hbarHistoricalPrices/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `from` integer, required: From unix seconds
- `to` integer, required: To unix seconds

## Headers

- `x-api-key` string, required

## Response `200`

Successful response

- object[]
  - `priceUsd` number: HBAR price in USD
  - `timestampSeconds` integer: Unix timestamp in seconds

---

[API](https://skmtc.dev/saucerswap/apis/saucerswap-rest-api.md) - [All operations](https://skmtc.dev/saucerswap/apis/saucerswap-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/saucerswap/apis/saucerswap-rest-api/revisions/6c4d55a0e793?raw)
