Skip to main content
Healthcare API

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.

HIPAA BAA included on every paid plan.

// Create a patient in one callconst { 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 encountersconst { data: encounters } =await clinik.encounters.search({patientId: patient.id,status: 'in-progress'});

Patient created

62 resource types

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

    5

    Patient, Practitioner, Person

  • Clinical

    18

    Encounter, Observation, Condition

  • Medications

    5

    Medication, Prescription, Dispense

  • Diagnostics

    5

    Lab, ImagingStudy, Specimen

  • Financial

    12

    Claim, Coverage, Invoice

  • Scheduling

    4

    Appointment, Schedule, Slot

  • Workflow

    6

    Task, ServiceRequest, CarePlan

  • Documents

    4

    Note, Assessment, Composition

Capabilities

Everything behind the one endpoint

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, a BAA on every paid plan, 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 their own data stores.

Low-latency responses

Built for responsive clinical workflows: an isolated production data store on Pro, and a dedicated server on Team, keep your traffic separate from other customers.

Ship clinical features in minutes

No FHIR expertise required. Our simplified JSON payloads map to strict FHIR R4 resources automatically.

Record vitals
await clinik.observations.create({patientId: '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' }]});
Schedule + webhook
// Book an appointmentawait clinik.appointments.create({patientId: 'pt_7821',practitionerId: '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.

  1. Step 01: Get your API key

    Sign up, create an organization, and generate test and live API keys from the developer dashboard.

  2. Step 02: Install the SDK

    npm install @clinikapi/sdk. Fully typed, server-side only. Initialize with your secret key and start making calls.

  3. Step 03: Ship to production

    Swap your test key for a live key. Your data is encrypted, tenant-isolated, and covered by a BAA from day one.

Ready To Transform Healthcare?

Join developers who've downloaded the SDK 2,000+ times. Get a sandbox API key in minutes.