Parsed
Receipt OCR API

Receipt OCR that returns data, not text.

Send a photo or PDF receipt and get back merchant, date, line items, total, tax, and payment method as typed JSON. No regex, no post-processing.

Example

curl https://api.getparsed.com/v1/extract \
  -H "Authorization: Bearer sk_live_..." \
  -F "doc_type=receipt" \
  -F "file=@receipt.jpg"
{
  "doc_type": "receipt",
  "pages": 1,
  "data": {
    "merchant":       "Blue Bottle Coffee",
    "date":           "2026-11-20",
    "items": [
      { "description": "Latte",     "quantity": 1, "amount": 5.50 },
      { "description": "Croissant", "quantity": 1, "amount": 4.00 }
    ],
    "total":          10.35,
    "tax":             0.85,
    "payment_method": "Visa ****4242"
  },
  "fields": {
    "total":    { "confidence": 0.98, "needs_review": false, "source": "text" },
    "merchant": { "confidence": 0.96, "needs_review": false, "source": "vision" },
    "tax":      { "confidence": 0.91, "needs_review": false, "source": "text" }
  }
}

What comes back

Header
Merchant and date

Merchant name and transaction date, normalized to ISO 8601.

Line items
Description, quantity, amount

Individual items from the receipt. Works on grocery, restaurant, and retail receipts.

Totals
Total, tax, payment method

Numeric types. Payment method includes card type and last four digits when present.

Confidence
Per-field scores

Every field has a confidence score. Use needs_review to decide which values need a human check.

Works on phone photos

The pipeline runs both a text extraction pass and a vision pass on each document. For crumpled or skewed receipts where text extraction struggles, the vision pass resolves the layout. Accuracy measured on real-world receipts: 93%. Clean scanned PDFs: 100%.

No retention

Receipt files are processed in memory and discarded. We never write them to disk and never use them for training.

Custom output shape

Pass a JSON Schema as the schema parameter to control which fields you get back.

curl https://api.getparsed.com/v1/extract \
  -H "Authorization: Bearer sk_live_..." \
  -F "doc_type=receipt" \
  -F "file=@receipt.jpg" \
  -F 'schema={"type":"object","properties":{"merchant":{"type":"string"},"total":{"type":"number"}}}'

Pricing

Free tier: 100 pages per month. After that, usage-based pricing by page. See the pricing table.

Get a free key Read the docs