# Hyperliquid — Query borrow/lend reserve state

Get Hyperliquid Lending Reserve data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Hyperliquid, pass parameters such as token, type, and retrieve structured data including reported reserve balance, total supplied amount, total borrowed amount, reported utilization ratio, and reported yearly borrowing rate for reserve views, and rate references.

Documentation: https://openany.si/hyperliquid/hyperliquid-query-borrow-lend-reserve-state/2098f5f5-5b72-4694-985c-e1911789339d/
API ID: 2098f5f5-5b72-4694-985c-e1911789339d
Provider: hyperliquid
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/hyperliquid/info/borrow-lend-reserve-state
Page update time: 2026-12-03T02:49:34.455Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:33.882Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Hyperliquid Lending Reserve API

Send type="borrowLendReserveState" and the required numeric token index. The returned object contains decimal-string reserve amounts, rates, utilization, oraclePx and ltv. The token field is an index, not a ticker symbol or contract address.

## What You Can Build

- **Reserve views**: Display one token’s reserve amounts and utilization.
- **Rate references**: Keep supply and borrowing rates with the selected index.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `balance` | Reported reserve balance |
| `totalSupplied` | Total supplied amount |
| `totalBorrowed` | Total borrowed amount |
| `utilization` | Reported utilization ratio |
| `borrowYearlyRate` | Reported yearly borrowing rate |
| `supplyYearlyRate` | Reported yearly supply rate |
| `oraclePx` | Reported oracle price |
| `ltv` | Reported loan-to-value context |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Hyperliquid — Query borrow/lend reserve state request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "token": 0,
          "type": "borrowLendReserveState"
        }
      ],
      "properties": {
        "token": {
          "description": "token index",
          "example": 0,
          "type": "number"
        },
        "type": {
          "const": "borrowLendReserveState",
          "description": "Fixed native Info query discriminator.",
          "enum": [
            "borrowLendReserveState"
          ],
          "example": "borrowLendReserveState",
          "type": "string"
        }
      },
      "required": [
        "type",
        "token"
      ],
      "type": "object",
      "description": "Query borrow/lend reserve state Documentation prepared only; runtime not verified."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "balance": {
      "type": "string"
    },
    "borrowYearlyRate": {
      "type": "string"
    },
    "ltv": {
      "type": "string"
    },
    "oraclePx": {
      "type": "string"
    },
    "supplyYearlyRate": {
      "type": "string"
    },
    "totalBorrowed": {
      "type": "string"
    },
    "totalSupplied": {
      "type": "string"
    },
    "utilization": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/hyperliquid/info/borrow-lend-reserve-state' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "token": 0,
  "type": "borrowLendReserveState"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "balance": "125478431.3201307952",
  "borrowYearlyRate": "0.05",
  "ltv": "0.0",
  "oraclePx": "1.0",
  "supplyYearlyRate": "0.0350299927",
  "totalBorrowed": "440872839.4626677036",
  "totalSupplied": "566351182.8162961006",
  "utilization": "0.7784442813"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What belongs in token?
Supply the numeric token index. Keep a valid zero index as 0; do not replace it with a symbol, address or omitted value.

### Does balance mean my account balance?
No. This query reads reserve state. A user’s lending state is available through a separate user-address query.

### Do the rates guarantee my future return?
No. They are reported reserve rate context, separate from an account-specific realized return.

### Does reading this state deposit or borrow assets?
No. It reads reserve data and does not submit a lending, borrowing or transfer action.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- hyperliquid: https://openany.si/hyperliquid/hyperliquid-query-borrow-lend-reserve-state/2098f5f5-5b72-4694-985c-e1911789339d/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
