OpenHedgeDocs
Menu

Part VIII · Wallet and Custody

Section 081 Coming soon

Exporting Your API Key

A read-only API key for your own tools: balances, positions, units, fees and statements, with no power to move funds.

YouOpenHedge interfaceAPIYour tool1. Choose scopes and expiry2. Step-up check3. Show key once4. Store key in your tool5. GET with Bearer key6. Read-only data7. Revoke or rotate
Figure 81Issuing and using a read-only API key.

The funding wallet can issue an API key so you can read your account from scripts, dashboards or accounting software. The key is read-only by design: no endpoint that accepts it can allocate, redeem, transfer or change settings.

Scopes available:

  • balances:read — funding wallet USDC, units per product and current value.
  • positions:read — your pro-rata share of each product's open positions.
  • fees:read — fee lines and weekly performance invoices.
  • statements:read — your balance, movement and fee lines.

How it works:

  1. You choose scopes, a label and an optional expiry (30, 90 or 365 days), then pass a step-up check.
  2. The interface shows the key once. OpenHedge stores only a salted hash of it.
  3. Requests send the key in the Authorization: Bearer header over HTTPS. Each key is rate limited separately.
  4. You can list keys with their last-used time, revoke one instantly, or rotate it (issue a new key and revoke the old one in a single step).

A leaked read-only key exposes information about your account but cannot move money. Revoke it as soon as you suspect a leak.

© 2026 HedgeFund DAO · OpenHedgeNot investment advice. Trading leveraged perpetuals can lose all deposited funds.