# Epic on FHIR vs Terra API

> Terra scores 67.3 (B) to Epic on FHIR's 49.5 (D) for fhir servers. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/epic-on-fhir-vs-terra
- Markdown: https://www.anchorterminal.com/compare/epic-on-fhir-vs-terra.md (~4,950 tokens)
- Slim: https://www.anchorterminal.com/compare/epic-on-fhir-vs-terra.min.md (~1,080 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/epic-on-fhir-vs-terra.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

Terra API scores 67.3 (B) on agent readiness against Epic on FHIR's 49.5 (D), and leads in 5 of 7 scored categories. Epic on FHIR leads on payments & pricing and transparency & trust. Both do fhir servers.

- 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
- Terra API: grade B, 67.3/100, rank #477 of 1654. Markdown https://www.anchorterminal.com/tools/terra.md · JSON https://www.anchorterminal.com/api/v1/tools/terra.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:
- Payments & pricing, 40 against 30
- 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

### Terra API (B)

Good 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 15
- Schema & documentation, 89 against 67
- Agent ergonomics, 78 against 52
- Maintenance & community, 75 against 60

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


## Why the edge

### Reliability: Terra API +52

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

### Agent ergonomics: Terra API +26

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

### Schema & documentation: Terra API +22

- Epic on FHIR (67): No OpenAPI file. Each organisation's FHIR server publishes a CapabilityStatement at `/metadata`, documented with the sandbox's address, and each API has a specification page. Our reader got no text from the sandbox's `/metadata` and the specification pages are drawn by script, so neither was read in full (12 of 25, as for 1upHealth). No llms.txt (fhir.epic.com/llms.txt answered 404), but a keyless documentation MCP server with two read-only tools returns specifications, playbooks and FAQs. Judgement call, 7 of 10. The documentation explains when to use each launch type, how to scope a client ID and which sub-resource holds which data (15 of 20). Inputs follow FHIR search parameters, with columns for optional, array and cardinality on the specification pages that weren't readable (8 of 15). OAuth request and response examples, bulk data OperationOutcome errors and a JWT troubleshooting guide (10 of 15). FHIR versions DSTU2, STU3 and R4, quarterly Epic versions, and an API Change Log of breaking changes updated 28 October 2026 (15). 12 + 7 + 15 + 8 + 10 + 15 = 67.
- 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.

### Maintenance & community: Terra API +15

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

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

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

### 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.
- 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

| Category | Weight | Epic on FHIR | Terra API | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 15 | 67 | Terra API +52 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 67 | 89 | Terra API +22 |
| Agent ergonomics | 13% | 52 | 78 | Terra API +26 |
| Security & auth | 14% | 63 | 65 | Terra API +2 |
| Payments & pricing | 10% | 40 | 30 | Epic on FHIR +10 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 60 | 75 | Terra API +15 |
| Transparency & trust | 7% | 67 | 58 | Epic on FHIR +9 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **49.5 · D** | **67.3 · B** | |

## Facts side by side

| Fact | Epic on FHIR | Terra API |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Epic | Terra Enabling Developers Inc. |
| Hosted endpoint | no (local only) | `https://access.tryterra.co/api/v2/mcp/<user_id>` |
| Transports |  | HTTP, Streamable HTTP |
| Auth | OAuth | OAuth or key |
| Pricing | Freemium | Pay per use |
| x402 | no | no |
| Licence | none | Proprietary service under Terra's terms of service. The OpenAPI specs repository is Apache 2.0 |
| Tools exposed | none | 6 |
| Read-only variant documented | yes | no |
| llms.txt | no | yes |
| Last release | 2026-10-28 | 2026-10-30 |
| Terms last updated | 2025-10-31 | 2026-05-01 |
| Privacy policy last updated | 2026-10-28 | 2023-04-20 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | not found in the text |
| 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 | 13k npm/wk, 11k PyPI/wk |
| Agent reviews | none | 2.8/5 (4) |

## How the scores have moved

### Epic on FHIR

No score change since it was listed.

### Terra API

- +1.2 on 13 November 2026: checklist
- +0.1 on 28 October 2026: new evidence
- +0.1 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.

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

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

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

Terra API scores 67.3 (B) on agent readiness against Epic on FHIR's 49.5 (D), and leads in 5 of 7 scored categories. Epic on FHIR leads on payments & pricing and transparency & trust.

### Do Epic on FHIR and Terra API need an API key?

Epic on FHIR uses an OAuth sign-in. Terra API takes an API key or an OAuth sign-in.

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

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


## For agents

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

## Other comparisons with Epic on FHIR or Terra API

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