# Lab Results API for Quest Diagnostics and Labcorp

Flexpa returns a patient's lab results from both Quest Diagnostics and Labcorp through one FHIR API. Quest results come through Quest's patient-facing FHIR API after the patient signs in to Quest. Labcorp results come through TEFCA Individual Access Services after the patient verifies their identity once with CLEAR, ID.me or Persona. Your app reads both from the same endpoints, with the patient's authorization.

How it works: Patient authorizes -> Flexpa retrieves -> One FHIR API. Quest connects through its own patient FHIR API. Labcorp connects through TEFCA Individual Access Services.

## Two labs, two routes

|                            | Quest Diagnostics                              | Labcorp                                                                            |
| -------------------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------- |
| Network                    | Quest's patient-facing FHIR API                | TEFCA Individual Access Services                                                   |
| How the patient authorizes | Signs in to their Quest account                | Verifies identity once with CLEAR, ID.me or Persona                                |
| What comes back            | FHIR Patient, Observation and DiagnosticReport | C-CDA documents as DocumentReference; FHIR resources with C-CDA to FHIR conversion |
| Where result values live   | Observation, category laboratory               | Inside the C-CDA, and in converted FHIR resources                                  |

## How patients connect each lab

### Quest Diagnostics

1. In Flexpa Consent, the patient searches for Quest Diagnostics.
2. The patient signs in on Quest's own page and approves access.
3. Flexpa retrieves the available results.
4. Your app reads Observation and DiagnosticReport with the patient access token.

### Labcorp

1. In Flexpa Consent, the patient chooses the national exchange (TEFCA).
2. The patient verifies their identity with CLEAR, ID.me or Persona.
3. Flexpa queries the network and retrieves documents from matching facilities, Labcorp included.
4. Your app reads DocumentReference, and structured results when C-CDA to FHIR conversion is on.

## Read the results

### Structured lab results

```bash
curl "https://api.flexpa.com/fhir/Observation?patient=$PATIENT_ID&category=laboratory" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

### TEFCA documents, including Labcorp

```bash
curl "https://api.flexpa.com/fhir/DocumentReference?patient=$PATIENT_ID" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

## Good to know

- TEFCA is enabled per application. Email partnerships@flexpa.com to turn it on. Quest is a provider connection in the endpoint directory.
- Structured FHIR from Labcorp documents needs C-CDA to FHIR conversion, included from the Scale plan and an add-on on Startup and Growth. Not every document yields structured results.
- Labcorp went live for TEFCA Individual Access Services through the CommonWell network in September 2026. A new record can take about 24 to 72 hours to become available for exchange.
- Use meta.tag to tell sources apart: PatientAuthorizationId identifies the connection, and AuthorizationType is OAUTH for a sign-in source like Quest and IAL2 for records retrieved over the national exchange.
- Methods, units and reference ranges differ between labs. Keep each lab's own reference range with its value.
- An AI agent connected through the Flexpa records MCP server reads the same lab results once the patient authorizes.

## Questions

**Is there an API for Quest Diagnostics and Labcorp lab results?** Yes. Flexpa returns patient-authorized lab results from both labs through one FHIR API. Quest results come from Quest's patient FHIR API after the patient signs in to Quest. Labcorp results come through TEFCA Individual Access Services after the patient verifies their identity with CLEAR, ID.me or Persona.

**Why do Quest and Labcorp results arrive in different formats?** They reach Flexpa over different networks. Quest returns FHIR Observation and DiagnosticReport resources. Labcorp returns C-CDA documents through TEFCA, which Flexpa wraps as DocumentReference and, with C-CDA to FHIR conversion, turns into FHIR resources where it can.

**Does my app need TEFCA to get Labcorp results?** Yes. Labcorp results reach Flexpa through TEFCA Individual Access Services, which is enabled per application. Email partnerships@flexpa.com to turn it on. Quest does not need TEFCA.

**Can an AI agent read Quest and Labcorp results?** Yes. An agent connected through the Flexpa records MCP server can read the same lab results once the patient authorizes the connection.

## More

- [How to share Quest and Labcorp results (blog)](https://www.flexpa.com/blog/share-lab-results-quest-labcorp)
- [Observation resource (docs)](https://www.flexpa.com/docs/fhir/observation)
- [Network (docs)](https://www.flexpa.com/docs/network)
- [Endpoint directory (docs)](https://www.flexpa.com/docs/network/directory)
- [TEFCA Individual Access Services API](https://www.flexpa.com/tefca-individual-access-services-api)
- [C-CDA to FHIR for TEFCA documents (blog)](https://www.flexpa.com/blog/ccda-to-fhir-tefca-transformation)
- [Review lab results over time with AI (for patients)](https://www.flexpa.com/lab-results-history-with-ai)
- [How Flexpa compares with other patient data APIs](https://www.flexpa.com/why-flexpa)
- [Pricing](https://www.flexpa.com/pricing)

Last updated 2026-11-26.
