# Dozer API Documentation

This section documents the public View methods of the Dozer Pool Manager contract, allowing you to build frontends, analytics tools, or arbitrage bots directly on the Hathor Node API.

### Core Guides

1. **Price Fetching**\
   How to fetch the USD price of HTR and other tokens.
2. **Pool Information**\
   Fetch global pool stats, reserves, volumes, and list all active pools.
3. **User Data**\
   Get personalized data including liquidity positions, share percentages, and PnL.
4. **Quotes & Swaps**\
   Calculate trade execution: find the best swap path, estimate output amounts, and check price impact.

### Usage

All examples use `curl` and the public Hathor Mainnet Node: `https://node1.mainnet.hathor.network/v1a/nano_contract/state`

**Contract ID (Mainnet)**: `000080350ca5ef204bc29b3232bb197e12bec6b473f5e6bdb749a6921197e83c`


---

# Agent Instructions: 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:

```
GET https://docs.dozer.finance/apis/dozer-api-documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
