Build with PearMedica
Everything you need to integrate clinical intelligence into your application. API documentation, code examples, and an interactive sandbox.
Documentation
Powered by PearMDx AI
PearMDx is the clinical decision support engine behind every PearMedica API call. It delivers accurate, Africa-tuned assessments in under 3 seconds — with multiple independent safety layers ensuring clinical reliability.
Emergency Detection
Life-threatening symptom combinations are flagged in under 100ms — before the full assessment completes. Designed for zero false negatives.
African Disease Intelligence
Assessments are grounded in curated medical knowledge covering 200+ conditions prevalent across Africa — not generic Western training data.
Multi-Layer Validation
Every AI output passes through multiple independent safety checks before reaching your application. No single point of failure.
Smart Triage
4-level urgency scoring (emergency → self-care) with nearest facility recommendations based on patient location.
Graceful Degradation
If the AI engine is temporarily unavailable, PearMDx serves safe rule-based responses — your application never crashes.
Integration in 3 Lines
// Assess patient symptoms with one API call
const response = await fetch('https://api.pearmedica.com/v1/assess', {
method: 'POST',
headers: {
'Authorization': 'Bearer sk_live_your_api_key',
'Content-Type': 'application/json',
},
body: JSON.stringify({
patient: { age: 28, sex: 'female', location: 'lagos_nigeria' },
evidence: [
{ id: 's_fever', choice_id: 'present', duration_days: 3 },
{ id: 's_headache', choice_id: 'present', severity: 'severe' },
],
}),
});
const { conditions, triage, next_question } = await response.json();
// → conditions: [{ name: "Malaria", probability: "high", ... }]
// → triage: { level: "urgent", recommended_action: "..." }