{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"5ed04e5e-7066-4654-9042-bdebdfdb0db0","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 Lending State 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 lending health label and token-indexed state collection for account diagnostics, and token-state handling, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"افحص حالة اقتراض وإقراض Hyperliquid لعنوان مستخدم واحد، واقرأ الصحة ومجموعة حالات الرموز للوحة تحفظ عوامل الصحة غير المتاحة والمجموعات الفارغة. استخدم القيمة في أدوات فحص الحسابات أو عرض الحالة، مع الاحتفاظ بعنوان الاستعلام والحالات غير المتاحة، وراجع قوالب الطلبات والمدخلات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"ユーザーアドレスから Hyperliquid の貸借状態と健全性、トークン状態の集合を読み、取得できない健全性係数や空集合を保持した口座画面に利用できます。 返された値を口座確認ツールや状態表示に利用し、照会アドレスと取得できない状態を保持できます。詳細ページにはリクエスト例、対応入力、選択した実装の料金が掲載されています。","zh":"按一个用户地址检查 Hyperliquid 借贷状态，读取健康状态和代币状态集合，在账户看板中保留不可用的健康因子与空代币集合。 可将返回值用于账户检查工具或状态界面，保留查询地址和不可用状态；详情页提供请求模板、支持的输入及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"6c9e8c42-f5e7-49dc-80a0-6f13d637f381","includedContentHtml":"","inputs":[{"description":"Query borrow/lend user state Documentation prepared only; runtime not verified.","json_schema":{"additionalProperties":false,"examples":[{"type":"borrowLendUserState","user":"0x677d831aef5328190852e24f13c46cac05f984e7"}],"properties":{"type":{"const":"borrowLendUserState","description":"Fixed native Info query discriminator.","enum":["borrowLendUserState"],"example":"borrowLendUserState","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 borrow/lend user state","nameTranslations":{"ar":"Hyperliquid — الاستعلام عن حالة المستخدم في الاقتراض/الإقراض","ja":"Hyperliquid — 借入/貸出ユーザーの状態を照会","zh":"Hyperliquid — 查询借贷用户状态"},"overviewHtml":"\u003ch2\u003eHyperliquid User Lending State API\u003c/h2\u003e\n\u003cp\u003ePOST type=\u0026#34;borrowLendUserState\u0026#34; and user. The object separates health, healthFactor and tokenToState. healthFactor can be null and tokenToState can be empty; keep these values distinct rather than manufacturing a numeric health factor or token position.\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 borrow/lend user state\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 diagnostics\u003c/strong\u003e: Show the reported health label and factor availability.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eToken-state handling\u003c/strong\u003e: Keep an empty collection distinct from reported positions.\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\u003ehealth\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported lending health label\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ehealthFactor\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported health factor; can be null\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etokenToState\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eToken-indexed state collection\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/borrow-lend-user-state\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;borrowLendUserState\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/6c9e8c42-f5e7-49dc-80a0-6f13d637f381\"\u003ePublished Hyperliquid User Lending State 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\u003eIs healthFactor=null a zero health factor?\u003c/h3\u003e\n\u003cp\u003eNo. Preserve null as unavailable factor information and read the health label separately.\u003c/p\u003e\n\u003ch3\u003eDoes an empty tokenToState contain a zero-value position?\u003c/h3\u003e\n\u003cp\u003eNo. It contains no token state entries for that response. Display an empty collection.\u003c/p\u003e\n\u003ch3\u003eCan I choose a token in this request?\u003c/h3\u003e\n\u003cp\u003eThis implementation accepts the fixed type and user only. It has no token selector.\u003c/p\u003e\n\u003ch3\u003eCan I infer reserve totals from this response?\u003c/h3\u003e\n\u003cp\u003eUse a separate reserve-state query for reserve-wide totals. This route describes the selected user’s lending state.\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-approved-builders-for-user\"\u003eHyperliquid — Query approved builders for user\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hyperliquid/hyperliquid-query-borrow-lend-reserve-state\"\u003eHyperliquid — Query borrow/lend reserve state\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hyperliquid/hyperliquid-query-order-status-by-oid-or-cloid\"\u003eHyperliquid — Query order status by oid or cloid\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/hyperliquid/hyperliquid-query-borrow-lend-user-state?offering=6c9e8c42-f5e7-49dc-80a0-6f13d637f381","providerId":"hyperliquid","publicPath":"/v1/agent-apis/hyperliquid/info/borrow-lend-user-state","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":{"type":"borrowLendUserState","user":"0x677d831aef5328190852e24f13c46cac05f984e7"},"headers":{},"path":{},"query":{}},"response_body":{"health":"healthy","healthFactor":null,"tokenToState":[]}}],"seoDescription":"Get Hyperliquid User Lending State data via REST or MCP powered by Hyperliquid. Pay per call, no subscription. Built for account diagnostics workflows.","updatedAt":"2026-12-03T02:49:33.915Z","usageInstructionsHtml":""}}