> For the complete documentation index, see [llms.txt](https://docs.hydromancer.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hydromancer.xyz/readme/rest-api/fees.md).

# Fees

Endpoints for querying a Hyperliquid user's trading fees and referral rewards.

#### **Retrieve user fees**

{% content-ref url="/pages/f2HWHESYenJadxbXZCFG" %}
[userFees](https://docs.hydromancer.xyz/readme/rest-api/fees/userfees.md)
{% endcontent-ref %}

#### **Retrieve a user's referral and builder rewards**

{% content-ref url="/pages/k71ISRmpoYkcMgQEWiAb" %}
[referral](https://docs.hydromancer.xyz/readme/rest-api/fees/referral.md)
{% endcontent-ref %}
