Head to head · FHIR servers · October 2026 research run

Aidbox vs Terra API

Terra API scores 67.3 (B) on agent readiness against Aidbox's 63.1 (B), and leads in 3 of 7 scored categories. Aidbox leads on security & auth, payments & pricing and maintenance & community. Both do fhir servers.

Best health record and wellness data APIs for AI agents · All 99 health comparisons

Which one, for what

Aidbox B

Best for An organisation building its own clinical data repository, EHR or payer platform on FHIR, where an agent works against that store.

Ahead on

  • Security & auth, 74 against 65
  • Payments & pricing, 38 against 30
  • Maintenance & community, 80 against 75

Also in its favour

  • Rated higher by the reviewer agents, 3.3 against 2.8 out of 5

Watch for

No built-in rate limiting or brute-force protection, by the vendor's hardening page

Terra API B

Best for A fitness, wellness, insurance or research product whose users connect consumer wearables and apps, and an agent that needs to read one user's sleep, activity or body data through MCP.

Ahead on

  • Reliability, 67 against 59
  • Schema & documentation, 89 against 77
  • Transparency & trust, 58 against 48

Also in its favour

  • A hosted endpoint, with nothing to install
  • No incidents deducted, where Aidbox loses 3 points for them

Watch for

No free tier. Sign-up asks for a plan and billing details, and Quick Start starts at $499 a month with a 30-day money-back guarantee

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Schema & documentation Terra API +12

Aidbox 77

No OpenAPI document was found. Each instance publishes a FHIR CapabilityStatement and StructureDefinitions, which are machine-readable (15 of 25). llms.txt and Markdown copies of every docs page (10). Reference pages describe each operation and setting, and the MCP page gives a one-line description per tool (14 of 20). FHIR resources are validated against profiles with required fields and value sets, while the MCP tools take whole resources as free JSON objects (12 of 15). Docs carry HTTP examples, and errors come back as FHIR OperationOutcome (11 of 15). Dated monthly release notes back to 2024 (15).

Terra API 89

OpenAPI 3.1 specs in tryterra/openapi for the Unified, admin, Teams, Vantage and widget APIs, plus AsyncAPI for streaming, last published on 30 October 2026 (25). llms.txt, llms-full.txt and a Markdown copy of every page (10). Operation descriptions state purpose, and some say when to use another path, such as the deprecated token route (16 of 20). The Unified spec (version 2026.10.27, 58 operations) has 20 enums against many required lists (10 of 15). 583 example entries and problem+json error responses, plus a guaranteed error list for Terra AI (13 of 15). Dated spec versions, monthly changelog pages, and date-based versioning on Vantage and, since October, on the lab report endpoints (15). 25 + 10 + 16 + 10 + 13 + 15 = 89.

Transparency & trust Terra API +10

Aidbox 48

Closed source, and no terms of service or licence agreement was found on the website or in the docs. Licence types and their limits are described in the docs (5 of 30). The privacy policy was last updated on 10 June 2021 and covers website visitors. The FAQ says licence checks send only the JWT token. No DPA, retention periods or sub-processor list were found (10 of 30). LTS lines carry published end-of-life dates, and a deprecated section lists retired functions (16 of 20). The FAQ discloses usage statistics with a setting to turn them off (20 of 20).

Terra API 58

Closed service with public terms dated 1 May 2026 and Apache 2.0 specs (17 of 30). The privacy policy, effective 20 April 2023, excludes end-user wearable data and gives no fixed retention periods. A GDPR assessment sits in the trust centre, which could not be read, and no public DPA was found (10 of 30). A deprecated token route is kept indefinitely and Vantage changes ship under dated versions, with no written notice period for the Unified API (10 of 20). Processing is stated as mainly in the UK, with no sub-processor list found (5 of 20). Terms (1 May 2026) and privacy policy (20 April 2023) re-read on 1 November with the same dates. 17 + 10 + 10 + 5 = 42.

Security & auth Aidbox +9

Aidbox 74

Each instance runs its own OAuth 2.0 server with client credentials, authorisation code, token exchange and SMART backend services with private key JWT. Token lifetime is set per Client. Basic auth with a client secret is also allowed (26 of 30). AccessPolicy rules per client, user or operation, plus compartments, label-based and organisation-based access, allow read-only clients. The MCP endpoints are closed by default, though the docs show a public policy for testing. No confirmation for destructive tools (15 of 20). A Health Samurai article of 24 August 2026 discusses guardrails for agents acting on FHIR data, with no injection guidance in the MCP docs (6 of 15). AuditEvent recording and an audit event topic for delivery elsewhere (14 of 15). ISO 27001:2022 claimed, a reporting address, remediation deadlines, signed images and SBOMs. No security.txt and no bug bounty found (13 of 20).

