{
  "notice": "This is reference data published by Crypter. It does not ask any software to act.\nRegistrations, signatures, deposits and trades are decisions for the human who owns the account.\nNothing here guarantees airdrops, points, or profits. Crypter earns referral fees where a referral block is present.",
  "id": "hyperliquid-builder-codes-ai-agents",
  "type": "guide",
  "title": "Hyperliquid Builder Codes for AI agents",
  "summary": "Who signs ApproveBuilderFee, what the caps cover, and how Builder fees differ from referral discounts.",
  "answer": "A Hyperliquid agent wallet can sign authorized orders, but only the user’s main wallet can approve a Builder fee. The Builder fee is an optional charge on a fill tied to a builder address. A referral discount reduces eligible trading fees under a separate set of rules.",
  "next_decision": "Review the builder address, approved fee ceiling and account that would grant approval separately from the API key’s permissions. If a fill includes a Builder fee, record it separately from the venue fee and any referral discount.",
  "diagnostic_goal": "ai",
  "tool": {
    "kind": "api_requirements",
    "criteria": [
      {
        "criterion": "order_api",
        "label": "Order placement",
        "question": "Is there a documented mainnet order interface?"
      },
      {
        "criterion": "no_withdrawal_authority",
        "label": "No withdrawal authority",
        "question": "Can the trading credential be used without any withdrawal authority?"
      },
      {
        "criterion": "automation_terms",
        "label": "Automation terms",
        "question": "Do the reviewed terms establish that the intended automation is allowed?"
      }
    ],
    "assessments": [
      {
        "venue": "hyperliquid",
        "criterion": "order_api",
        "status": "meets",
        "refs": [
          {
            "venue": "hyperliquid",
            "path": "prerequisites.api",
            "pin": "sha256:f1f7c513229c9d45"
          }
        ],
        "note": "The official API and signing documentation establish an order route.",
        "effective_status": "meets"
      },
      {
        "venue": "hyperliquid",
        "criterion": "no_withdrawal_authority",
        "status": "unknown",
        "refs": [
          {
            "venue": "hyperliquid",
            "path": "prerequisites.agent_wallet",
            "pin": "sha256:4397caa6de5a1053"
          }
        ],
        "note": "Delegated signing alone does not establish that withdrawals are blocked.",
        "effective_status": "unknown"
      },
      {
        "venue": "hyperliquid",
        "criterion": "automation_terms",
        "status": "unknown",
        "refs": [],
        "note": "The reviewed evidence does not establish permission for the intended automation.",
        "effective_status": "unknown"
      },
      {
        "venue": "variational",
        "criterion": "order_api",
        "status": "fails",
        "refs": [
          {
            "venue": "variational",
            "path": "prerequisites.api",
            "pin": "sha256:811577c38952b0b6"
          }
        ],
        "note": "The documented order API is testnet-only.",
        "effective_status": "fails"
      },
      {
        "venue": "variational",
        "criterion": "no_withdrawal_authority",
        "status": "unknown",
        "refs": [
          {
            "venue": "variational",
            "path": "prerequisites.agent_wallet",
            "pin": "sha256:97941fbd85596d6a"
          }
        ],
        "note": "The mainnet credential scope is not established.",
        "effective_status": "unknown"
      },
      {
        "venue": "variational",
        "criterion": "automation_terms",
        "status": "unknown",
        "refs": [
          {
            "venue": "variational",
            "path": "prerequisites.agent_wallet",
            "pin": "sha256:97941fbd85596d6a"
          }
        ],
        "note": "Account-controlling bots require express authorization.",
        "effective_status": "unknown"
      },
      {
        "venue": "lighter",
        "criterion": "order_api",
        "status": "meets",
        "refs": [
          {
            "venue": "lighter",
            "path": "prerequisites.api",
            "pin": "sha256:a73c49508d26f007"
          }
        ],
        "note": "Registered API keys can sign trading requests.",
        "effective_status": "meets"
      },
      {
        "venue": "lighter",
        "criterion": "no_withdrawal_authority",
        "status": "meets",
        "refs": [
          {
            "venue": "lighter",
            "path": "prerequisites.agent_wallet",
            "pin": "sha256:c184530b742a6561"
          }
        ],
        "note": "Only with a market-whitelisted key. An unrestricted trading key can request secure withdrawals to the owner address.",
        "effective_status": "meets"
      },
      {
        "venue": "lighter",
        "criterion": "automation_terms",
        "status": "unknown",
        "refs": [],
        "note": "A programmatic interface is not blanket permission for every bot.",
        "effective_status": "unknown"
      },
      {
        "venue": "decibel",
        "criterion": "order_api",
        "status": "meets",
        "refs": [
          {
            "venue": "decibel",
            "path": "prerequisites.api",
            "pin": "sha256:c0881d3baaea8684"
          },
          {
            "venue": "decibel",
            "path": "prerequisites.agent_wallet",
            "pin": "sha256:747ede41983776b9"
          }
        ],
        "note": "Orders use on-chain transactions. The read API does not place them.",
        "effective_status": "meets"
      },
      {
        "venue": "decibel",
        "criterion": "no_withdrawal_authority",
        "status": "unknown",
        "refs": [
          {
            "venue": "decibel",
            "path": "prerequisites.agent_wallet",
            "pin": "sha256:747ede41983776b9"
          }
        ],
        "note": "The reviewed delegation evidence does not establish the full credential scope.",
        "effective_status": "unknown"
      },
      {
        "venue": "decibel",
        "criterion": "automation_terms",
        "status": "conflict",
        "refs": [
          {
            "venue": "decibel",
            "path": "eligibility.2.fact",
            "pin": "sha256:88a5e9e32e0f206b"
          },
          {
            "venue": "decibel",
            "path": "prerequisites.agent_wallet",
            "pin": "sha256:747ede41983776b9"
          }
        ],
        "note": "The SDK documents programmatic trading, while the terms list automated access as prohibited. Confirm how both apply to your use.",
        "effective_status": "conflict"
      }
    ],
    "rate_limit": {
      "label": "Documented base order allowance",
      "refs": [
        {
          "venue": "hyperliquid",
          "path": "prerequisites.order_rate_per_minute",
          "pin": "sha256:d18af73ff277fbd9"
        },
        {
          "venue": "variational",
          "path": "prerequisites.order_rate_per_minute",
          "pin": "sha256:146cadc61785429e"
        },
        {
          "venue": "lighter",
          "path": "prerequisites.order_rate_per_minute",
          "pin": "sha256:b66f3cdf3d9456cc"
        },
        {
          "venue": "decibel",
          "path": "prerequisites.order_rate_per_minute",
          "pin": "sha256:04cc44abfa464b0c"
        }
      ]
    },
    "results": [
      {
        "venue": "hyperliquid",
        "allowance": {
          "value": null,
          "basis": "unknown",
          "source_ids": [
            "hl-limits"
          ],
          "checked_at": "2026-11-26",
          "unit": "order requests per minute (documented base allowance)"
        },
        "fit": "unknown",
        "trace": [
          {
            "criterion": "order_api",
            "status": "meets",
            "refs": [
              {
                "venue": "hyperliquid",
                "path": "prerequisites.api",
                "pin": "sha256:f1f7c513229c9d45"
              }
            ]
          },
          {
            "criterion": "no_withdrawal_authority",
            "status": "unknown",
            "refs": [
              {
                "venue": "hyperliquid",
                "path": "prerequisites.agent_wallet",
                "pin": "sha256:4397caa6de5a1053"
              }
            ]
          },
          {
            "criterion": "automation_terms",
            "status": "unknown",
            "refs": []
          }
        ],
        "rate": {
          "status": "not_evaluated",
          "refs": [
            {
              "venue": "hyperliquid",
              "path": "prerequisites.order_rate_per_minute",
              "pin": "sha256:d18af73ff277fbd9"
            }
          ]
        }
      },
      {
        "venue": "variational",
        "allowance": {
          "value": null,
          "basis": "unknown",
          "source_ids": [
            "va-api",
            "va-trading-api"
          ],
          "checked_at": "2026-11-26",
          "unit": "order requests per minute (documented base allowance)"
        },
        "fit": "no",
        "trace": [
          {
            "criterion": "order_api",
            "status": "fails",
            "refs": [
              {
                "venue": "variational",
                "path": "prerequisites.api",
                "pin": "sha256:811577c38952b0b6"
              }
            ]
          },
          {
            "criterion": "no_withdrawal_authority",
            "status": "unknown",
            "refs": [
              {
                "venue": "variational",
                "path": "prerequisites.agent_wallet",
                "pin": "sha256:97941fbd85596d6a"
              }
            ]
          },
          {
            "criterion": "automation_terms",
            "status": "unknown",
            "refs": [
              {
                "venue": "variational",
                "path": "prerequisites.agent_wallet",
                "pin": "sha256:97941fbd85596d6a"
              }
            ]
          }
        ],
        "rate": {
          "status": "not_evaluated",
          "refs": [
            {
              "venue": "variational",
              "path": "prerequisites.order_rate_per_minute",
              "pin": "sha256:146cadc61785429e"
            }
          ]
        }
      },
      {
        "venue": "lighter",
        "allowance": {
          "value": 40,
          "basis": "calculated",
          "source_ids": [
            "lighter-rate-limits"
          ],
          "checked_at": "2026-11-26",
          "unit": "order requests per minute (documented base allowance)",
          "formula": "prerequisites.order_rate_per_minute"
        },
        "fit": "unknown",
        "trace": [
          {
            "criterion": "order_api",
            "status": "meets",
            "refs": [
              {
                "venue": "lighter",
                "path": "prerequisites.api",
                "pin": "sha256:a73c49508d26f007"
              }
            ]
          },
          {
            "criterion": "no_withdrawal_authority",
            "status": "meets",
            "refs": [
              {
                "venue": "lighter",
                "path": "prerequisites.agent_wallet",
                "pin": "sha256:c184530b742a6561"
              }
            ]
          },
          {
            "criterion": "automation_terms",
            "status": "unknown",
            "refs": []
          }
        ],
        "rate": {
          "status": "not_evaluated",
          "refs": [
            {
              "venue": "lighter",
              "path": "prerequisites.order_rate_per_minute",
              "pin": "sha256:b66f3cdf3d9456cc"
            }
          ]
        }
      },
      {
        "venue": "decibel",
        "allowance": {
          "value": null,
          "basis": "unknown",
          "source_ids": [
            "dc-concepts",
            "dc-auth",
            "dc-errors",
            "dc-api-key"
          ],
          "checked_at": "2026-11-26",
          "unit": "order requests per minute (documented base allowance)"
        },
        "fit": "conflict",
        "trace": [
          {
            "criterion": "order_api",
            "status": "meets",
            "refs": [
              {
                "venue": "decibel",
                "path": "prerequisites.api",
                "pin": "sha256:c0881d3baaea8684"
              },
              {
                "venue": "decibel",
                "path": "prerequisites.agent_wallet",
                "pin": "sha256:747ede41983776b9"
              }
            ]
          },
          {
            "criterion": "no_withdrawal_authority",
            "status": "unknown",
            "refs": [
              {
                "venue": "decibel",
                "path": "prerequisites.agent_wallet",
                "pin": "sha256:747ede41983776b9"
              }
            ]
          },
          {
            "criterion": "automation_terms",
            "status": "conflict",
            "refs": [
              {
                "venue": "decibel",
                "path": "eligibility.2.fact",
                "pin": "sha256:88a5e9e32e0f206b"
              },
              {
                "venue": "decibel",
                "path": "prerequisites.agent_wallet",
                "pin": "sha256:747ede41983776b9"
              }
            ]
          }
        ],
        "rate": {
          "status": "not_evaluated",
          "refs": [
            {
              "venue": "decibel",
              "path": "prerequisites.order_rate_per_minute",
              "pin": "sha256:04cc44abfa464b0c"
            }
          ]
        }
      }
    ]
  },
  "sections": [
    {
      "id": "approval-boundary",
      "heading": "The fee approval and the order signer are separate",
      "body": "The protocol checks the approved maximum for the builder. The documented market caps do not imply the amount charged on a fill. The builder, not the user, must meet the perps account-value minimum shown below.",
      "fact_refs": [
        {
          "venue": "hyperliquid",
          "path": "eligibility.2.fact",
          "pin": "sha256:845ef5a11a1bc2bb"
        },
        {
          "venue": "hyperliquid",
          "path": "prerequisites.agent_wallet",
          "pin": "sha256:4397caa6de5a1053"
        }
      ]
    },
    {
      "id": "builder-vs-referral",
      "heading": "Compare charges and discounts on separate lines",
      "body": "An order can carry a Builder fee after approval. Referral conditions apply to the account and the eligible trading volume, not to the key that signs the order. The documented referral discount is not a waiver of the Builder charge.",
      "fact_refs": [
        {
          "venue": "hyperliquid",
          "path": "costs.trading_fee",
          "pin": "sha256:22019fbd66ee5c3b"
        }
      ]
    }
  ],
  "limits": "The API checklist covers order access, key permissions and terms. It does not verify a builder’s balance, your approval state or fees on an actual fill.",
  "related": [
    {
      "type": "venue",
      "id": "hyperliquid"
    },
    {
      "type": "venue",
      "id": "variational"
    },
    {
      "type": "venue",
      "id": "lighter"
    },
    {
      "type": "venue",
      "id": "decibel"
    }
  ],
  "sources": [
    "hl-limits",
    "va-trading-api",
    "lighter-rate-limits",
    "dc-terms",
    "hl-builder-codes",
    "hl-api-wallets",
    "hl-referrals"
  ],
  "checked_at": "2026-12-04",
  "updated_at": "2026-12-04",
  "review_by": "2027-03-04",
  "guarantee": "none",
  "stale": false,
  "stale_reasons": [],
  "resolved_facts": {
    "hyperliquid#prerequisites.api": {
      "venue": "hyperliquid",
      "venue_name": "Hyperliquid",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.api",
      "record": "/en/venues/hyperliquid",
      "pin_ok": true,
      "fact": {
        "value": "Hyperliquid documents REST APIs and WebSockets and provides examples in the official hyperliquid-python-sdk. An approved API/agent wallet signs on behalf of the account. For account data, query the master or sub-account address, not the signer. For time-range Info responses such as userFunding and fundingHistory, the general pagination rule is 500 elements or distinct blocks per response, using the last returned timestamp as the next startTime. userFills instead returns up to 2,000 recent fills without a time range. userFillsByTime takes startTime and documents a separate ceiling of 2,000 fills per response and the 10,000 most recent fills available.",
        "basis": "official",
        "source_ids": [
          "hl-api-wallets",
          "hl-info",
          "hl-info-perpetuals",
          "hl-limits",
          "hl-builder-codes"
        ],
        "checked_at": "2026-12-04"
      }
    },
    "hyperliquid#prerequisites.agent_wallet": {
      "venue": "hyperliquid",
      "venue_name": "Hyperliquid",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.agent_wallet",
      "record": "/en/venues/hyperliquid",
      "pin_ok": true,
      "fact": {
        "value": "Master accounts can approve API/agent wallets; approval does not remove human decision authority.",
        "basis": "official",
        "source_ids": [
          "hl-api-wallets"
        ],
        "checked_at": "2026-11-26"
      }
    },
    "variational#prerequisites.api": {
      "venue": "variational",
      "venue_name": "Variational (Omni)",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.api",
      "record": "/en/venues/variational",
      "pin_ok": true,
      "fact": {
        "value": "The legacy market statistics API is read-only. The Omni order API is in early access on testnet only.",
        "basis": "official",
        "source_ids": [
          "va-api",
          "va-trading-api"
        ],
        "checked_at": "2026-11-26"
      }
    },
    "variational#prerequisites.agent_wallet": {
      "venue": "variational",
      "venue_name": "Variational (Omni)",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.agent_wallet",
      "record": "/en/venues/variational",
      "pin_ok": true,
      "fact": {
        "value": null,
        "basis": "unknown",
        "source_ids": [
          "va-trading-api",
          "va-terms"
        ],
        "checked_at": "2026-11-26",
        "review_status": "not_disclosed",
        "note": "The testnet API documents read and optional trade scopes. Mainnet key permissions are not established. The terms require express authorization for account-controlling bots."
      }
    },
    "lighter#prerequisites.api": {
      "venue": "lighter",
      "venue_name": "Lighter",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.api",
      "record": "/en/venues/lighter",
      "pin_ok": true,
      "fact": {
        "value": "Registered API keys sign trading requests. Indices 0–3 are reserved for Lighter apps; external integrations use 4–254.",
        "basis": "official",
        "source_ids": [
          "lighter-keys",
          "lighter-api"
        ],
        "checked_at": "2026-11-26"
      }
    },
    "lighter#prerequisites.agent_wallet": {
      "venue": "lighter",
      "venue_name": "Lighter",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.agent_wallet",
      "record": "/en/venues/lighter",
      "pin_ok": true,
      "fact": {
        "value": "An unrestricted API key can trade and request secure withdrawals to the owner address. A market-whitelisted API key can trade listed markets but cannot sign withdrawals. Fast withdrawals and transfers to another owner require the L1 wallet signature.",
        "basis": "official",
        "source_ids": [
          "lighter-keys"
        ],
        "checked_at": "2026-11-26"
      }
    },
    "decibel#prerequisites.api": {
      "venue": "decibel",
      "venue_name": "Decibel",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.api",
      "record": "/en/venues/decibel",
      "pin_ok": true,
      "fact": {
        "value": "REST and websocket APIs are read-only and need a Client API key; orders are sent as on-chain transactions through the TypeScript SDK or raw Aptos transactions.",
        "basis": "official",
        "source_ids": [
          "dc-concepts",
          "dc-api-key"
        ],
        "checked_at": "2026-11-26"
      }
    },
    "decibel#prerequisites.agent_wallet": {
      "venue": "decibel",
      "venue_name": "Decibel",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.agent_wallet",
      "record": "/en/venues/decibel",
      "pin_ok": true,
      "fact": {
        "value": "A dedicated API Wallet keypair signs programmatic trades, and trading permissions can be delegated to another account; delegation does not remove human decision authority.",
        "basis": "official",
        "source_ids": [
          "dc-concepts",
          "dc-delegation"
        ],
        "checked_at": "2026-11-26"
      }
    },
    "decibel#eligibility.2.fact": {
      "venue": "decibel",
      "venue_name": "Decibel",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "eligibility.2.fact",
      "record": "/en/venues/decibel",
      "pin_ok": true,
      "fact": {
        "value": "Prohibited conduct in the Terms of Use includes accessing the Services by any automated means.",
        "basis": "official",
        "source_ids": [
          "dc-terms"
        ],
        "checked_at": "2026-12-04"
      }
    },
    "hyperliquid#prerequisites.order_rate_per_minute": {
      "venue": "hyperliquid",
      "venue_name": "Hyperliquid",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.order_rate_per_minute",
      "record": "/en/venues/hyperliquid",
      "pin_ok": true,
      "fact": {
        "value": null,
        "basis": "unknown",
        "source_ids": [
          "hl-limits"
        ],
        "checked_at": "2026-11-26",
        "unit": "order requests per minute (documented base allowance)",
        "note": "The IP budget is shared across REST requests; unbatched exchange actions cost one weight, and separate address limits depend on activity. There is no single base order allowance across accounts and conditions.",
        "review_status": "variable"
      }
    },
    "variational#prerequisites.order_rate_per_minute": {
      "venue": "variational",
      "venue_name": "Variational (Omni)",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.order_rate_per_minute",
      "record": "/en/venues/variational",
      "pin_ok": true,
      "fact": {
        "value": null,
        "basis": "unknown",
        "source_ids": [
          "va-api",
          "va-trading-api"
        ],
        "checked_at": "2026-11-26",
        "unit": "order requests per minute (documented base allowance)",
        "note": "Legacy limits are for market statistics. The order API and its weighted limits are documented for testnet early access only.",
        "review_status": "not_disclosed"
      }
    },
    "lighter#prerequisites.order_rate_per_minute": {
      "venue": "lighter",
      "venue_name": "Lighter",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.order_rate_per_minute",
      "record": "/en/venues/lighter",
      "pin_ok": true,
      "fact": {
        "value": 40,
        "basis": "official",
        "source_ids": [
          "lighter-rate-limits"
        ],
        "checked_at": "2026-11-26",
        "unit": "order requests per minute (documented base allowance)",
        "note": "Default transaction-type cap for single order requests. Standard also shares its general rolling-minute bucket; Premium/Advanced and Plus have separate submission limits. Batches and transaction-specific limits are not modeled."
      }
    },
    "decibel#prerequisites.order_rate_per_minute": {
      "venue": "decibel",
      "venue_name": "Decibel",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "prerequisites.order_rate_per_minute",
      "record": "/en/venues/decibel",
      "pin_ok": true,
      "fact": {
        "value": null,
        "basis": "unknown",
        "source_ids": [
          "dc-concepts",
          "dc-auth",
          "dc-errors",
          "dc-api-key"
        ],
        "checked_at": "2026-11-26",
        "unit": "order requests per minute (documented base allowance)",
        "note": "Orders are on-chain transactions. HTTP rate-limit errors document a read API condition, not an order submission allowance.",
        "review_status": "not_disclosed"
      }
    },
    "hyperliquid#eligibility.2.fact": {
      "venue": "hyperliquid",
      "venue_name": "Hyperliquid",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "eligibility.2.fact",
      "record": "/en/venues/hyperliquid",
      "pin_ok": true,
      "fact": {
        "value": "Builder Codes require a separate ApproveBuilderFee approval signed by the main wallet, not an API/agent wallet. Fees are capped at 0.1% for perps and 1% for spot, and a user can have at most 10 active approvals.",
        "basis": "official",
        "source_ids": [
          "hl-builder-codes"
        ],
        "checked_at": "2026-12-04",
        "note": "The builder must have at least 100 USDC in perps account value. This is a builder requirement, not a minimum for the user approving the fee. This approval is distinct from the optional referral link. Crypter does not charge a Builder fee."
      }
    },
    "hyperliquid#costs.trading_fee": {
      "venue": "hyperliquid",
      "venue_name": "Hyperliquid",
      "venue_stale": false,
      "venue_review_by": "2026-12-12",
      "path": "costs.trading_fee",
      "record": "/en/venues/hyperliquid",
      "pin_ok": true,
      "fact": {
        "value": 0.045,
        "basis": "official",
        "source_ids": [
          "hl-fees",
          "hl-referrals"
        ],
        "checked_at": "2026-11-26",
        "unit": "percent of notional per fill",
        "note": "Base tier 0 perps: 0.045% taker and 0.015% maker. HYPE staking discounts range from Wood (more than 10 HYPE, 5% off) to Diamond (more than 500,000 HYPE, 40% off). Sub-account volume counts toward the master account and all its sub-accounts share the fee tier. Vault volume is counted separately. Asset-specific adjustments may also apply. The 4% referral discount does not apply to vaults or sub-accounts."
      }
    }
  },
  "fact_sources": [
    "hl-api-wallets",
    "hl-info",
    "hl-info-perpetuals",
    "hl-limits",
    "hl-builder-codes",
    "va-api",
    "va-trading-api",
    "va-terms",
    "lighter-keys",
    "lighter-api",
    "dc-concepts",
    "dc-api-key",
    "dc-delegation",
    "dc-terms",
    "lighter-rate-limits",
    "dc-auth",
    "dc-errors",
    "hl-fees",
    "hl-referrals"
  ]
}
