# BitGo

> BitGo: what the collector reads, how to connect it, its permissions, its certification by Atlantic Agentic Labs and its security posture.

Needs onboarding Needs a partner agreement with the vendor, or a client's environment, before it can be built or certified.

Reads a BitGo enterprise’s wallets, their balances, total balances by asset and wallet transfers, so reconciliation agents can check custody against the books. It is read-only, and it refuses a token that can send, approve, trade or stake. It reads in place, in your deployment; only ids, hashes and counts reach LightHouse.

Built against the BitGo API v2.

## At a glance

| Collector                   | BitGo, version `0.2.0`                                                                                                             |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Reads                       | BitGo: BitGo API v2 (wallets, balances, transfers) ([the vendor's documentation](https://developers.bitgo.com/reference/overview)) |
| Family                      | Finance                                                                                                                            |
| Kind                        | Custody                                                                                                                            |
| Ways to connect             | Access token                                                                                                                       |
| Scopes                      | - Read: `wallet_view_all`, `enterprise_view_all`                                                                                   |
| Read only                   | Yes                                                                                                                                |
| Vendor's API can move money | Yes                                                                                                                                |
| Personal data               | Financial                                                                                                                          |
| Hosts it may contact        | `app.bitgo.com`, `app.bitgo-test.com`, `{host}`                                                                                    |
| Vendor API versions         | BitGo API v2 (/api/v2), Public assets (/api/v1/all/publicAssets)                                                                   |
| Lowest engine version       | `0.47.1`                                                                                                                           |

## What it reads

- **Wallets:** each wallet the token can view: coin, label, type and sub-type, enterprise, approvals required, freeze expiry, creation date, and its balance, confirmed balance and spendable balance; rewritten when it changes and removed when the wallet is deleted or no longer visible.
- **Total balances:** one record per asset across all wallets the token can view, tokens included (`allTokens`), empty balances left out.
- **Transfers:** each wallet’s deposits and withdrawals: value and fee, type, state, on-chain transaction id, height, confirmations, sequence id and comment. Tokens moved through a wallet are included.
- Transfers are read by the date BitGo last updated them, 500 a page, from an hour before the newest date seen, so a transfer whose state changes (signed, then confirmed) is read again. The first read goes back `history_days` (default 90, at most 3,650).
- Amounts arrive in base units and are scaled exactly by each asset’s decimals from BitGo’s public asset list; an asset that list does not name is kept in base units under the code `<COIN>.BASE`.

It does not read addresses, keys, policies, pending approvals, users, staking or trading.

## How to connect

1. In the BitGo web app, open your account settings, **Developer Options**, and create a long-lived access token with **view** scopes only (such as `wallet_view_all`), **no spending limit**, and an IP restriction to your deployment’s egress addresses.
2. In LightHouse, open **Setup and admin, Connectors** and choose **BitGo**.
3. Paste the token and choose production or test. Your browser seals it to your deployment; LightHouse never sees it.

The credential is JSON in the variable the source names (`AAL_BITGO` by default): `access_token` and `environment` (`production`, the default, or `test`). On the source, `enterprise` limits the read to one enterprise’s wallets.

## Permissions

This collector is **read-only**: it sends `GET` requests only, and its read-only test proves it on every change. Nothing is sent, approved, traded or staked.

- **Refused by the code (an allow-list):** BitGo states a token’s scopes and unlock state (`GET /api/v2/user/session`; [BitGo, Get session](https://developers.bitgo.com/api/user.getsession)). Before every read, and in the health check, every scope must be a view scope: `openid`, `profile`, `portfolio_view`, `enterprise_view_all`, `settlement_network_read`, `trade_view`, `wallet_view`, `wallet_view_all`, `wallet_view_enterprise`, `auditlogs_view_all`, or `wallet_view:<wallet id>` for one wallet (the view scopes of [BitGo, Create access token](https://developers.bitgo.com/api/v2.accesstoken.add)). Any other scope is refused, naming it: the spend, approve, stake, manage, create, edit and freeze scopes, `trade_trade`, `trade_fix`, `settlement_network_write`, `pending_approval_update`, `enterprise_manage_all`, `user_manage`, `crypto_compare`, and `all`, which BitGo describes as “Access all actions in the test environment”; so is any scope BitGo adds later. A session that is currently unlocked is refused (it could spend within its limits), and so is a session whose `bitgoAdminPermissions` lists anything: BitGo does not describe that field, so it is not taken as a read. BitGo’s session has no `adminScope` field. The error is `BitGo: refused: the credential can \<scopes>; make a view-only one`.
- **IP restriction:** the check reports whether the token has one; a token without one is told to pin it to your egress addresses (it is not refused). BitGo requires one in production unless it has granted an exception.
- **Hosts:** only `app.bitgo.com` (or `app.bitgo-test.com`), over https; redirects are never followed.

## Limits

- Per-wallet balances are the wallet’s own coin; token balances are in the total balances.
- Requests are paced and retried on 429 and 5xx with back-off.
- Amounts are exact: base-unit strings scaled by the asset’s decimals, never through a float.
- Records are keyed by BitGo’s own ids, so one read twice is still one record.

## Data handling

- Records hold financial data: balances, transfer values and fees, and wallet labels and comments as your team wrote them. Documents carry the `label` you give the source (default `confidential`).
- 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

| What you see                                                                        | What it means                                                                             | What to do                                                           |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `BitGo: refused: the credential can wallet_spend_all; make a view-only one`         | The token holds a scope that is not a view scope (the one named)                          | Make a token with view scopes only                                   |
| `BitGo: refused: the credential can spend while unlocked (the session is unlocked)` | The token’s session is unlocked                                                           | Lock it, or make a token with no spending limit and do not unlock it |
| `BitGo answered HTTP 401`                                                           | The token is wrong, expired or for the other environment                                  | Check it and `environment`                                           |
| `BitGo answered HTTP 403`                                                           | The token’s IP restriction does not include your egress address, or it lacks a view scope | Check the restriction and scopes                                     |
| `BitGo: environment is production or test`                                          | `environment` has another value                                                           | Use `production` or `test`                                           |
| `BitGo answered HTTP 429`                                                           | Rate limit                                                                                | Nothing; the collector backs off and continues                       |

## 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](/collectors/certification/).

| Date             | Collector | Engine   | Vendor API             | Method                              | Expires        |
| ---------------- | --------- | -------- | ---------------------- | ----------------------------------- | -------------- |
| 21 November 2026 | `0.1.0`   | `0.47.1` | BitGo API v2 (/api/v2) | Fixtures only: built, not certified | Not applicable |

## Security posture

From the collector’s last scan on the default branch. What each line means, and what blocks a release: [Security posture](/collectors/security/).

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

Source: https://docs.atlanticagenticlabs.com/collectors/catalogue/bitgo/
