Head to head · Patient record retrieval · October 2026 research run

Health Gorilla vs Metriport Medical API

Health Gorilla scores 59.1 (C) on agent readiness against Metriport Medical API's 46 (D), and leads in 6 of 7 scored categories. Both do patient record retrieval.

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

Which one, for what

Health Gorilla C

Best for US providers, labs and digital health companies that need network record retrieval and lab ordering through one FHIR API with a QHIN behind it.

Ahead on

  • Reliability, 55 against 35
  • Schema & documentation, 80 against 65
  • Security & auth, 66 against 41
  • Maintenance & community, 63 against 44

Watch for

No public prices. Fees are set case by case and the sandbox is requested by form

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

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.

Security & auth Health Gorilla +25

Health Gorilla 66

OAuth 2.0 with scopes assigned per client at registration, tenant context and short-lived tokens. The JWT bearer assertion is signed HS256 with the shared client secret, and an implicit grant can be enabled (25 of 30). Scopes per resource and action, tenant isolation and user roles intersect on every token, but write scopes carry no documented confirmation step (14 of 20). Retrieved C-CDA and FHIR documents come from outside organisations with no prompt-injection guidance (3 of 15). Exchange activity is logged with request IDs, and Network Admin reports list transactions per patient (12 of 15). HITRUST r2, SOC 2 Type II and QHIN designation, a security contact in an expired security.txt page that is not at /.well-known, and no bug bounty (12 of 20).

Metriport Medical API 41

Docs readings per the 14 October check, not re-read on 4 November (terms pause). One kind of key in the x-api-key header with full access, two active for rotation, each revocable (15 of 30). No scopes or read-only key; dashboard roles and HIE opt-out (5 of 20). External C-CDA, PDF and image documents returned with no prompt-injection guidance (3 of 15). Webhook requests listable, no API audit log (4 of 15). The repository README claims HITRUST r2, SOC 2 Type 2 and HIPAA compliance, and SECURITY.md (re-read in the clone) routes reports to GitHub vulnerability reporting or support@metriport.com with no acknowledgement time; no security.txt (14 of 20). 15 + 5 + 3 + 4 + 14 = 41.

Reliability Health Gorilla +20

Health Gorilla 55

Read with the hosted lines. status.healthgorilla.com on Statuspage, its page listing 11 components with history (20). Read from the page and its history.atom feed; the 14 October reading came from the page's /api/v2 data, which its robots.txt disallows, and is struck. In the 90 days from 6 August the API Server stopped answering for 16 minutes on 29 September 2026, when "API requests either timed out or returned errors" and only the web portal kept working, so the API was fully down, one major however short (10). The 5 August CommonWell outage has left the window, and the 18 August QHIN and 22 October certificate windows were scheduled maintenance. Rate limits are enforced with no numbers (0). Best practices advise backoff, retrying only idempotent operations and avoiding bursts, async polling honours Retry-After, and HG-Idempotency-Key makes POST retries safe, though no 429 response is documented. Backoff guidance with idempotency keys meets both halves of the line, as Retry-After with keys did for other listings (15; 13 before). No SLA was found in public (0). The FHIR API and Patient360 are generally available (10). 20 + 10 + 0 + 15 + 0 + 10 = 55.

Metriport Medical API 35

Metriport's terms of use (last updated January 2024) bar access to the Site, which includes linked and connected media, 'through automated or non-human means, whether through a bot, script or otherwise', so metriport.com hosts are paused and their readings are kept per the 14 October check, not re-read on 4 November. status.metriport.com is a Checkly dashboard that rendered only with JavaScript, so the page exists but its components and history were never read (0 of 20, as other listings whose script-drawn status page was never read; history unreadable 5). Rate limits per operation, such as 15 patient creates and 20 network queries a minute, also in the docs source in the GitHub repository (15). No 429, Retry-After or backoff guidance, only ETag with If-Match and a 412 on stale updates (5 of 15, partial). No SLA (0). Generally available (10). 0 + 5 + 15 + 5 + 0 + 10 = 35.

Maintenance & community Health Gorilla +19

Health Gorilla 63

Release 2645 went to production on 28 October 2026 and 2645_1 is dated for production on 4 November (30). Releases 2637_5 (7 October), 2637_6 (14 October), 2645 (28 October) and others since August (20). Closed service with dated release notes and a support desk. We did not test support (10 of 15). No official SDK was found (0 of 15). Docs carry agent tool metadata and are updated through October 2026 (3 of 10). 30 + 20 + 10 + 0 + 3 = 63.

Metriport Medical API 44

