Head to head · FHIR servers · October 2026 research run

Metriport Medical API vs Terra API

Terra API scores 65.9 (B) on agent readiness against Metriport Medical API's 50.1 (D), and leads in 6 of 7 scored categories. Both do fhir servers.

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

Which one, for what

Metriport Medical API D

Best for US care providers and digital health companies that need a patient's network records as FHIR with webhooks.

Also in its favour

  • Open source

Watch for

Every API key has full access, including destructive operations, with no scopes

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 45
  • Schema & documentation, 89 against 65
  • Agent ergonomics, 78 against 70
  • Security & auth, 65 against 41
  • Payments & pricing, 20 against 5

Also in its favour

  • A hosted endpoint, with nothing to install

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

Score by category

CategoryWeight this runMetriport Medical APITerra APIEdge
Reliability16%204567Terra API +22
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.26589Terra API +24
Agent ergonomics13%16.27078Terra API +8
Security & auth14%17.54165Terra API +24
Payments & pricing10%12.5520Terra API +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87475Terra API +1
Transparency & trust7%8.85656even
Negative events≤1500
TotalD 50.1/100B 65.9/100

Facts side by side

FactMetriport Medical APITerra API
KindHTTP APIHTTP API
VendorMetriport Inc.Terra Enabling Developers Inc.
Hosted endpointno (local only)https://access.tryterra.co/api/v2/mcp/<user_id>
TransportsHTTPHTTP, Streamable HTTP
AuthAPI keyOAuth or key
PricingPaidPay per use
x402nono
LicenceProprietary hosted service under Metriport's terms of use. The source in metriport/metriport is AGPLv3, with an enterprise directory under its own licence, and the @metriport/api-sdk package on npm is MITProprietary service under Terra's terms of service. The OpenAPI specs repository is Apache 2.0
Tools exposednone6
Read-only variant documentednono
llms.txtyesyes
Last release2026-09-282026-10-13
Terms last updated2024-01-012026-05-01
Privacy policy last updated2023-02-212023-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 waiveryesyes
Popularity793 stars, 28k npm/wk13k npm/wk, 11k PyPI/wk

Verdicts

Metriport Medical API

One network query pulls a patient's records from HIEs, pharmacies and labs and returns deduplicated FHIR, with per-operation rate limits, RFC 7807 errors and AGPLv3 source. Each API key has full access with no scopes, there are no public prices, and the sandbox opens only after Metriport approves the account.

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

Metriport Medical API

  1. Check the errors array after Start Network Query. It returns 2XX even when some sources fail
  2. Wait for network-query.* webhooks or poll Get Network Query Status before reading consolidated data, which is cached from the last query
  3. Send the resource's eTag in If-Match on updates to avoid overwriting newer data
  4. Keep patient creates under 15 a minute and network queries under 20 a minute per source
  5. In sandbox, create patients whose first name matches a pre-defined persona to get example records

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

Terra API scores 65.9 (B) on agent readiness against Metriport Medical API's 50.1 (D), and leads in 6 of 7 scored categories.

Do Metriport Medical API and Terra API need an API key?

Metriport Medical API needs an API key. Terra API takes an API key or an OAuth sign-in.

Can an agent call Metriport Medical API and Terra API without installing anything?

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

Are Metriport Medical API and Terra API open source?

Metriport Medical API is open source (Proprietary hosted service under Metriport's terms of use. The source in metriport/metriport is AGPLv3, with an enterprise directory under its own licence, and the @metriport/api-sdk package on npm is MIT). No open-source release is listed for Terra API.

Other comparisons with Metriport Medical API 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.