Head to head · Patient consent · October 2026 research run

Medblocks vs Terra API

Terra API scores 67.3 (B) on agent readiness against Medblocks's 50.9 (D), and leads in 5 of 7 scored categories. Medblocks leads on payments & pricing. Both do patient consent.

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

Which one, for what

Medblocks D

Best for A consumer or care app, or an assistant, that needs a patient's own records from US hospitals and payers with the patient's consent, and wants an MCP route as well as REST.

Ahead on

  • Payments & pricing, 38 against 30

Watch for

No status page, SLA or published rate limits for the Platform API

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 28
  • Schema & documentation, 89 against 62
  • Agent ergonomics, 78 against 72
  • Maintenance & community, 75 against 29
  • Transparency & trust, 58 against 52

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.

Maintenance & community Terra API +46

Medblocks 29

The npm releases recorded on 14 October after 8 July are 1.2.0-dev.5 (10 August), dev.6 (7 September) and dev.7 (14 September 2026), while npm's latest tag stayed at 1.0.0. Pre-releases a default install doesn't get don't set recency or count on the 90-day line, so recency rests on SDK 1.0.0 of 8 July 2026, now 119 days old (10, from 30), and the 90-day line has no counted release (0, from 20). The changelog's 1.1.0 and 1.2.0 entries (July and August) describe versions not shown as released under the default tag. The skills repository's last commit on its default branch is 14 September 2026 (a clone on 4 November), with no tags, so it adds no release. Closed service with a dated changelog and support through a Google form. We could not test whether support answers (6 of 15). One official SDK, TypeScript (7 of 15). The SDK has no runtime dependencies and needs Node 20 or Bun 1. The source repository is private, so CI could not be seen (6 of 10). npm and the docs were read on 14 October and not re-read on 4 November, because Medblocks' terms (5 October 2026) bar automated systems from the site. Total 29.

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.

Reliability Terra API +39

Medblocks 28

Read with the hosted lines and scored on the Platform API and MCP server. No status page was found. status.medblocks.com did not answer on 14 October and the docs link none (0). No readable incident history (5). No request limit for the Platform API is published. The only number is manual webhook redelivery at once a minute per event (3 of 15). 429 responses carry Retry-After, the SDK retries 429, 502, 503 and 504 up to three times, and webhook consumers are told to dedupe by event.id. No idempotency keys for writes were found, and the conventions page meant to cover idempotency is a placeholder (10 of 15). No SLA found (0). Patient access and the SDK are at 1.0 with no beta label, though the backend guides are marked a work in progress and wearables as coming soon (10). All lines per the 14 October check, not re-read on 4 November, because Medblocks' terms (5 October 2026) bar automated systems from the site.

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.

Schema & documentation Terra API +27

Medblocks 62

The reference pages say they are generated from openapi/medblocks.json, but that file is not published and the usual paths on app.medblocks.com return the web app. The MCP server's tool schemas sit behind sign-in (8 of 25). llms.txt, llms-full.txt and a Markdown version of every page (10). Guides explain which of the four surfaces fits which relationship, and the MCP page describes each tool and permission (14 of 20). Typed limits such as limit 1 to 100 and enumerated error codes were seen. The generated reference renders its parameter tables by script, so enums and required fields could not all be confirmed (9 of 15). Code samples throughout and an error catalogue of 36 codes with HTTP status and cause (13 of 15). A dated SDK changelog marks breaking changes, and the API takes a Version header, but the versioning page is an unwritten placeholder (8 of 15). All lines per the 14 October check, not re-read on 4 November, because Medblocks' terms (5 October 2026) bar automated systems from the site.

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.

Payments & pricing Medblocks +8

Medblocks 38

Read with the hosted rubric. No x402, MPP or L402 (0). Plan prices are public, Free at $0 and Enterprise at $60,000 a year, with no per-unit price (10). The Free plan covers 1,000 active patients with full API access, and the docs show no card step at sign-in. The dashboard sits behind a login, so the card question was not confirmed (15 of 20). A person signs in through a browser to create the workspace, and each patient approves at their hospital. Dynamic client registration lets an MCP client register itself but still needs that sign-in (0). All lines per the 14 October check, not re-read on 4 November, because Medblocks' terms (5 October 2026) bar automated systems from the site. 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.

Agent ergonomics Terra API +6

Medblocks 72

Ten MCP tools, short and task-shaped, and API list responses sized by limit. No read-only toolset beyond the consent tick boxes (22 of 25). Cursor paging on every list with has_more and next_cursor, plus q and type filters on the connections catalogue (17 of 20). One error envelope with a stable code, the failing param, a request_id and retryAfter, documented per code (19 of 20). No idempotency keys. external_id_already_exists (409) catches duplicates. The MCP page says every tool, lookups included, declares that it changes state because each call writes an audit entry, so no readOnlyHint is set (6 of 20). Few required parameters, and one official SDK, in TypeScript (8 of 15). All lines per the 14 October check, not re-read on 4 November, because Medblocks' terms (5 October 2026) bar automated systems from the site.

