DCFTP API
Getting started
Read a DCFTP account and trade on Hyperliquid through DCFTP with an API key.
- Sign in, open Settings → API keys and create a key. Copy it: it is shown only once.
- For trading, give the key the Trade permission and approve the server-side trading agent in the same panel (one wallet signature).
- Send Authorization: Bearer dk_test_<keyId>.<secret> with every request to /api/v1.
Trust model
- One-click trading in the browser is unchanged: that key never leaves your device.
- API trading uses a separate Hyperliquid agent ("DCFTP API"). An agent can place and cancel orders but can never withdraw or transfer funds.
- API keys cannot move money, by design: there is no withdraw, transfer or send endpoint (
GET /balancesis read-only). Withdrawals, spot ↔ perps transfers and sends are signed by your own wallet in the app, never by an agent or API key. - DCFTP generates that agent's key on its server and stores it encrypted (AES-256-GCM under a server master key). It is decrypted only to sign your API orders.
- The agent expires after 30 days. Revoke it in Settings at any time: one wallet signature replaces it on Hyperliquid with a key nobody holds.
- API secrets are shown once and stored only as argon2id hashes. Per key you can limit IPs, the largest order and the daily notional, and set an expiry.
- Every API order carries the DCFTP builder fee and appears in your fills with an API badge.
Loading the API description…