OCRRouterGet API key

Prescription OCR API

Read printed and handwritten prescriptions into drug, dose, frequency and prescriber details.

Result

Your Markdown or JSON shows up here.

What makes prescriptions hard to read

  • Doctor handwriting
  • Latin abbreviations like bid and prn
  • Drug names one letter apart

What you can pull out

prescription fields
{
  "patient_name": "Margaret Ellis",
  "prescriber": "Dr. S. Mehta",
  "date": "2026-11-02",
  "medications[]": "name, strength, dose, frequency, quantity",
  "refills": "2",
  "pharmacy_notes": "Take with food"
}

Best models for prescriptions

Call it from your code

curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-flash",
    "file_url": "https://example.com/invoice.pdf",
    "format": "json"
  }'

Questions

Free tools

Other documents