Terra API 78

Terra AI has six tools, each taking an explicit fields or select list, which keeps responses small. The admin server has about 40 tools, filtered by access level (22 of 25). Date ranges, with_samples and to_webhook size the REST reads, with no cursor paging since bulk data goes to webhooks (14 of 20). problem+json errors carry a code, 403 names scope_missing, and 429 names the rule (17 of 20). The Unified API's writes take no idempotency key. The admin API accepts an Idempotency-Key header on its mutations, and the admin server has dry runs and dashboard approval for risky changes (12 of 20). user_id is the main required parameter, with Python and npm SDKs and a CLI, though both SDKs date from October 2025 (13 of 15). 22 + 14 + 17 + 12 + 13 = 78.

Transparency & trust Terra API +6

Medblocks 52

Closed service. The SDK licence reading of 14 October came from a CDN copy of the npm package, a third-party copy this run doesn't use, so it is struck. The npm page sits behind a bot check and the SDK's source repository is private, so the licence is unread. The public terms (5 October 2026) cover the website and the Blue Button application, with no customer terms for the Platform API found (10 of 30, the earlier partial kept on the terms alone). The privacy policy covers Medblocks Platform and the MCP server, deletes Medicare data within 7 days of a request, keeps automatically collected data up to 24 months and says nothing is used to train AI models. Other periods are 'a reasonable period' and it does not mention the BAA the docs require (12 of 30). The changelog calls out breaking changes, but no deprecation policy or notice period exists, and the versioning page is a placeholder (5 of 20). Data is processed in the United States per the privacy policy. No sub-processor list was found (5 of 20). All lines per the 14 October check, not re-read on 4 November, because Medblocks' terms (5 October 2026) bar automated systems from the site.

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.

Score by category

CategoryWeightMedblocksTerra APIEdge
Reliability16%2867Terra API +39
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6289Terra API +27
Agent ergonomics13%7278Terra API +6
Security & auth14%6765Medblocks +2
Payments & pricing10%3830Medblocks +8
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%2975Terra API +46
Transparency & trust7%5258Terra API +6
Negative events≤1500
TotalD 50.9/100B 67.3/100

Facts side by side

FactMedblocksTerra API
KindHTTP APIHTTP API
VendorMedblocks Inc.Terra Enabling Developers Inc.
Hosted endpointhttps://app.medblocks.com/mcphttps://access.tryterra.co/api/v2/mcp/<user_id>
TransportsHTTP, Streamable HTTPHTTP, Streamable HTTP
AuthOAuth or keyOAuth or key
PricingFreemiumPay per use
x402nono
LicenceProprietary service under Medblocks' terms. The licence of the medblocks TypeScript SDK on npm wasn't read from a first-hand source. The agent skills repository has no licence fileProprietary service under Terra's terms of service. The OpenAPI specs repository is Apache 2.0
Tools exposed106
Read-only variant documentednono
llms.txtyesyes
Last release2026-07-082026-10-30
Terms last updated2026-10-052026-05-01
Privacy policy last updated2026-10-052023-04-20
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingyesyes
Terms or service can change without noticeyesyes
Arbitration or class-action waivernot found in the textyes
Popularity36 npm/wk13k npm/wk, 11k PyPI/wk
Agent reviewsnone2.8/5 (4)

How the scores have moved

Verdicts

Medblocks

Patient-authorised record retrieval with a ten-tool remote MCP server, OAuth with per-capability consent, an audit entry for every call and a free plan for 1,000 active patients. No status page, no published rate limits and no idempotency keys were found, and the OpenAPI file behind the reference is not published.

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

Medblocks

  1. Connect with claude mcp add --transport http medblocks https://app.medblocks.com/mcp and sign in, or send a workspace API key as a Bearer token from a backend
  2. Ask the person before calling disconnect_health_system or delete_person. Both are permanent
  3. Wait for the connection webhook or check connection status before reading records. Pulls run in the background after the patient approves
  4. Branch on error.code, not the message, and wait the Retry-After seconds on a 429
  5. Use a Sandbox workspace and the Synthetic Hospital (password demopass) for tests. Sandbox keys cannot reach production sources

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, Medblocks or Terra API?

Terra API scores 67.3 (B) on agent readiness against Medblocks's 50.9 (D), and leads in 5 of 7 scored categories. Medblocks leads on payments & pricing.

Do Medblocks and Terra API need an API key?

Both take an API key or an OAuth sign-in.

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

Yes. Medblocks has a hosted endpoint at https://app.medblocks.com/mcp and Terra API at https://access.tryterra.co/api/v2/mcp/<user_id>.

Other comparisons with Medblocks 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.