Get In Touch

NHS Patient Care Aggregator API Integration

Integrating with the NHS Patient Care Aggregator (PCA) API allows your application to present users with a unified list of their upcoming referrals and appointments across secondary care settings.

Get in touch
Home>Services>Interoperability and Integration>NHS API Integration>NHS Patient Care Aggregator API Integration

Need help with NHS Patient Care Aggregator API Integration?

Whether you're developing a new digital health product or extending an existing solution with NHS Patient Care Aggregator API integration, 6B brings the technical expertise, healthcare insight, and experience needed to accelerate delivery.

Sarah

Sarah

Business Development

Or call Sarah on 0113 350 1290

6B partners with digital health innovators and NHS providers to design and implement secure, standards-based integrations with the PCA API. Our work ensures your system can contribute to and consume data from the aggregator, giving patients a clearer picture of their healthcare journey and enabling providers to deliver more coordinated, proactive care.

How the PCA API works

The Patient Care Aggregator API is made up of two services: the Record Service and the Read Service. The Record Service allows healthcare providers to publish structured FHIR resources such as Appointment, ReferralRequest, and Schedule to a secure, centralised aggregator. These records are then made accessible via the Read Service, which enables apps like the NHS App to display a unified view of a patient’s care interactions.

This architecture ensures that patients can view relevant appointment and referral information in a single place, even when receiving care across multiple trusts and organisations. Data is always requested in real time, based on the patient’s NHS number, ensuring accuracy and consistency.

Our PCA API integration process

6B delivers PCA integrations from discovery to go live. We begin by analysing your clinical systems and data structures to determine how they align with FHIR requirements. Our team then handles the development of compliant endpoints and manages the onboarding process with the NHS API Platform, including application registration and secure authentication using OAuth 2.0.

We work through sandbox and integration testing environments, validating the full patient journey from data publication to end-user retrieval. We support all aspects of technical and clinical assurance, including SCAL submission, conformance testing, and NHS England liaison.

Once your integration is live, we provide ongoing support, monitoring, and updates as the PCA service evolves. We can also help you scale your solution to additional care settings or link PCA data into wider NHS API integrations like GP Connect or Notify.

Benefits of PCA integration

Integrating with the Patient Care Aggregator API offers a wide range of benefits for patients, providers, and systems. Patients benefit from having greater visibility and control over their care, with access to upcoming appointments and referrals in one place. Healthcare providers can integrate with the NHS App, improve coordination, reduce duplicate bookings, and streamline communication across services.

For digital health innovators, PCA integration opens up valuable new opportunities to enhance patient-facing tools and apps with real-time NHS data. It also reduces the burden of managing custom integrations with each provider, as data is retrieved via a single national service.

Why choose 6B for Patient Care Aggregator API integration?

We have extensive experience working with the NHS API Platform and delivering PCA integrations that meet NHS England’s technical and clinical assurance standards.


Our developers are experts in building and consuming FHIR APIs, including Appointment, ReferralRequest, Schedule, and Patient resources.


We provide end-to-end delivery support, from system mapping and endpoint development to assurance and go live.


We create modular, scalable solutions that allow your PCA integration to grow alongside your service.


6B works across the digital health ecosystem, which means we can advise on and implement complementary NHS API integrations that enhance your overall offer.

Patient Care Aggregator API Integration FAQs

When integrating with the Patient Care Aggregator API, it’s important to design for performance and reliability. The API must return referrals and appointments within 1,000ms at the 95th percentile, with waiting times data returned even faster — within 600ms (P95). Integrators must also handle timeouts, rate limits (25 TPS), and HTTP 504 errors appropriately to ensure a responsive and compliant user experience. At 6B, we design integrations to meet or exceed these performance thresholds as defined by NHS England’s non-functional requirements (NFRs).

The Patient Care Aggregator API requires strong patient authentication via NHS login, using either the OAuth 2.0 authorisation code flow or a token exchange with signed JWT. The integration must also propagate the NHS login ID token to downstream systems such as e-RS and Portal APIs. At 6B, we implement robust OAuth 2.0 flows and ensure secure token handling in line with NHS API Platform policies.

Yes — the NHS provides an Integration Test environment for Patient Care Aggregator API integrations, which includes real endpoints and is connected to the NHS login integration (AOS) environment. However, there is no sandbox environment currently available. At 6B, we guide our partners through structured integration testing using NHS-provided data packs and validate the entire patient journey prior to go-live, ensuring a smooth onboarding process.

The API mandates strict information governance protocols. Logs must omit any personal identifiable data (PID) and be shipped to NHSE’s preferred logging systems, with the X-Correlation-ID propagated for traceability. Additionally, log data must be retained for 90 days, and any production access to PID must be restricted to security-cleared personnel. 6B ensures full compliance with these data handling standards through secure DevOps pipelines and logging infrastructure.

Currently, the API enforces an age restriction policy. Any requests made by patients under 16 years old must be met with an HTTP 403 Forbidden response, clearly indicating the age restriction. If your application serves younger users or guardians, 6B can help you implement appropriate user experience flows to handle these exceptions sensitively and compliantly.

If data retrieval is only partially successful — for example, if one provider’s system fails to respond — the API returns an HTTP 207 Multi-Status response. This enables your app to show users what data was retrieved and where gaps exist. At 6B, we build integrations that gracefully handle partial responses and surface meaningful feedback to users without compromising usability or trust.

Because the API aggregates data from multiple secondary care systems via a centralised service, it offers a scalable foundation for patient-facing applications. Rather than managing bespoke integrations with individual trusts, your application accesses unified data through a single national endpoint. 6B helps you architect modular integrations that can scale as more providers are added to the Aggregator or as additional NHS APIs (e.g. GP Connect, Notify) are integrated.

Before going live, your solution must pass clinical and technical assurance, including SCAL (Supplier Conformance Assessment List) submission, contract testing, and operational readiness against defined service levels (Silver+ 99.5% availability). 6B handles all aspects of assurance, from preparing conformance documentation to engaging with NHS England on your behalf to ensure your application meets all go-live requirements.