Deribit
Reads a Deribit account’s balances and activity, so reconciliation and reporting agents can check them against the books. It is read-only. It reads in place, in your deployment; only ids, hashes and counts reach LightHouse.
It is built from Deribit’s public API reference and tested against invented responses; it has not been run against a Deribit account (CERTIFICATION.md).
At a glance
Section titled “At a glance”| Collector | Deribit, version 0.1.1 |
|---|---|
| Reads | Deribit: Deribit API v2 (the vendor's documentation) |
| Family | Finance |
| Kind | Exchange |
| Ways to connect | Access token |
| Scopes |
|
| Read only | Yes, except: [object Object] |
| Vendor's API can move money | Yes |
| Personal data | Financial |
| Hosts it may contact | www.deribit.com, test.deribit.com, {host} |
| Vendor API versions | API v2 (/api/v2, JSON-RPC over HTTP) |
| Lowest engine version | 0.47.1 |
What it reads
Section titled “What it reads”- Account summaries: balance, equity, available funds and margin balance for each currency you name (default BTC, ETH, USDC, USDT).
- Trades: instrument, direction, price, amount, fee and fee currency, liquidity and the order id, oldest first by time.
- Deposits and withdrawals: amount, state, address, transaction id and the withdrawal fee, newest first until one already read.
- Each stream is read from the last cursor per currency; the first read goes back
history_days(default 90).
It does not read open orders, positions, settlement history, transfers between sub-accounts or block trades.
How to connect
Section titled “How to connect”- In Deribit, create an API key with only account:read, trade:read and wallet:read, restricted to your deployment’s egress IP addresses.
- In LightHouse, open Setup and admin, Connectors and choose Deribit, and name the currencies to read.
- Paste the client id and client secret. Your browser seals them to your deployment; LightHouse never sees them.
The credential is JSON in the variable the source names (AAL_DERIBIT by
default): client_id, client_secret, and optionally environment (production or test).
Permissions
Section titled “Permissions”This collector is read-only in what it does.
- What the credential says is checked first: a credential whose
accessis not read-only, or whosescopesorpermissionsname anything but a read (trading, withdrawing, transferring, administering, or any permission the collector does not recognise as a read), is refused before any request is sent. The permissions Deribit states for the key are then checked when you connect it and before every read. - Only read endpoints: the collector holds a list of the Deribit endpoints it reads; a request to any other is refused before it is sent.
- Refused by the code: Deribit states a token’s scopes in the answer to
public/auth. Before every read, and in the health check, a key with any scope ending in:read_write(account, trade, wallet, block trade and the rest) is refused, naming it. - Not refused by the code: a scope that is not
read_write; Deribit’s read scopes cannot trade or withdraw. - What it sends: one
POST /api/v2/public/auth(the manifest lists it underread_operations), thenGETrequests with the access token as a Bearer token. Nothing is placed, cancelled or withdrawn. - IP restriction: the token answer does not say whether the key is pinned to addresses; the check tells you to pin it.
- Hosts: only
www.deribit.com(ortest.deribit.com), over https; redirects are never followed.
Limits
Section titled “Limits”- Only the currencies you name.
- Up to 1,000 trades a request, following
has_more; deposits and withdrawals 100 a page. - Requests are paced and retried on 429 and 5xx with back-off.
- Amounts are exact decimals; a number that arrives as a float is refused.
- Each record is keyed by Deribit’s own id, so one read twice is still one record.
Data handling
Section titled “Data handling”- Records hold financial data: balances, trades and transfers. Documents
carry the
labelyou give the source (defaultconfidential). - Content is read in place, in your deployment. LightHouse receives ids, hashes and counts, never the records, and never opens the credential.
- Errors carry a status and fixed text, never a provider’s body.
- The data is audit-ready for your own agents; nothing here is itself a certification against any standard.
Troubleshooting
Section titled “Troubleshooting”| What you see | What it means | What to do |
|---|---|---|
Deribit: refused: the credential can trade:read_write; make a view-only one |
The key has a read_write scope | Make a key with only the read scopes |
Deribit answered HTTP 400 |
The client id or secret was refused (invalid_credentials) |
Check the client id and secret |
Deribit refused private/...: code 10028 |
Deribit reported an error (its code is shown) | Try again later |
Certification
Section titled “Certification”Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See How collectors are certified.
| Date | Collector | Engine | Vendor API | Method | Expires |
|---|---|---|---|---|---|
| 21 November 2026 | 0.1.0 | 0.47.1 | API v2 (/api/v2, JSON-RPC over HTTP) | Fixtures only: built, not certified | Not applicable |
Security posture
Section titled “Security posture”From the collector’s last scan on the default branch. What each line means, and what blocks a release: Security posture.
| Last scanned | 25 November 2026 |
|---|---|
| Critical findings | 0 |
| High findings | 0 |
| Medium findings | 0 |
| Low findings | 0 |
| Info findings | 0 |
| Release blocked | No |
| Network allow-list check | Pass |
| Read-only behavioural test | Pass |
| SBOM (CycloneDX) | Produced |
| Dependency licences | Pass |
| Scanners | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |