# Hyperliquid — Query a user's staking delegations

Get Hyperliquid Staking Delegations 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 structured JSON records, identifiers, and response metadata for account views, and empty-state handling, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/hyperliquid/hyperliquid-query-a-user-s-staking-delegations/3ee06aed-aeb7-47a2-92b0-8084a304d397/
API ID: 3ee06aed-aeb7-47a2-92b0-8084a304d397
Provider: hyperliquid
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/hyperliquid/info/delegations
Page update time: 2026-12-03T02:49:34.388Z
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.723Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Hyperliquid Staking Delegations API

POST type="delegations" and the required user address. The response is a collection associated with that account. This route exposes no date-range, cursor or limit input; preserve the returned collection and handle an empty array explicitly.

## What You Can Build

- **Account views**: Read the requested staking collection for one account.
- **Empty-state handling**: Keep an empty result distinct from a generated record.

## Response Scope

The response is an array of delegation records. An empty array represents no returned records in that response.

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Hyperliquid — Query a user's staking delegations 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": [
        {
          "type": "delegations",
          "user": "0x677d831aef5328190852e24f13c46cac05f984e7"
        }
      ],
      "properties": {
        "type": {
          "const": "delegations",
          "description": "Fixed native Info query discriminator.",
          "enum": [
            "delegations"
          ],
          "example": "delegations",
          "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",
      "description": "Query a user's staking delegations Documentation prepared only; runtime not verified."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {}
}
```

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

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
[]
```

## 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
### Does this request create a delegation?
No. It reads delegation information; staking or changing a validator delegation requires a separate action.

### Is this staking history?
This query uses type="delegations". Historical staking events are exposed by the separate delegatorHistory query.

### What does an empty array mean for my interface?
Display an empty delegation collection for that response. Do not create a validator row or infer a zero stake for every validator.

### Can I filter by validator or date?
This implementation accepts type and user only. It does not expose validator or time-range filters.

### 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-a-user-s-staking-delegations/3ee06aed-aeb7-47a2-92b0-8084a304d397/

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