OCRRouterGet API key

Receipt OCR API

Read crumpled, faded and photographed receipts and get merchant, date, items and totals back as JSON.

Result

Your Markdown or JSON shows up here.

What makes receipts hard to read

  • Thermal paper that has faded
  • Photos taken at an angle or in poor light
  • Abbreviated item names

What you can pull out

receipt fields
{
  "merchant": "Harbour Cafe",
  "date": "2026-11-09",
  "items[]": "name, qty, price",
  "subtotal": "18.50",
  "tax": "1.85",
  "tip": "3.00",
  "total": "23.35",
  "payment_method": "Visa ending 4421"
}

Best models for receipts

Call it from your code

curl https://api.ocrrouter.com/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

Other documents