Early Access Preview — Enterprise release coming soon. Contact us to schedule a live demo.
MedianAPI Reference
Comprehensive REST API for healthcare integrations. Build powerful applications with our well-documented, standards-compliant API.
Quick Start
Get started with the Median API in minutes. Install our SDK, authenticate, and make your first API call.
Install SDK
Choose your preferred language and install the official SDK
Get API Keys
Generate your API credentials from the dashboard
Make API Calls
Start building with our comprehensive API endpoints
# Install Median SDK
npm install @lydianmedi/sdk
# Or using Python
pip install lydianmedi-sdk
# Or using Java (Maven)
<dependency>
<groupId>com.lydianmedi</groupId>
<artifactId>lydianmedi-sdk</artifactId>
<version>2.0.0</version>
</dependency>API Features
Enterprise-grade API built for healthcare
RESTful Architecture
Clean, predictable REST API following industry best practices
OAuth 2.0 Authentication
Secure authentication with industry-standard OAuth 2.0 protocol
Rate Limiting
10,000 requests per hour with automatic throttling
HL7 FHIR R5 Support
Full support for FHIR R5 resources and operations
Comprehensive SDKs
Official SDKs for JavaScript, Python, Java, C#, Ruby, and PHP
99.99% Uptime SLA
Enterprise-grade reliability with redundant infrastructure
API Endpoints
Patient Management
/api/v1/patientsList all patients/api/v1/patientsCreate new patient/api/v1/patients/:idGet patient by ID/api/v1/patients/:idUpdate patient/api/v1/patients/:idDelete patientAppointments
/api/v1/appointmentsList appointments/api/v1/appointmentsSchedule appointment/api/v1/appointments/:idUpdate appointment/api/v1/appointments/:idCancel appointmentLaboratory
/api/v1/lab/ordersList lab orders/api/v1/lab/ordersCreate lab order/api/v1/lab/results/:idGet lab results/api/v1/lab/resultsSubmit lab resultsPharmacy
/api/v1/prescriptionsList prescriptions/api/v1/prescriptionsCreate prescription/api/v1/medicationsSearch medications/api/v1/prescriptions/:id/fillFill prescriptionBilling
/api/v1/invoicesList invoices/api/v1/invoicesCreate invoice/api/v1/paymentsProcess payment/api/v1/claimsList insurance claimsExample Code
See how easy it is to integrate Median into your application
// Initialize Median API client
const Median = require('@lydianmedi/sdk');
const client = new Median({
apiKey: 'your_api_key_here',
environment: 'production'
});
// Create a new patient
const patient = await client.patients.create({
firstName: 'John',
lastName: 'Doe',
dateOfBirth: '1980-05-15',
gender: 'male',
email: 'john.doe@example.com',
phone: '+1-555-0123',
address: {
street: '123 Main St',
city: 'Boston',
state: 'MA',
zipCode: '02101'
}
});
console.log('Patient created:', patient.id);
// Schedule an appointment
const appointment = await client.appointments.create({
patientId: patient.id,
providerId: 'dr_smith_123',
departmentId: 'cardiology',
appointmentDate: '2026-01-20T10:00:00Z',
duration: 30,
type: 'consultation',
notes: 'Follow-up for cardiac evaluation'
});
console.log('Appointment scheduled:', appointment.id);Ready to Build?
Get your API keys and start integrating Median into your healthcare applications today