New: Voice AI now handles 47+ calls daily per clinic. See how it works
API

Relaya Intelligence API

The Pharmacological Reasoning Engine

One endpoint. Clinical text in. Verified, structured prescription data out.

What it does

Clinical understanding. Pharmacological reasoning. Safety verification.

Three capabilities. One API call.

Understands

Takes natural clinical speech — any language, any complexity — and extracts every medication with dose, frequency, duration, route, and timing.

Reasons

Classifies clinical intent: what is being prescribed, stopped, continued, held, or switched. Handles mid-sentence corrections and multilingual input.

Verifies

Checks drug interactions, validates doses against pharmacological limits, detects look-alike confusion, and cross-references allergies — all in the same call.

The Endpoint

One call. Complete clinical extraction.

Send clinical text, get back structured medications with safety verification.

Request
curl -X POST https://api.relaya.one/v1/extract \
  -H "Authorization: Bearer rly_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Tab Amoxicillin 500mg TDS for 5 days, stop the Metformin, continue Amlodipine 5mg OD",
    "patient": {
      "allergies": ["Penicillin"]
    }
  }'
Response
{
  "medications": [
    {
      "name": "Amoxicillin",
      "dose": "500mg",
      "frequency": "TDS",
      "duration": "5 days",
      "route": "oral",
      "intent": "prescribe",
      "confidence": 0.97,
      "safety": {
        "status": "critical",
        "alerts": [
          {
            "type": "allergy_conflict",
            "severity": "high",
            "message": "Patient has documented Penicillin allergy. Amoxicillin is a penicillin-class antibiotic."
          }
        ]
      }
    },
    {
      "name": "Metformin",
      "intent": "stop",
      "confidence": 0.99,
      "safety": { "status": "clear", "alerts": [] }
    },
    {
      "name": "Amlodipine",
      "dose": "5mg",
      "frequency": "OD",
      "route": "oral",
      "intent": "continue",
      "confidence": 0.98,
      "safety": { "status": "clear", "alerts": [] }
    }
  ],
  "meta": {
    "processing_ms": 142,
    "entities_checked": 172431,
    "interactions_verified": 6
  }
}
Capabilities

Everything a prescription touches. Verified.

Multilingual Clinical Understanding

Hindi, English, and code-mixed clinical speech understood natively.

Clinical Intent Classification

Prescribe, stop, continue, hold, switch — 15 clinical contexts recognized.

Drug Interaction Verification

175,000+ interaction pairs checked on every single call.

Pharmacological Boundary Enforcement

Impossible or dangerous doses flagged before they reach a patient.

Look-Alike / Sound-Alike Alerts

Catches drug name confusion that causes real dispensing errors.

Allergy Conflict Detection

Cross-references patient allergies against every extracted medication.

Mathematical Dose Computation

Calculates weight-based, age-adjusted, and renal-adjusted dosing.

Self-Correction Understanding

Handles hesitations, mid-sentence changes, and verbal corrections naturally.

Performance

Numbers that matter

<100ms
Routine prescription latency
175K+
Drug interaction pairs verified per call
172K+
Pharmaceutical entities in knowledge base
64+
Medical specialties supported
98.6%
Verified extraction accuracy
Use Cases

Built for the clinical workflow

From telehealth to pharmacy counters — wherever prescriptions happen.

Telehealth Platforms

Structured prescriptions from video consultations in real time.

EHR / EMR Systems

Clinical documentation layer that understands natural physician speech.

Pharmacy Chains

Prescription verification and safety screening before dispensing.

Insurance Companies

Claims validation with pharmacological accuracy checks.

Clinical Trial Platforms

Medication extraction and classification from clinical notes at scale.

Pricing

Simple, predictable pricing

Start free. Scale as you grow.

Developer

Free

1,000 calls/month

For prototyping and evaluation

Pro

$49/month

25,000 calls/month

For production applications

Scale

$0.005/call

Unlimited

For high-volume deployments

Enterprise

Custom

Dedicated infrastructure

On-premise or private cloud

Instant Access

Get API Access

Purchase credits and receive your API key instantly. Pay once, use until depleted.

Secure payment via Razorpay. Your API key is generated instantly after payment.

Check Balance

Enter your API key to check remaining credits.

Clinical Intelligence Tool

This is a clinical intelligence tool. All outputs require verification by a licensed healthcare practitioner before clinical use.

Ready to integrate?

Get started with 1,000 free API calls. No credit card required.

Get API Access
Chat with us on WhatsApp