One API for
all clinical data.
Stop stitching together fragmented health APIs. ClinikAPI gives you a single, unified REST API covering 62 FHIR R4 resource types — patients, encounters, labs, prescriptions, billing, and everything in between.
// Create a patient in one call
const { data: patient } = await clinik.patients.create({
firstName: 'Sarah',
lastName: 'Chen',
birthDate: '1990-03-15',
gender: 'female',
email: '[email protected]',
phone: '+1-555-0142'
});
// Search across encounters
const { data: encounters } =
await clinik.encounters.search({
patient: patient.id,
status: 'in-progress'
});
Every clinical resource, one endpoint
From patient demographics to insurance claims, every FHIR R4 resource type is available through a consistent, predictable REST interface with full CRUD, search, and pagination.
Individuals
5Patient, Practitioner, Person
Clinical
18Encounter, Observation, Condition
Medications
5Medication, Prescription, Dispense
Diagnostics
5Lab, ImagingStudy, Specimen
Financial
12Claim, Coverage, Invoice
Scheduling
4Appointment, Schedule, Slot
Workflow
6Task, ServiceRequest, CarePlan
Documents
4Note, Assessment, Composition
Unified REST API
Consistent endpoints for create, read, update, delete, and search across all 62 resource types. Cursor-based pagination, date range filters, and linked resource includes out of the box.
TypeScript SDK
Fully typed, server-side SDK with 62 resource namespaces. Automatic retries with jitter, rate limit metadata, PHI-safe error handling, and an intuitive clinik.resource.method() interface.
Real-time Webhooks
HMAC-SHA256 signed webhook events for every create, update, and delete. Subscribe to specific resources or use wildcards. Automatic retries with exponential backoff.
HIPAA by Default
Encryption at rest and in transit, signed BAA, SOC 2 Type II audits, and PHI sanitization in every error response. Compliance is built in, not bolted on.
Multi-tenant Isolation
Every resource is tagged with your tenant ID. Searches are automatically scoped. Test and live environments are fully separated with dedicated data stores.
Sub-100ms Responses
Engineered for real-time clinical workflows. Multi-region caching, connection pooling, and optimized query paths keep latency low even at scale.
Ship clinical features in minutes
No FHIR expertise required. Our simplified JSON payloads map to strict FHIR R4 resources automatically.
await clinik.observations.create({
patient: 'pt_7821',
encounter: 'enc_3301',
code: '85354-9',
display: 'Blood Pressure',
status: 'final',
components: [
{ code: '8480-6', value: 120, unit: 'mmHg' },
{ code: '8462-4', value: 80, unit: 'mmHg' }
]
});
// Book an appointment
await clinik.appointments.create({
patient: 'pt_7821',
practitioner: 'prac_112',
start: '2025-06-15T09:00:00Z',
end: '2025-06-15T09:30:00Z',
status: 'booked'
});
// Your webhook receives:
{ event: "appointment.created" }
How it works
Three steps from zero to production-ready clinical data.
Get your API key
Sign up, create an organization, and generate test and live API keys from the developer dashboard.
Install the SDK
npm install @clinikapi/sdk — fully typed, server-side only. Initialize with your secret key and start making calls.
Ship to production
Swap your test key for a live key. Your data is encrypted, tenant-isolated, and HIPAA-compliant from day one.
Ready To Transform Healthcare?
Join 500+ developers building the future of clinical workflows on ClinikAPI. Get your production keys in seconds.
$ npm install @clinikapi/sdk
import { Clinik } from '@clinikapi/sdk'
const clinik = new Clinik('clk_live_...')
const { data: patient } = await clinik.patients.create({
firstName: 'Jane',
lastName: 'Doe',
email: '[email protected]'
})
// Stored in HIPAA vault