> For the complete documentation index, see [llms.txt](https://hydromancer.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hydromancer.xyz/docs/rest-api/historical-data.md). Agents can also search and read this documentation through its [MCP server](https://hydromancer.xyz/docs/~gitbook/mcp).

# Historical data

Hyperliquid historical data API endpoints: fills, orders, funding, ledger updates and leverage changes for users and builders.

#### **Retrieve user's fills**

{% content-ref url="/pages/muw60fyzOPMLNXeSTVz0" %}
[userFills](https://hydromancer.xyz/docs/rest-api/historical-data/userfills.md)
{% endcontent-ref %}

#### **Retrieve user's fills&#x20;*****within a specified time range***

{% content-ref url="/pages/W2wpRuaejvD5incn0BWJ" %}
[userFillsByTime](https://hydromancer.xyz/docs/rest-api/historical-data/userfillsbytime.md)
{% endcontent-ref %}

#### **Retrieve user's TWAP slice fills**

{% content-ref url="/pages/9Dxfo3NAp2w7gYN2uNPD" %}
[userTwapSliceFills](https://hydromancer.xyz/docs/rest-api/historical-data/usertwapslicefills.md)
{% endcontent-ref %}

#### **Retrieve user's funding history**

{% content-ref url="/pages/t649jcP3T2VGqnaso3Um" %}
[userFunding](https://hydromancer.xyz/docs/rest-api/historical-data/userfunding.md)
{% endcontent-ref %}

#### **Retrieve user's non funding ledger history**

{% content-ref url="/pages/TqhO5Je4abcjOtl7CZ9I" %}
[userNonFundingLedgerUpdates](https://hydromancer.xyz/docs/rest-api/historical-data/usernonfundingledgerupdates.md)
{% endcontent-ref %}

#### **Retrieve builder fills**

{% content-ref url="/pages/wrrR1FBA1VbuSIiXhK5s" %}
[builderFills](https://hydromancer.xyz/docs/rest-api/historical-data/builderfills.md)
{% endcontent-ref %}

#### **Retrieve builder fills&#x20;*****within a specified time range***

{% content-ref url="/pages/9lX2OKs6p2nbICBIvsS1" %}
[builderFillsByTime](https://hydromancer.xyz/docs/rest-api/historical-data/builderfillsbytime.md)
{% endcontent-ref %}

#### **Retrieve user's TWAP summaries**

{% content-ref url="/pages/ULg4Sz33rgOCBov2W8nL" %}
[userTwapSummaries](https://hydromancer.xyz/docs/rest-api/historical-data/usertwapsummaries.md)
{% endcontent-ref %}

#### **Retrieve funding history for a coin**

{% content-ref url="/pages/OhWTqinAKt9QjIeFvPQs" %}
[fundingHistory](https://hydromancer.xyz/docs/rest-api/historical-data/fundinghistory.md)
{% endcontent-ref %}

#### **Retrieve user's historical orders**

{% content-ref url="/pages/iP8Ei3ysTQ55vR96J3zk" %}
[historicalOrders](https://hydromancer.xyz/docs/rest-api/historical-data/historicalorders.md)
{% endcontent-ref %}

#### **Look up a single order's latest status by oid or cloid**

{% content-ref url="/pages/hEpzMvitd31e8aQgnTr2" %}
[orderStatusByOid](https://hydromancer.xyz/docs/rest-api/historical-data/orderstatusbyoid.md)
{% endcontent-ref %}

#### **Retrieve builder orders&#x20;*****within a specified time range***

{% content-ref url="/pages/1lJ9uUhXeofM3wg0jF3K" %}
[builderOrdersByTime](https://hydromancer.xyz/docs/rest-api/historical-data/builderordersbytime.md)
{% endcontent-ref %}

#### **Retrieve user's leverage change history**

{% content-ref url="/pages/4QJrvNc4JEHfnTB5dm0n" %}
[userLeverageUpdatesByTime](https://hydromancer.xyz/docs/rest-api/historical-data/userleverageupdatesbytime.md)
{% endcontent-ref %}

#### **Retrieve user's isolated margin update history**

{% content-ref url="/pages/mQXNUN1Wen96CGQxHy9F" %}
[userIsolatedMarginUpdatesByTime](https://hydromancer.xyz/docs/rest-api/historical-data/userisolatedmarginupdatesbytime.md)
{% endcontent-ref %}
