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

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

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](/docs/pricing-calculator?endpoint=%2Fapi-reference%2Fhyperliquid-info%2Fmax-builder-fee).
</Tip>

<Info>
  * 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.
</Info>

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.

User-keyed (and scoped to a single `builder`).

## Endpoint

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

## Request

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

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

<ParamField body="builder" type="string" required>
  The builder address the approval is scoped to (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": "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()
  ```
</CodeGroup>

## Response

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

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

### Field descriptions

<ResponseField name="(response body)" type="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.
</ResponseField>

*Last reviewed: 2026-07-24*
