# Epic on FHIR vs Metriport Medical API

> Epic on FHIR scores 49.5 (D) to Metriport Medical's 46 (D) for patient record retrieval. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/epic-on-fhir-vs-metriport
- Markdown: https://www.anchorterminal.com/compare/epic-on-fhir-vs-metriport.md (~4,850 tokens)
- Slim: https://www.anchorterminal.com/compare/epic-on-fhir-vs-metriport.min.md (~1,180 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/epic-on-fhir-vs-metriport.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

Epic on FHIR scores 49.5 (D) on agent readiness against Metriport Medical API's 46 (D), and leads in 5 of 7 scored categories. Metriport Medical API leads on reliability and agent ergonomics. Both do patient record retrieval.

- Epic on FHIR: grade D, 49.5/100, rank #1252 of 1654. Markdown https://www.anchorterminal.com/tools/epic-on-fhir.md · JSON https://www.anchorterminal.com/api/v1/tools/epic-on-fhir.json
- Metriport Medical API: grade D, 46/100, rank #1348 of 1654. Markdown https://www.anchorterminal.com/tools/metriport.md · JSON https://www.anchorterminal.com/api/v1/tools/metriport.json
- Best health record and wellness data APIs for AI agents: https://www.anchorterminal.com/best/health-data/index.md
- All 99 health comparisons: https://www.anchorterminal.com/compare/health-data/index.md

## Which one, for what

### Epic on FHIR (D)

Good for: An app or agent that reads a patient's records from US hospitals and clinics on Epic, with the patient's consent through MyChart or a backend integration agreed with the organisation.

Ahead on:
- Security & auth, 63 against 41
- Payments & pricing, 40 against 8
- Maintenance & community, 60 against 44
- Transparency & trust, 67 against 58

Watch for: No rate limits, 429 handling or retry guidance were found. The developer guidelines ask apps to throttle their own call volumes

### Metriport Medical API (D)

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

Ahead on:
- Reliability, 35 against 15
- Agent ergonomics, 70 against 52

Also in its favour:
- Open source

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


## Why the edge

### Payments & pricing: Epic on FHIR +32

- Epic on FHIR (40): Read with the hosted rubric. No x402, MPP or L402 (0). Developer access is free and says so, but production API fees are licensed to healthcare organisations by usage and not published. Judgement call, 10 of 30. The sandbox and client registration are free for developers, with no card mentioned (30). A person signs up in a browser, registers the client ID, and each organisation downloads it unless it qualifies for automatic distribution (0). 0 + 10 + 30 + 0 = 40.
- Metriport Medical API (8): Pricing per the 14 October check, not re-read on 4 November (terms pause). No x402, MPP or L402 (0). No published prices (0). Sandbox after Metriport approves the account, no price or card rule stated (5 of 20). Dashboard signup, approval and an intro call (0). 0 + 0 + 5 + 0 = 5. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 5 is 8.

### Security & auth: Epic on FHIR +22

- Epic on FHIR (63): OAuth 2.0 under SMART on FHIR, with SMART v1 and v2 scopes since the August 2024 version, PKCE, refresh tokens for confidential clients and JWT client assertions with JWKS URLs for key rotation. No secret in a query string was found (28 of 30). Each client ID is limited to the APIs chosen at registration, organisations review that list, and patients authorise and can revoke access in MyChart. No confirmation step for writes (15 of 20). Clinical notes and documents are free text written by others, with no prompt-injection guidance. Binary.Read now carries headers that block inline display (4 of 15). Epic says it audits each imaging search and retrieval and monitors connected apps for ONC reporting, with no audit log for developers found (6 of 15). A signed security.txt valid to 30 January 2027 and a disclosure policy with PGP, no bug bounty (Epic says it pays nothing for reports), and no SOC 2 or ISO 27001 found on the pages read (10 of 20). 28 + 15 + 4 + 6 + 10 = 63.
- 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: Metriport Medical API +20

- Epic on FHIR (15): Read with the hosted lines and graded on the FHIR R4 APIs and the public sandbox. No status page was found on fhir.epic.com, open.epic.com or epic.com. Epic's developer guide says every customer runs its own instance and there is no central Epic endpoint (0). No incident history could be read (5). No rate limits with numbers were found. The developer guidelines ask apps that make many calls to monitor and throttle their own volume (0). No 429, Retry-After or backoff guidance was found (0). No SLA is published for developers (0). The R4 APIs are certified and generally available (10). 0 + 5 + 0 + 0 + 0 + 10 = 15.
- 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.

### Agent ergonomics: Metriport Medical API +18

