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

# maxBuilderFee | Hyperliquid Info API

> Hyperliquid maxBuilderFee: fetch the maximum builder fee a user has approved for a given builder.

> [card] Credit Cost
>
> 1 per call

> [card] Processing
>
> Realtime

The Hyperliquid info endpoint with `type: "maxBuilderFee"` is used to fetch the maximum builder fee a user has approved for a given builder.

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

> [!NOTE]
>
> * Wire-equal to `POST api.hyperliquid.xyz/info` with `{"type": "maxBuilderFee", "user": "...", "builder": "..."}`.
> * The response is a bare integer in tenths of a basis point (e.g. `10` = 1 basis point = 0.01%).
> * Returns `0` when the user has not approved any builder fee for that builder.

Returns the maximum builder fee that a user has authorized a specific builder to charge, expressed as an integer in tenths of a basis point. Builders route order flow on behalf of users and may attach a fee up to this approved ceiling; 0 means no approval is in place for that builder.

## Endpoint

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

## Request

**type** `string` *required*

Always `"maxBuilderFee"`.

**user** `string` *required*

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

**builder** `string` *required*

The builder address the approval is scoped to (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": "maxBuilderFee",
    "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
    "builder": "0x1924b8561eef20e70d8f8f8f6a9c0e7f3c2f9c11"
  }'
```

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

const maxFee = 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": "maxBuilderFee",
        "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
        "builder": "0x1924b8561eef20e70d8f8f8f6a9c0e7f3c2f9c11",
    },
)

max_fee = response.json()
```

## Response

The body is a **bare integer** - the approved ceiling in tenths of a basis point.

```json theme={null}
0
```

### Field descriptions

**(response body)** `int`

Maximum approved builder fee, in tenths of a basis point (e.g. `10` = 1 bp = 0.01%). `0` when no builder fee is approved for this builder.

## Related endpoints

> [card] [maxMarketOrderNtls](https://goldrush.dev/docs/api-reference/hyperliquid-info/max-market-order-ntls.md)
>
> fetch the maximum market-order notional for each leverage bucket.

> [card] [exchangeStatus](https://goldrush.dev/docs/api-reference/hyperliquid-info/exchange-status.md)
>
> fetch the current exchange operational status.

> [card] [liquidatable](https://goldrush.dev/docs/api-reference/hyperliquid-info/liquidatable.md)
>
> list accounts currently eligible for liquidation.

> [card] [marginTable](https://goldrush.dev/docs/api-reference/hyperliquid-info/margin-table.md)
>
> fetch the margin-tier (leverage-bracket) table for a given margin table id.

> [card] [validatorL1Votes](https://goldrush.dev/docs/api-reference/hyperliquid-info/validator-l1-votes.md)
>
> validatorL1Votes endpoint.

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.