{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"2c0cda97-e738-427f-93ee-3c898e516ce4","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"hyperliquid","dataPlatformLogoUrl":"https://hyperliquid.xyz/apple-touch-icon.png","dataPlatformTranslations":{"ar":"hyperliquid","ja":"hyperliquid","zh":"hyperliquid"},"dataProduct":"info-general","description":"Get Hyperliquid Referral Info data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Hyperliquid, pass parameters such as type, user, and retrieve structured data including claimed referral rewards, unclaimed referral rewards, reported builder rewards, cumulative volume context, and reported referrer state for referral panels, and reward context.","descriptionTranslations":{"ar":"اقرأ معلومات إحالة Hyperliquid لعنوان مستخدم واحد، بما يشمل المكافآت وسياق الإحالة وحالة المُحيل، لواجهات تميز المكافآت المطالب بها وغير المطالب بها والعلاقات. استخدم القيمة في أدوات فحص الحسابات أو عرض الحالة، مع الاحتفاظ بعنوان الاستعلام والحالات غير المتاحة، وراجع قوالب الطلبات والمدخلات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"ユーザーアドレスから Hyperliquid の紹介関係、報酬、紹介者状態を読み、受取済み・未受取の報酬と紹介関係を区別した口座画面に利用できます。 返された値を口座確認ツールや状態表示に利用し、照会アドレスと取得できない状態を保持できます。詳細ページにはリクエスト例、対応入力、選択した実装の料金が掲載されています。","zh":"按一个用户地址读取 Hyperliquid 推荐信息，包括奖励、推荐关系和推荐人状态，用于区分已领取余额、未领取奖励及推荐关系的账户看板。 可将返回值用于账户检查工具或状态界面，保留查询地址和不可用状态；详情页提供请求模板、支持的输入及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"445e22a7-f6ef-472e-913e-eebec9ac1eac","includedContentHtml":"","inputs":[{"description":"Query a user's referral information Documentation prepared only; runtime not verified.","json_schema":{"additionalProperties":false,"examples":[{"type":"referral","user":"0x677d831aef5328190852e24f13c46cac05f984e7"}],"properties":{"type":{"const":"referral","description":"Fixed native Info query discriminator.","enum":["referral"],"example":"referral","type":"string"},"user":{"description":"hexadecimal format; e.g. 0x0000000000000000000000000000000000000000.","example":"0x677d831aef5328190852e24f13c46cac05f984e7","pattern":"^0x[0-9a-fA-F]{40}$","type":"string"}},"required":["type","user"],"type":"object"},"location":"body","name":"body","nullable":false,"pointer":"","required":true,"type":"object"}],"logoUrl":"https://hyperliquid.xyz/apple-touch-icon.png","method":"POST","name":"Hyperliquid — Query a user's referral information","nameTranslations":{"ar":"Hyperliquid — الاستعلام عن معلومات الإحالة للمستخدم","ja":"Hyperliquid — ユーザーの紹介情報を照会","zh":"Hyperliquid — 查询用户的推荐信息"},"overviewHtml":"\u003ch2\u003eHyperliquid Referral Info API\u003c/h2\u003e\n\u003cp\u003ePOST type=\u0026#34;referral\u0026#34; and user. The response separates claimedRewards, unclaimedRewards, builderRewards and cumVlm from referredBy and referrerState. Keep nullable relationship information separate from reward amounts and token-specific state.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eJSON body: type, user\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003ehyperliquid · Hyperliquid — Query a user\u0026#39;s referral information\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eReferral panels\u003c/strong\u003e: Show relationships and reward states for one account.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eReward context\u003c/strong\u003e: Keep history timestamps and token-specific context with reported amounts.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eclaimedRewards\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eClaimed referral rewards\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eunclaimedRewards\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUnclaimed referral rewards\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebuilderRewards\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported builder rewards\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecumVlm\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCumulative volume context\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ereferredBy\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReferrer relationship; can be null\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ereferrerState.stage\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported referrer state\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erewardHistory[].time\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReward-history timestamp\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the JSON body and supported fields shown in the request template.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request POST \\\n  \u0026#34;https://api.openany.si/v1/agent-apis/hyperliquid/info/referral\u0026#34; \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#34;Content-Type: application/json\u0026#34; \\\n  --data-raw \u0026#39;{\u0026#34;type\u0026#34;:\u0026#34;referral\u0026#34;,\u0026#34;user\u0026#34;:\u0026#34;0x677d831aef5328190852e24f13c46cac05f984e7\u0026#34;}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe saved response is a published documentation example. Its values may be historical; the request is an independent calling template. Use current returned identifiers and optional fields for your chosen resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/445e22a7-f6ef-472e-913e-eebec9ac1eac\"\u003ePublished Hyperliquid Referral Info API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eDoes referredBy=null mean all rewards are zero?\u003c/h3\u003e\n\u003cp\u003eNo. A missing referrer relationship and reward fields have different meanings. Read each independently.\u003c/p\u003e\n\u003ch3\u003eCan I combine claimed and unclaimed values as one balance?\u003c/h3\u003e\n\u003cp\u003eKeep them separate unless your application explicitly computes and labels a combined figure. Their field names describe different reward states.\u003c/p\u003e\n\u003ch3\u003eDoes the query claim rewards or set a referral code?\u003c/h3\u003e\n\u003cp\u003eNo. This request reads referral information and does not submit a reward claim or referral change.\u003c/p\u003e\n\u003ch3\u003eAre rewards the OpenAny call charge?\u003c/h3\u003e\n\u003cp\u003eNo. The returned values describe Hyperliquid referral and builder context. OpenAny request pricing is separate.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hyperliquid/hyperliquid-query-a-user-s-role\"\u003eHyperliquid — Query a user\u0026#39;s role\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hyperliquid/hyperliquid-query-a-user-s-staking-delegations\"\u003eHyperliquid — Query a user\u0026#39;s staking delegations\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hyperliquid/hyperliquid-query-a-user-s-staking-history\"\u003eHyperliquid — Query a user\u0026#39;s staking history\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/hyperliquid/hyperliquid-query-a-user-s-referral-information?offering=445e22a7-f6ef-472e-913e-eebec9ac1eac","providerId":"hyperliquid","publicPath":"/v1/agent-apis/hyperliquid/info/referral","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":{"type":"referral","user":"0x677d831aef5328190852e24f13c46cac05f984e7"},"headers":{},"path":{},"query":{}},"response_body":{"builderRewards":"0.0","claimedRewards":"1.799226","cumVlm":"7049.82","referredBy":null,"referrerState":{"data":{"code":"TESTCODE","nReferrals":3,"referralStates":[{"cumFeesRewardedToReferrer":"0.885083","cumRewardedFeesSinceReferred":"15.973891","cumVlm":"2547365.8799999999","timeJoined":1775271678880,"tokenToState":[[0,{"cumFeesRewardedToReferrer":"0.885083","cumRewardedFeesSinceReferred":"15.973891","cumVlm":"2547365.8799999999"}]],"user":"0xb6a6123aca000befa2b18fb65e7ec489ee1dde92"},{"cumFeesRewardedToReferrer":"0.00269886","cumRewardedFeesSinceReferred":"0.02936907","cumVlm":"110.91","timeJoined":1790681474064,"tokenToState":[[0,{"cumFeesRewardedToReferrer":"0.00269886","cumRewardedFeesSinceReferred":"0.02936907","cumVlm":"110.91"}]],"user":"0xc918b6b40e4e0320d7884d02878437cf7c9caacf"},{"cumFeesRewardedToReferrer":"0.0","cumRewardedFeesSinceReferred":"0.0","cumVlm":"100307.16","timeJoined":1780974799030,"tokenToState":[[0,{"cumFeesRewardedToReferrer":"0.0","cumRewardedFeesSinceReferred":"0.0","cumVlm":"100307.16"}]],"user":"0xb6dd0cb09314e66cc42102b7d4eab558b5d773ff"}]},"stage":"ready"},"rewardHistory":[{"earned":"0.24564","referralVlm":"0.0","time":1686181525632,"vlm":"3541.88913"},{"earned":"0.024132","referralVlm":"0.0","time":1684368297002,"vlm":"203.10533"},{"earned":"0.249548","referralVlm":"0.0","time":1683765303715,"vlm":"1969.54376"},{"earned":"0.418054","referralVlm":"0.0","time":1681349755581,"vlm":"463.56714"},{"earned":"1.381172","referralVlm":"0.0","time":1680662756422,"vlm":"517.94726"},{"earned":"0.138106","referralVlm":"0.0","time":1680662135637,"vlm":"517.94726"}],"tokenToState":[[0,{"builderRewards":"0.0","claimedRewards":"1.799226","cumVlm":"7049.82","unclaimedRewards":"1.40710186"}]],"unclaimedRewards":"1.40710186"}}],"seoDescription":"Get Hyperliquid Referral Info data via REST or MCP powered by Hyperliquid. Pay per call, no subscription. Built for referral panels workflows.","updatedAt":"2026-12-03T02:49:33.665Z","usageInstructionsHtml":""}}