Loading documentation…
Loading documentation…
Everything you need to integrate clinical intelligence into your application. API documentation, code examples, and an interactive sandbox.
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.
Life-threatening symptom combinations are flagged in under 100ms — before the full assessment completes. Designed for zero false negatives.
Assessments are grounded in curated medical knowledge covering 200+ conditions prevalent across Africa — not generic Western training data.
Every AI output passes through multiple independent safety checks before reaching your application. No single point of failure.
4-level urgency scoring (emergency → self-care) with nearest facility recommendations based on patient location.
If the AI engine is temporarily unavailable, PearMDx serves safe rule-based responses — your application never crashes.
Built-in AI clinical assistant available to staff via PearCare. Answers questions about patients, assessments, and clinical protocols using real facility data.
// Assess patient symptoms with one API callconst 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: "..." }