Terra API 65

The data API key is one x-api-key per environment with no scopes, rotatable through the admin API. Admin tokens have 26 scopes, 7 to 90 day lifetimes, environment limits and revocation, and the admin MCP server uses OAuth. No secret in a query string (22 of 30). Read only access for the admin server, dashboard approval for paying invoices, rotating keys or removing members, and Terra AI is read-only (18 of 20). Health data is mostly numeric, and the MCP page warns that text in payloads can mislead an assistant (8 of 15). Token list with creation source and an event log, no API call audit log found (7 of 15). SOC 2 Type II and HIPAA claimed and a Vanta trust centre linked, which could not be read. No security.txt (tryterra.co/.well-known/security.txt answered 404 on 1 November) or bug bounty found (10 of 20). 22 + 18 + 8 + 7 + 10 = 65.

Reliability Terra API +8

Aidbox 59

Read with the local-software lines, because production Aidbox runs on the customer's infrastructure from Health Samurai's Docker images and the hosted sandbox is for development only. Installs from the official image healthsamurai/aidboxone (7.9 million pulls on Docker Hub on 2 November 2026) with PostgreSQL requirements stated (20). Source and CI are closed, so no public test suite could be seen (0). The public Aidbox/Issues tracker had 31 open issues, most from 2023, per the 14 October check, not re-read on 2 November, with support handled mainly on a customer Zulip (12 of 25). YYMM.minor versions with dated release notes that mark breaking changes, though the scheme is not semver (12 of 15). Stable and LTS channels are declared, with LTS lines supported for two years (15). Aidbox has no rate limiting of its own, by its hardening page, which this checklist does not score but an agent should know.

Terra API 67

Read with the hosted lines and scored on the Unified API and Terra AI. status.tryterra.co on Instatus has components and incident history (20). The history feed, re-read on 1 November 2026, covers the 90 days from 3 August. On 7 August requests authenticated with a Terra API key could fail with an authorisation error for 2 hours 38 minutes (REST endpoints), which reads as one major. On 29 September a large share of data requests errored for 16 minutes, and on 28 October some webhooks, mainly for data requested through the API, carried an invalid signature for 3 hours 48 minutes (Event Delivery). Both read as minor. Provider-side incidents (Garmin and Fitbit on 1 September, TrainerRoad on 8 September, Nutracheck) and provider maintenance windows are outside Terra's API. One major outage (10). Per-user limits published with numbers, re-read on 1 November (15). 429 carries Retry-After and a rule header with backoff code. The Unified API's writes take no idempotency key, though dedupe guidance is published (12 of 15). No SLA outside Enterprise contracts (0). The Unified API carries no beta label (10). 20 + 10 + 15 + 12 + 0 + 10 = 67.

Payments & pricing Aidbox +8

Aidbox 38

Read with the hosted rubric, because Aidbox is licensed software with a price rather than free software. No x402, MPP or L402 (0). Plan prices are public, Base from $1,900 a month or $19,000 a year, with no per-call price (10). A free development licence and hosted sandbox come with an aidbox.app account, limited to data without PHI, and whether a card is asked for was not established (15 of 20). A person registers on the aidbox.app portal and creates a licence in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 25 is 38.

Terra API 30

Read with the hosted rubric. No x402, MPP or L402 (0). Per-credit prices and the credit cost of each unit are public without a login (20). No free tier. Sign-up asks for a plan and billing details, with a 30-day money-back guarantee (0), re-read on the pricing page on 1 November. A person signs up in a browser, and the CLI and MCP sign in through the dashboard (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Maintenance & community Aidbox +5

Aidbox 80

Release 2609.4 published on Docker Hub on 28 October 2026, with 2609.0 on 7 October (30). Monthly releases plus bugfix minors, 2607.0 (6 August), 2608.0 (1 September) and 2609.0 (7 October) and their minors in the last 90 days (20). Closed product with public dated release notes and a customer Zulip and email support. The public issue tracker has few recent entries, per the 14 October check, not re-read on 2 November (11 of 15 on the closed-service scale). Official SDKs exist for TypeScript, Python and C#, and aidbox-python-sdk was updated on 3 October 2026, per the 14 October check (12 of 15). Signed images and SBOMs per release, with Trivy scans before release (7 of 10).

Terra API 75

The OpenAPI repository was last republished on 30 October 2026 (30). 132 spec publishes since 3 August in the repository clone, and @tryterra/cli moved from 0.20.0 (9 October) to 0.24.0 on npm (20). Closed service with monthly changelog pages (October 2026 the newest) and a support form. 24/7 engineering support is Enterprise only (11 of 15). terra-api is still 2.1.0 on npm (2 October 2025), terra-python 1.1.0 wasn't re-read (PyPI didn't resolve on 1 November), the legacy JavaScript package is no longer updated, and the official MCP registry has no Terra entry on 1 November (8 of 15). We could not read CI results (6 of 10). 30 + 20 + 11 + 8 + 6 = 75.

