{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"640ec589-0d74-462e-8ba4-9ac0bf8e6496","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 User Role 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 reported account role label for account identification, and integration diagnostics, ready for production pipelines and AI agent automation using a single OpenAny API key.","descriptionTranslations":{"ar":"تحقق من الدور الذي تُبلغ عنه Hyperliquid لعنوان حساب مستخدم، وأعد تسمية الدور لشاشات تعريف الحساب وتشخيص التكامل مع فصل الدور عن صلاحية تنفيذ الإجراءات. استخدم القيمة في أدوات فحص الحسابات أو عرض الحالة، مع الاحتفاظ بعنوان الاستعلام والحالات غير المتاحة، وراجع قوالب الطلبات والمدخلات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"ユーザーの口座アドレスから Hyperliquid が報告するロールを読み、口座識別画面や連携診断でロールと操作権限を区別して扱えます。 返された値を口座確認ツールや状態表示に利用し、照会アドレスと取得できない状態を保持できます。詳細ページにはリクエスト例、対応入力、選択した実装の料金が掲載されています。","zh":"按用户账户地址查询 Hyperliquid 报告的角色标签，用于账户识别界面和接入诊断，并将角色信息与执行操作的权限分开处理。 可将返回值用于账户检查工具或状态界面，保留查询地址和不可用状态；详情页提供请求模板、支持的输入及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"2e188848-b83c-4fc5-8b4a-b0f86df8e4b3","includedContentHtml":"","inputs":[{"description":"Query a user's role Documentation prepared only; runtime not verified.","json_schema":{"additionalProperties":false,"examples":[{"type":"userRole","user":"0x677d831aef5328190852e24f13c46cac05f984e7"}],"properties":{"type":{"const":"userRole","description":"Fixed native Info query discriminator.","enum":["userRole"],"example":"userRole","type":"string"},"user":{"description":"Address in 42-character 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 role","nameTranslations":{"ar":"Hyperliquid — الاستعلام عن دور المستخدم","ja":"Hyperliquid — ユーザーのロールを照会","zh":"Hyperliquid — 查询用户的角色"},"overviewHtml":"\u003ch2\u003eHyperliquid User Role API\u003c/h2\u003e\n\u003cp\u003eSend type=\u0026#34;userRole\u0026#34; and user. The response contains a role label associated with that address. Keep the label intact and use explicit account-address input; role lookup is separate from authentication and transaction authorization.\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 role\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\u003eAccount identification\u003c/strong\u003e: Show a role label with the queried address.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIntegration diagnostics\u003c/strong\u003e: Keep role lookup separate from credential handling.\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\u003erole\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported account role label\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/user-role\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;userRole\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/2e188848-b83c-4fc5-8b4a-b0f86df8e4b3\"\u003ePublished Hyperliquid User Role 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\u003eWhich address format is accepted?\u003c/h3\u003e\n\u003cp\u003euser must be a 42-character hexadecimal address beginning with 0x. Query the actual account whose role you need.\u003c/p\u003e\n\u003ch3\u003eIs role returned as a boolean?\u003c/h3\u003e\n\u003cp\u003eNo. Read the role field as a label and preserve the returned value.\u003c/p\u003e\n\u003ch3\u003eDoes a role label authorize trading?\u003c/h3\u003e\n\u003cp\u003eNo. A reported role is account information; signing and transaction permissions are separate.\u003c/p\u003e\n\u003ch3\u003eCan I query several addresses at once?\u003c/h3\u003e\n\u003cp\u003eThis implementation accepts one user address. It does not expose an address array or batch input.\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-referral-information\"\u003eHyperliquid — Query a user\u0026#39;s referral information\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-role?offering=2e188848-b83c-4fc5-8b4a-b0f86df8e4b3","providerId":"hyperliquid","publicPath":"/v1/agent-apis/hyperliquid/info/user-role","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":{"type":"userRole","user":"0x677d831aef5328190852e24f13c46cac05f984e7"},"headers":{},"path":{},"query":{}},"response_body":{"role":"user"}}],"seoDescription":"Get Hyperliquid User Role data via REST or MCP powered by Hyperliquid. Pay per call, no subscription. Built for account identification workflows.","updatedAt":"2026-12-03T02:49:33.695Z","usageInstructionsHtml":""}}