> ## 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.

# userRateLimit | Hyperliquid Info API

> Hyperliquid userRateLimit: fetch a user's API rate-limit usage and cap.

> [card] Credit Cost
>
> 1 per call

> [card] Processing
>
> Realtime

The Hyperliquid info endpoint with `type: "userRateLimit"` is used to fetch a user's API rate-limit usage and cap.

> [!TIP]
>
> Estimate your monthly cost for this API using the [Pricing Calculator](https://goldrush.dev/docs/pricing-calculator.md?endpoint=%2Fapi-reference%2Fhyperliquid-info%2Fuser-rate-limit).

> [!NOTE]
>
> * Wire-equal to `POST api.hyperliquid.xyz/info` with `{"type": "userRateLimit", "user": "..."}`.
> * This reports Hyperliquid's own address-based L1 request allowance; it is unrelated to your GoldRush credit budget.
> * The request cap (`nRequestsCap`) is a function of the account's cumulative traded volume (`cumVlm`), so higher-volume accounts are granted more requests.

Returns the address-based API rate-limit accounting Hyperliquid maintains for a wallet: cumulative traded volume, how many requests have been used, the current cap, and any surplus beyond it. Use it to monitor how much of an account's request allowance remains.

## Endpoint

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

## Request

**type** `string` *required*

Always `"userRateLimit"`.

**user** `string` *required*

The wallet address (lowercase 0x-prefixed hex).

### Example

```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": "userRateLimit",
    "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"
  }'
```

```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: "userRateLimit",
    user: "0x31ca8395cf837de08b24da3f660e77761dfb974b",
  }),
});

const rateLimit = 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": "userRateLimit",
        "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
    },
)

rate_limit = response.json()
```

## Response

```json theme={null}
{
  "cumVlm": "471728188.87",
  "nRequestsUsed": 370317503,
  "nRequestsCap": 471738188,
  "nRequestsSurplus": 0
}
```

### Field descriptions

> [!NOTE]
>
> `cumVlm` is returned as a **decimal string**. Do not parse it as a float.

**cumVlm** `string`

Cumulative traded volume for the account, in USDC.

**nRequestsUsed** `int`

Number of requests consumed so far against the address allowance.

**nRequestsCap** `int`

Current maximum number of requests allowed for the account.

**nRequestsSurplus** `int`

Requests made beyond the cap; `0` when the account is within its limit.

## Related endpoints

> [card] [userAbstraction](https://goldrush.dev/docs/api-reference/hyperliquid-info/user-abstraction.md)
>
> fetch a user's account-abstraction mode.

> [card] [userFees](https://goldrush.dev/docs/api-reference/hyperliquid-info/user-fees.md)
>
> fetch a user's fee schedule and recent daily volume.

> [card] [userRole](https://goldrush.dev/docs/api-reference/hyperliquid-info/user-role.md)
>
> fetch a user's account role.

> [card] [userToMultiSigSigners](https://goldrush.dev/docs/api-reference/hyperliquid-info/user-to-multi-sig-signers.md)
>
> fetch the authorized signers for a multi-sig user.

> [card] [extraAgents](https://goldrush.dev/docs/api-reference/hyperliquid-info/extra-agents.md)
>
> list a user's approved API-agent wallets.

> [card] [subAccounts](https://goldrush.dev/docs/api-reference/hyperliquid-info/sub-accounts.md)
>
> fetch a master wallet's sub-accounts along with their full perp and spot state in a single call.

See all Hyperliquid endpoints: [Overview hub](https://goldrush.dev/docs/goldrush-hyperliquid/overview.md) · [Info API reference](https://goldrush.dev/docs/goldrush-hyperliquid/info-api/overview.md)

*Last reviewed: 2026-08-17*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.