> ## Documentation Index
> Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# delegations | Hyperliquid Info API

> Hyperliquid delegations: list a user's active HYPE staking delegations.

<CardGroup cols={2}>
  <Card title="Credit Cost"> 1 per call</Card>
  <Card title="Processing"> Realtime</Card>
</CardGroup>

The Hyperliquid info endpoint with `type: "delegations"` is used to list a user's active HYPE staking delegations.

<Tip>
  Estimate your monthly cost for this API using the [Pricing Calculator](/docs/pricing-calculator?endpoint=%2Fapi-reference%2Fhyperliquid-info%2Fdelegations).
</Tip>

<Info>
  * Wire-equal to `POST api.hyperliquid.xyz/info` with `{"type": "delegations", "user": "..."}`.
  * Returns an empty array when the user has no active delegations.
  * For staking totals use <a href="https://goldrush.dev/docs/api-reference/hyperliquid-info/delegator-summary" target="_blank" rel="noopener noreferrer">`delegatorSummary`</a>; for the delegate / undelegate event history behind them, use <a href="https://goldrush.dev/docs/api-reference/hyperliquid-info/delegator-history" target="_blank" rel="noopener noreferrer">`delegatorHistory`</a>.
</Info>

Returns a user's active HYPE staking delegations - one entry per validator - with the delegated amount and the timestamp until which each delegation is locked. Use [delegatorSummary](https://goldrush.dev/docs/api-reference/hyperliquid-info/delegator-summary) for aggregate totals and [delegatorHistory](https://goldrush.dev/docs/api-reference/hyperliquid-info/delegator-history) for the underlying event sequence.

User-keyed.

## Endpoint

```
POST https://hypercore.goldrushdata.com/info
Authorization: Bearer <GOLDRUSH_API_KEY>
Content-Type: application/json
```

## Request

<ParamField body="type" type="string" required>
  Always `"delegations"`.
</ParamField>

<ParamField body="user" type="string" required>
  The wallet address (lowercase 0x-prefixed hex).
</ParamField>

### Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST https://hypercore.goldrushdata.com/info \
    -H "Authorization: Bearer $GOLDRUSH_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "type": "delegations",
      "user": "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"
    }'
  ```

  ```typescript TypeScript theme={null}
  const response = await fetch("https://hypercore.goldrushdata.com/info", {
    method: "POST",
    headers: {
      "Authorization": `Bearer ${process.env.GOLDRUSH_API_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      type: "delegations",
      user: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036",
    }),
  });

  const delegations = await response.json();
  ```

  ```python Python theme={null}
  import os, requests

  response = requests.post(
      "https://hypercore.goldrushdata.com/info",
      headers={"Authorization": f"Bearer {os.environ['GOLDRUSH_API_KEY']}"},
      json={
          "type": "delegations",
          "user": "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036",
      },
  )

  delegations = response.json()
  ```
</CodeGroup>

## Response

An array of delegation objects, one per validator. Empty when the user has no active delegations.

```json theme={null}
[
  {
    "validator": "0x420a4ed7b6bb361da586868adec2f2bb9ab75e66",
    "amount": "305.27602401",
    "lockedUntilTimestamp": 1768061059908
  },
  {
    "validator": "0x497beec89958848126c2ea65934ce430e1410ad2",
    "amount": "217.26663138",
    "lockedUntilTimestamp": 1753148985995
  }
]
```

### Field descriptions

<Note>
  `amount` is returned as a **decimal string**, preserving upstream precision. Do not parse it as a float.
</Note>

<ResponseField name="validator" type="string">Validator address the stake is delegated to.</ResponseField>
<ResponseField name="amount" type="string">Delegated HYPE amount.</ResponseField>
<ResponseField name="lockedUntilTimestamp" type="int">Millisecond timestamp until which the delegation is locked (undelegation is subject to this lock).</ResponseField>

*Last reviewed: 2026-07-24*