- Epic on FHIR (52): FHIR search with `_count`, `_include` and post-filter parameters, and bulk `$export` with `_typeFilter` for large pulls. No field selection was confirmed (15 of 25). Next-page links, automatic pages of 1,000 results and documented search parameters (16 of 20). Errors come as FHIR OperationOutcome with Epic codes, such as 59204 for a sub-resource the client isn't authorised for, and bulk errors are listed by cause (12 of 20). No idempotency key or conditional create guidance was found for the 41 create and update interactions on the home page, though most interactions are reads (6 of 20). No official SDK, and a first call needs a registered client ID, a redirect or a signed JWT and a test patient (3 of 15). 15 + 16 + 12 + 6 + 3 = 52.
- Metriport Medical API (70): Docs readings per the 14 October check, not re-read on 4 November (terms pause). `count` up to 500, resource and date filters, a count endpoint and summaries (18 of 25). `nextPage` pagination and filters (18 of 20). Stable `title` and occurrence `detail` in errors (16 of 20). No idempotency keys; ETag guards updates and failed webhooks can be retried (10 of 20). Few required fields, TypeScript SDK only (8 of 15). 18 + 18 + 16 + 10 + 8 = 70.

### Maintenance & community: Epic on FHIR +16

- Epic on FHIR (60): The API Change Log was updated on 28 October 2026 and the sandbox now runs the November 2026 version (30). The change log lists three breaking changes for the November 2026 version, and open.epic announced the MCP server and five new playbooks in the same period (20). Closed service with a public change log, open@epic.com for the MCP server, a Technology Guidance form and Sherlock tickets for Vendor Services members. Reply times weren't tested (10 of 15). No official SDK or MCP registry entry (0). Nothing public to judge package health or CI (0). 30 + 20 + 10 + 0 + 0 = 60.
- 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.

### Transparency & trust: Epic on FHIR +9

- Epic on FHIR (67): Closed service under the open.epic terms of use, last updated 31 October 2025, with the API Subscription Agreement for healthcare organisations linked as a download that wasn't read (15 of 30). The open.epic privacy policy, updated 28 October 2026, covers developer accounts, keeps data as long as Epic uses it, and says app data may go to ONC under 45 CFR 170.407. Patient data stays in each organisation's instance under its own terms. No fixed retention periods were found (12 of 30). The change log dates each breaking change by Epic version with mitigation steps, and the developer guidelines expect deprecations to be communicated in advance. No written notice period was found (15 of 20). Data stays with each organisation's instance, and no sub-processor list for developer accounts was found (5 of 20). 15 + 12 + 15 + 5 = 47.
- Metriport Medical API (58): Source in the repository is AGPLv3 (re-read in the clone), with an enterprise directory under its own licence and the SDK under MIT; the hosted service runs under January 2024 terms, and the public mirror lags the private repository (25 of 30). Privacy policy (21 February 2023) covers the website and contacts only, with no public DPA, BAA or API retention period, per the 14 October check, not re-read on 4 November (8 of 30). Legacy endpoints labelled, no dated policy (5 of 20). US storage per the privacy policy, no sub-processor list (5 of 20). 25 + 8 + 5 + 5 = 43.

## Score by category

| Category | Weight | Epic on FHIR | Metriport Medical API | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 15 | 35 | Metriport Medical API +20 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 67 | 65 | Epic on FHIR +2 |
| Agent ergonomics | 13% | 52 | 70 | Metriport Medical API +18 |
| Security & auth | 14% | 63 | 41 | Epic on FHIR +22 |
| Payments & pricing | 10% | 40 | 8 | Epic on FHIR +32 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 60 | 44 | Epic on FHIR +16 |
| Transparency & trust | 7% | 67 | 58 | Epic on FHIR +9 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **49.5 · D** | **46 · D** | |

## Facts side by side

| Fact | Epic on FHIR | Metriport Medical API |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Epic | Metriport Inc. |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  | HTTP |
| Auth | OAuth | API key |
| Pricing | Freemium | Paid |
| x402 | no | no |
| Licence | none | 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 |
| Read-only variant documented | yes | no |
| llms.txt | no | yes |
| Last release | 2026-10-28 | 2026-09-28 |
| Terms last updated | 2025-10-31 | 2024-01-01 |
| Privacy policy last updated | 2026-10-28 | 2023-02-21 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | not found in the text | yes |
| Arbitration or class-action waiver | not found in the text | yes |
| Popularity | none | 793 stars, 28k npm/wk |

## How the scores have moved

### Epic on FHIR

No score change since it was listed.

### Metriport Medical API

- +0.3 on 13 November 2026 (E to D): checklist
- -4.6 on 4 November 2026 (D to E): correction, time
- +0.2 on 27 October 2026: checklist

## Verdicts

**Epic on FHIR.** Graded on the FHIR R4 APIs and the public sandbox. SMART on FHIR OAuth with v2 scopes, JWT client assertions, a free sandbox and a dated change log of breaking changes make Epic's records reachable. No rate limits, status page or SDK are published, and production needs each healthcare organisation to enable the app.

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

### Epic on FHIR