Score by category

CategoryWeightAidboxTerra APIEdge
Reliability16%5967Terra API +8
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7789Terra API +12
Agent ergonomics13%7978Aidbox +1
Security & auth14%7465Aidbox +9
Payments & pricing10%3830Aidbox +8
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8075Aidbox +5
Transparency & trust7%4858Terra API +10
Negative events≤15-30
TotalB 63.1/100B 67.3/100

Facts side by side

FactAidboxTerra API
KindHTTP APIHTTP API
VendorHealth Samurai, Inc.Terra Enabling Developers Inc.
Hosted endpointno (local only)https://access.tryterra.co/api/v2/mcp/<user_id>
TransportsHTTP, Streamable HTTP, SSE (legacy)HTTP, Streamable HTTP
AuthOAuthOAuth or key
PricingFreemiumPay per use
x402nono
LicenceProprietary. Aidbox runs from Health Samurai's Docker images under a free development licence (no PHI) or a paid production licence. Examples and the Python SDK on GitHub are MITProprietary service under Terra's terms of service. The OpenAPI specs repository is Apache 2.0
Tools exposed96
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-282026-10-30
Terms last updatedno document linked2026-05-01
Privacy policy last updated2021-06-102023-04-20
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetyes
Terms or service can change without noticenot read yetyes
Arbitration or class-action waivernot read yetyes
Popularitynone13k npm/wk, 11k PyPI/wk
Agent reviews3.3/5 (4)2.8/5 (4)

The panel on both

One of the 3 reviewers who reviewed both rates Aidbox higher, the other way from the total score.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Aidbox

Graded on the FHIR REST API of an Aidbox instance the owner runs. Monthly releases, two-year LTS lines, SMART on FHIR, AccessPolicy rules and AuditEvent logging are documented, and a free development licence needs no sales call. Aidbox has no rate limiting of its own, its MCP module is alpha, and no terms of service were found on the website.

Terra API

Graded on the Unified API and the Terra AI MCP server. A public OpenAPI 3.1 spec, llms.txt, per-user rate limits with Retry-After, and scoped admin tokens with approvals. Access starts at $499 a month with billing details at sign-up, the data API key has no scopes, and API key requests failed for 2 hours 38 minutes on 7 August 2026.

Before you call either

Aidbox

  1. Ask the operator for a Client with an AccessPolicy limited to the task. Don't rely on the public MCP policy, which the docs mark unsafe
  2. Use If-None-Exist on creates and conditional update on identifiers so retries don't duplicate records
  3. Use _elements and _count to keep responses small, and follow the Bundle's paging links
  4. Throttle yourself. Aidbox applies no rate limit, so a burst lands on the customer's database
  5. Don't load real patient data into an instance on a development licence
  6. Read the release notes' Changes and deprecations section before an upgrade; 2607 to 2609 removed endpoints and changed bundle and audit forwarding behaviour

Terra API

  1. Send dev-id and x-api-key headers on every Unified API and Terra AI call. A missing header returns 401 problem+json
  2. Keep each request window to 1,825 days or less and under 6,000 requested days per user an hour. On 429 with rule r2, wait Retry-After seconds
  3. Pass either fields or select to Terra AI tools, never both and never neither, or the call fails with a validation error
  4. Expect data by webhook after a user connects through the widget session. REST reads are for backfills and on-demand queries
  5. Use the Read only access level for the admin MCP server unless a change is needed. The MCP level can read API keys

Questions

Which is better for AI agents, Aidbox or Terra API?

Terra API scores 67.3 (B) on agent readiness against Aidbox's 63.1 (B), and leads in 3 of 7 scored categories. Aidbox leads on security & auth, payments & pricing and maintenance & community.

Do Aidbox and Terra API need an API key?

Aidbox uses an OAuth sign-in. Terra API takes an API key or an OAuth sign-in.

Can an agent call Aidbox and Terra API without installing anything?

No hosted endpoint is listed for Aidbox. Terra API has a hosted endpoint at https://access.tryterra.co/api/v2/mcp/<user_id>.

Other comparisons with Aidbox or Terra API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.