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

Epic on FHIR vs Junction API

Junction API scores 60.1 (C) on agent readiness against Epic on FHIR's 49.5 (D), and leads in 4 of 7 scored categories. Epic on FHIR leads on security & auth and payments & pricing. Both do patient record retrieval.

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

Which one, for what

Epic on FHIR D

Best 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 57
  • Payments & pricing, 40 against 35

Watch for

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

Junction API C

Best for Health and wellness apps that need wearable data from 300+ devices and US lab test ordering through one API.

Ahead on

  • Reliability, 36 against 15
  • Schema & documentation, 85 against 67
  • Agent ergonomics, 72 against 52
  • Maintenance & community, 82 against 60

Watch for

No public status page or incident history was found on junction.com or in the docs

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 Junction API +22

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.

Junction API 82

The lab-testing changelog has two entries for November 2026 and the wearables API changelog one (historical backfill progress), and the TypeScript SDK was tagged 2.0.0 on 24 September 2026 (30). More than three dated changelog entries since 25 August 2026, including six in October 2026 for lab testing (20). Closed service with public changelogs, email support at help@junction.com and a Slack community. Response times weren't tested (10 of 15). Current official SDKs in four languages generated from the OpenAPI file (15). The TypeScript SDK has a CI workflow and tags 1.0.0 to 2.0.0 since May 2026 (7 of 10). 30 + 20 + 10 + 15 + 7 = 82.

Reliability Junction API +21

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.

Junction API 36

Read with the hosted lines and graded on the Junction REST API. No status page was linked from junction.com or the docs, and none is named in llms.txt (0), so no incident history could be read (5). The rate limiting page says there is no per-customer limit, and gives one numeric limit, 8 refreshes an hour per user on POST /user/refresh/{user_id} (8 of 15). It says to retry idempotent requests on 429 or 503 with exponential backoff, lab orders and appointment bookings take X-Idempotency-Key, and webhooks retry eight times with backoff (13 of 15). Uptime SLAs are an Enterprise feature with no published terms (0). The core API carries no beta label, though some endpoints are marked beta (10). 0 + 5 + 8 + 13 + 0 + 10 = 36.

Agent ergonomics Junction API +20

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.

Junction API 72

Reads are sized by date ranges and grouped timeseries with cursor pagination, with no field selection found (15 of 25). next_cursor paging on list and timeseries endpoints and date filters (18 of 20). Errors are JSON with FastAPI-style detail, and closed-beta errors became JSON in November 2025, but no error code catalogue was found (12 of 20). X-Idempotency-Key on test kit orders and appointment booking, and retry guidance for idempotent calls. No idempotency on most writes, and no MCP server for the data API (12 of 20). A user id is the main required parameter, and there are official SDKs in TypeScript, Python, Go and Java (15). 15 + 18 + 12 + 12 + 15 = 72.

Schema & documentation Junction API +18

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.

Junction API 85

Public OpenAPI 3.1 file at docs.junction.com/swagger.json, version 0.5.82, with 185 paths and 195 operations, linked from llms.txt and read once, plus a separate Management API file (25). llms.txt, per-product indexes and a Markdown copy of every page (10). Guides say when to use each credential and when to move from legacy to grouped timeseries, but only 74 of 195 operations carry a description beyond a summary (13 of 20). 280 enums and about 700 required lists, with typed query parameters (13 of 15). 171 examples, and errors documented mostly as 422 validation errors (188 operations), with 400, 404 and 500 on a few (9 of 15). Versioned paths (/v2, /v3), a versioned spec and dated changelogs for the core, wearables and lab-testing APIs (15). 25 + 10 + 13 + 13 + 9 + 15 = 85.

Security & auth Epic on FHIR +6

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.

Junction API 57

Team API Keys are team-scoped, long-lived until revoked and rotatable from the dashboard or the Management API. Short-lived Team API Access Tokens are minted with a separate Management Key, and mobile apps use user-scoped sign-in tokens. No read-only scopes and no key in a query string (24 of 30). Sandbox and production use separate keys and mobile tokens are limited to one user, but there is no read-only key and deletes need no confirmation (8 of 20). Responses are structured health metrics and lab results with little free text (10). Webhook delivery history is visible in the dashboard and through Svix, and no API audit log was found (5 of 15). The pricing page claims SOC 2 Type 2, ISO 27001, HIPAA compliance and a BAA. No security.txt (404), disclosure policy or bug bounty found, and no report was read (10 of 20). 24 + 8 + 10 + 5 + 10 = 57.

Payments & pricing Epic on FHIR +5

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.

Junction API 35

Read with the hosted rubric. No x402, MPP or L402 (0). Plan pricing is public, the Launch plan at $300 a month for 1 to 500 connected users, and Enterprise, which adds lab testing, is custom (15). A sandbox with up to 50 users per team behind a Start for free button. Whether a card is asked for wasn't seen, and the terms say a free trial may need billing details (20 of 30). A person signs up in the dashboard in a browser. The Management API mints keys, but only with a Management Key from the dashboard (0). 0 + 15 + 20 + 0 = 35.

Score by category

CategoryWeightEpic on FHIRJunction APIEdge
Reliability16%1536Junction API +21
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6785Junction API +18
Agent ergonomics13%5272Junction API +20
Security & auth14%6357Epic on FHIR +6
Payments & pricing10%4035Epic on FHIR +5
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6082Junction API +22
Transparency & trust7%6767even
Negative events≤1500
TotalD 49.5/100C 60.1/100

Facts side by side

FactEpic on FHIRJunction API
KindHTTP APIHTTP API
VendorEpicJunction
Hosted endpointno (local only)no (local only)
Transports
AuthOAuthAPI key
PricingFreemiumPaid
x402nono
Read-only variant documentedyesno
llms.txtnoyes
Last release2026-10-282026-11
Terms last updated2025-10-31no date given
Privacy policy last updated2026-10-28no date given
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textyes
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticenot found in the textyes
Arbitration or class-action waivernot found in the textyes
Popularitynone1 stars

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.

Junction API

A public OpenAPI 3.1 file of 195 operations, SDKs in four languages and dated changelogs with deprecation dates make the wearables and lab-testing API easy to build on. No status page or per-customer rate limit was found, and production needs the $300 monthly plan or a sales contract.

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

Junction API

  1. Use the base URL that matches the key's region and environment (pk_us_, pk_eu_, sk_us_, sk_eu_), because teams cannot change region
  2. Send the team key in the X-Vital-API-Key header. The old Vital name is still in the header and the mobile SDK packages
  3. If a request returns 429 or 503, retry idempotent calls with exponential backoff
  4. Use the grouped timeseries endpoints with next_cursor. The legacy timeseries endpoints were removed on 22 September 2026
  5. Send X-Idempotency-Key when you order a test kit or book an appointment, so a retry does not create a second order

Questions

Which is better for AI agents, Epic on FHIR or Junction API?

Junction API scores 60.1 (C) on agent readiness against Epic on FHIR's 49.5 (D), and leads in 4 of 7 scored categories. Epic on FHIR leads on security & auth and payments & pricing.

Do Epic on FHIR and Junction API need an API key?

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

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

No hosted endpoint is listed for Epic on FHIR. No hosted endpoint is listed for Junction API.

Other comparisons with Epic on FHIR or Junction 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.