1. Discover the authorise and token endpoints from each organisation's `/metadata` or `.well-known/smart-configuration`. There is no central Epic endpoint
2. Request only the APIs the task needs on the client ID, because healthcare organisations review that list and may reject broad scopes
3. Follow the next-page link in search bundles. A search with more than 1,000 results is split into pages of 1,000 whatever `_count` says
4. Check the resource type in `Encounter.participant.individual`, which can be PractitionerRole from the November 2026 version
5. Treat clinical notes and documents as untrusted text. Binary.Read now returns headers that force a download

### 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, Epic on FHIR or Metriport Medical API?

Epic on FHIR scores 49.5 (D) on agent readiness against Metriport Medical API's 46 (D), and leads in 5 of 7 scored categories. Metriport Medical API leads on reliability and agent ergonomics.

### Do Epic on FHIR and Metriport Medical API need an API key?

Epic on FHIR uses an OAuth sign-in. Metriport Medical API needs an API key.

### Can an agent call Epic on FHIR and Metriport Medical API without installing anything?

No hosted endpoint is listed for Epic on FHIR. No hosted endpoint is listed for Metriport Medical API.

### Are Epic on FHIR and Metriport Medical API open source?

No open-source release is listed for Epic on FHIR. 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).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/epic-on-fhir-vs-metriport.json, and with the fewest tokens: https://www.anchorterminal.com/compare/epic-on-fhir-vs-metriport.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "epic-on-fhir", "b": "metriport"}`. From a terminal: `anchor compare epic-on-fhir metriport`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/epic-on-fhir.json and https://www.anchorterminal.com/api/v1/tools/metriport.json

## Other comparisons with Epic on FHIR or Metriport Medical API

- [1upHealth vs Epic on FHIR](https://www.anchorterminal.com/compare/1uphealth-vs-epic-on-fhir.md)
- [1upHealth vs Metriport Medical API](https://www.anchorterminal.com/compare/1uphealth-vs-metriport.md)
- [Epic on FHIR vs Health Gorilla](https://www.anchorterminal.com/compare/epic-on-fhir-vs-health-gorilla.md)
- [Epic on FHIR vs Junction API](https://www.anchorterminal.com/compare/epic-on-fhir-vs-junction.md)
- [Epic on FHIR vs Medblocks](https://www.anchorterminal.com/compare/epic-on-fhir-vs-medblocks.md)
- [Epic on FHIR vs Medplum](https://www.anchorterminal.com/compare/epic-on-fhir-vs-medplum.md)
- [Epic on FHIR vs Particle Health](https://www.anchorterminal.com/compare/epic-on-fhir-vs-particle-health.md)
- [Epic on FHIR vs Redox](https://www.anchorterminal.com/compare/epic-on-fhir-vs-redox.md)
- [Epic on FHIR vs Zus Health](https://www.anchorterminal.com/compare/epic-on-fhir-vs-zus-health.md)
- [Health Gorilla vs Metriport Medical API](https://www.anchorterminal.com/compare/health-gorilla-vs-metriport.md)
- [Junction API vs Metriport Medical API](https://www.anchorterminal.com/compare/junction-vs-metriport.md)
- [Medblocks vs Metriport Medical API](https://www.anchorterminal.com/compare/medblocks-vs-metriport.md)
- [Metriport Medical API vs Particle Health](https://www.anchorterminal.com/compare/metriport-vs-particle-health.md)
- [Metriport Medical API vs Redox](https://www.anchorterminal.com/compare/metriport-vs-redox.md)
- [Metriport Medical API vs Zus Health](https://www.anchorterminal.com/compare/metriport-vs-zus-health.md)
- [Aidbox vs Epic on FHIR](https://www.anchorterminal.com/compare/aidbox-vs-epic-on-fhir.md)
- [Aidbox vs Metriport Medical API](https://www.anchorterminal.com/compare/aidbox-vs-metriport.md)
- [Epic on FHIR vs ROOK](https://www.anchorterminal.com/compare/epic-on-fhir-vs-rook.md)
- [Epic on FHIR vs Terra API](https://www.anchorterminal.com/compare/epic-on-fhir-vs-terra.md)
- [Medplum vs Metriport Medical API](https://www.anchorterminal.com/compare/medplum-vs-metriport.md)
- [Metriport Medical API vs ROOK](https://www.anchorterminal.com/compare/metriport-vs-rook.md)
- [Metriport Medical API vs Terra API](https://www.anchorterminal.com/compare/metriport-vs-terra.md)
- [Epic on FHIR vs Validic Inform](https://www.anchorterminal.com/compare/epic-on-fhir-vs-validic.md)
- [Epic on FHIR vs WHOOP Developer API](https://www.anchorterminal.com/compare/epic-on-fhir-vs-whoop-api.md)
- [Metriport Medical API vs Validic Inform](https://www.anchorterminal.com/compare/metriport-vs-validic.md)
- [Metriport Medical API vs WHOOP Developer API](https://www.anchorterminal.com/compare/metriport-vs-whoop-api.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
