---
title: "Get Prices"
method: GET
path: "/api/v1/hyperliquid/prices"
tags: ["Hyperliquid"]
---

# Get Prices

`GET /api/v1/hyperliquid/prices`

## Request

- Base URL: `https://cryptodataapi.com`
- URL: `https://cryptodataapi.com/api/v1/hyperliquid/prices`
- Auth: API key in header `X-API-Key`

All mid prices across Hyperliquid assets.

``as_of`` (ms) is when the ``allMids`` snapshot was fetched from HL (the
cache refreshes every 60s, stale-while-refresh); ``generated_at`` (ms) is
when this response was built.

## Response `200`

Successful Response

- HLPricesResponse: All Hyperliquid mid prices.
  - `prices` object, required
  - `count` integer, required
  - `as_of` integer, nullable
  - `generated_at` integer, nullable

---

[API](https://skmtc.dev/cryptodataapi/apis/crypto-data-api.md) · [All operations](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/revisions/8628b754ca81?raw)
