A HAPI FHIR test server alternative for API testing practice

The public HAPI FHIR test server at hapi.fhir.org is the reference open-source FHIR server running in public, with a full R4 implementation — every resource type, search parameters, operations and validation. Its home page asks users not to store personal health information and says the server is regularly purged and reloaded with fixed test data.

At a glance

the HAPI FHIR public test server compared with this playground, checked 2026-11-09.
 the HAPI FHIR public test serverFun API Playground
ScopeFull FHIR R4 serverPatient, Observation, Encounter subset
DataShared by all users; purged and reloadedPer-sandbox copy of synthetic data
WritesOpenBearer demo token (documented)
ConflictsServer-dependentIf-Match → 412 OperationOutcome
Deleted resourcesServer behaviour410 Gone on read

Where it stops

It is shared. Every visitor reads and writes the same data, so a test that creates a Patient and searches for it can find someone else's record, and data a suite relies on can disappear in a purge. Community threads also report slowdowns when many people use it at once.

What is different here

The FHIR R4 Health Records API here is deliberately small: Patient, Observation with LOINC vitals, and Encounter. Each X-Sandbox-ID gets its own copy, so a test sees only its own writes. It returns searchset Bundles with next and previous links, versioned W/ ETags with If-Match, 410 after delete and OperationOutcome errors — the behaviours a client test needs — with synthetic data only.

What the HAPI FHIR public test server does better

What this playground does better

Which to use

Use the HAPI server to check conformance against a complete FHIR implementation. Use this API to practise and automate client tests that need isolated, repeatable data.

Checked against the HAPI FHIR public test server as of 2026-11-09.

Official sources and scope

This compares a training playground with the documented use case of the other tool. Plans, limits and hosted features can change. For current terms, use the official sources below.

Current Fun API behavior and limits · Run a practice example

Other comparisons

All 55 mock REST APIs · Getting started guide · About this playground

Last updated