> For the complete documentation index, see [llms.txt](https://hertzflow.gitbook.io/hertzflow-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/latest-price-api.md).

# Latest Price API

Returns the current price plus 24h high/low/open and volume for every market.

### Endpoint

```
GET /api/v1/bsc/prices/24h
```

Base URL: `https://data-statistics-query.beatnet.htzfl.link`

### Parameters

No query parameters are required. The endpoint returns data for all available markets.

### Example Request

```bash
curl -X GET "https://data-statistics-query.beatnet.htzfl.link/api/v1/bsc/prices/24h" \
  -H "Accept: application/json"
```

### Example Response

```json
{
  "code": 200,
  "msg": "",
  "data": {
    "prices": [
      {
        "symbol": "0G/USD",
        "market_address": "0x52c835F761260B6eAd38000342648Cd3A908E8C3",
        "high_24h": "0.3060959",
        "low_24h": "0.27523748",
        "open_24h": "0.30150007",
        "current_price": "0.28250007",
        "volume_24h": "243114388698595682883465380028151330"
      }
    ]
  }
}
```

### Response Fields

| Field                               | Type   | Description                                 |
| ----------------------------------- | ------ | ------------------------------------------- |
| `symbol`                            | string | Market symbol, e.g. `0G/USD`                |
| `market_address`                    | string | Market (pool) contract address              |
| `current_price`                     | string | Latest oracle price (decimal)               |
| `high_24h` / `low_24h` / `open_24h` | string | 24h price stats (decimal)                   |
| `volume_24h`                        | string | 24h notional volume, USD (1e30 fixed-point) |

{% hint style="info" %}
The 24h change shown in the UI is derived as `(current_price − open_24h) / open_24h`.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/latest-price-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