@metriport/api-sdk 18.22.0 was published on 28 September 2026, per the 14 October registry reading, not re-read on 4 November (the npm website answers a bot check and registry JSON isn't used this run). That is 37 days ago, so recency is 20 (was 30; cause time). Seven SDK releases from 16 July to 14 October were counted then, but only 18.22.0 carries a recorded date. The clone has no tag or changelog entry after api-sdk 18.0.11 (16 October 2025), only an untagged version bump in the 27 August sync, so fewer than three dated releases fall in the 90 days from 6 August (0). The public repository's last sync was 27 August 2026 and its tags end at api-sdk 18.0.11 (16 October 2025). Support by email, issues not read (7 of 25). One current official SDK, TypeScript (10 of 15). CI workflows for build, deploy and end-to-end tests in the repository (7 of 10). 20 + 0 + 7 + 10 + 7 = 44.

Schema & documentation Health Gorilla +15

Health Gorilla 80

Each reference page carries an OpenAPI 3.1 fragment, with no single specification file found (18 of 25). llms.txt and Markdown copies of every page (10). Pages name the required scope and explain workflows such as Patient360 retrieval and async polling (14 of 20). Inputs follow FHIR search parameters with value sets and profiles documented (10 of 15). curl examples, a status code table, OperationOutcome format and common error scenarios (13 of 15). Dated release notes with sandbox and production go-live dates, and FHIR R4 and STU3 versioned paths (15).

Metriport Medical API 65

Docs readings per the 14 October check, not re-read on 4 November (terms pause). The GitHub repository still holds the Fern API definition covering patients, facilities, FHIR, documents and webhooks but not network query, cohorts, messages or settings, last synced 27 August 2026 (12 of 25). llms.txt and Markdown pages (10). Descriptions with when-to-use and traps (16 of 20). Typed parameters in hand-written pages (10 of 15). SDK examples and an RFC 7807 error format (12 of 15). Versioned under /medical/v1 with no public changelog (5 of 15). 12 + 10 + 16 + 10 + 12 + 5 = 65.

Score by category

CategoryWeightHealth GorillaMetriport Medical APIEdge
Reliability16%5535Health Gorilla +20
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8065Health Gorilla +15
Agent ergonomics13%7270Health Gorilla +2
Security & auth14%6641Health Gorilla +25
Payments & pricing10%88even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6344Health Gorilla +19
Transparency & trust7%6158Health Gorilla +3
Negative events≤1500
TotalC 59.1/100D 46/100

Facts side by side

FactHealth GorillaMetriport Medical API
KindHTTP APIHTTP API
VendorHealth Gorilla, Inc.Metriport Inc.
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthOAuthAPI key
PricingPaidPaid
x402nono
LicenceProprietary service under Health Gorilla's API Terms of Use (updated 22 January 2026), with a signed licence agreement required before productionProprietary 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
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-282026-09-28
Terms last updatedno date given2024-01-01
Privacy policy last updated2024-08-302023-02-21
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textyes
Terms restrict benchmarkingyesyes
Terms or service can change without noticeyesyes
Arbitration or class-action waivernot found in the textyes
Popularitynone793 stars, 28k npm/wk

How the scores have moved

Verdicts

Health Gorilla

A TEFCA QHIN with a FHIR R4 API, OpenAPI fragments on every reference page, idempotency keys on POST and dated weekly release notes. Access is sales-led, with case-by-case fees, a sandbox by request and no published rate limit numbers, and the API stopped answering for 16 minutes on 29 September 2026.

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.

Before you call either

Health Gorilla

  1. Send a fresh UUID in HG-Idempotency-Key on every POST and reuse it only when retrying the same payload
  2. Poll async operations no sooner than the Retry-After value and treat 454 as an expired result
  3. Follow link.relation=next in Bundles rather than building offsets yourself
  4. Expect mocked Patient360 data in sandbox unless network connectivity is enabled for the tenant
  5. Log X-HG-Request-Id from each response for support cases

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

Questions

Which is better for AI agents, Health Gorilla or Metriport Medical API?

Health Gorilla scores 59.1 (C) on agent readiness against Metriport Medical API's 46 (D), and leads in 6 of 7 scored categories.

Do Health Gorilla and Metriport Medical API need an API key?

Health Gorilla uses an OAuth sign-in. Metriport Medical API needs an API key.

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

No hosted endpoint is listed for Health Gorilla. No hosted endpoint is listed for Metriport Medical API.

Are Health Gorilla and Metriport Medical API open source?

No open-source release is listed for Health Gorilla. 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).

Other comparisons with Health Gorilla or Metriport Medical 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.