> ## Documentation Index
> Fetch the complete documentation index at: https://staging-docs.orderly.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Referral

> Implement referral programs, track referees, and manage rebate summaries.

`@orderly.network/hooks` provides the following hooks related to referral management.

More information about Orderly referral system can be found [here](https://staging-docs.orderly.network/introduction/be-a-broker/affiliate-referral-program.md).

* [useCheckReferralCode](https://staging-docs.orderly.network/sdks/hooks/referral/use-check-referral-code.md) - Check if referral code exists
* [useGetReferralCode](https://staging-docs.orderly.network/sdks/hooks/referral/use-get-referral-code.md) - Obtain referral code via `account_id`
* [useDaily](https://staging-docs.orderly.network/sdks/hooks/referral/use-daily.md) - Returns `perp_volume` based on start and end time
* [useRefereeInfo](https://staging-docs.orderly.network/sdks/hooks/referral/use-referee-info.md) - Retrieve referee info
* [useRefereeRebateSummary](https://staging-docs.orderly.network/sdks/hooks/referral/use-referee-rebate-summary.md) - Provide statistics on referee rebates per date
* [useReferralInfo](https://staging-docs.orderly.network/sdks/hooks/referral/use-referral-info.md) - Retrieve referral info
* [useReferralRebateSummary](https://staging-docs.orderly.network/sdks/hooks/referral/use-referral-rebate-summary.md) - Provide statistics on referral rebates per date


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.