Receipt OCR API Pricing and Cost per Scan

What receipt OCR costs with StructOCR: 1 credit per successful scan, prepaid credits that never expire, and no charge for failed requests.

What Drives OCR Cost

OCR pricing differs by whether failed requests are billed, whether credits expire, minimum monthly commitments, and the price per document type. Those terms matter more than the headline rate.

How StructOCR Prices It

Each successful receipt request costs 1 credit. Credits are prepaid from $5, never expire, and are only deducted for successful (200 OK) responses. See the full pricing page and start with 200 free credits.

Where This Fits

  • Pilot: 200 free credits cover a realistic test on your own images before you pay anything.
  • Steady volume: Larger packages lower the cost per credit, and unused credits carry over indefinitely.
  • Enterprise: Contact sales for custom volume pricing and support terms.
Need more testing? Create a free account to get 200 free credits (equals 200 Receipt scans).

Track Cost in Your Code

Each successful response consumes a fixed number of credits, so cost per document is predictable.

Prerequisite: Python 3.9+, `pip install requests`, and a STRUCTOCR_API_KEY

PYTHON EXAMPLE
import base64
import os
import requests

with open("receipt.jpg", "rb") as image_file:
    image = base64.b64encode(image_file.read()).decode("ascii")

response = requests.post(
    "https://api.structocr.com/v1/receipt",
    headers={"x-api-key": os.environ["STRUCTOCR_API_KEY"]},
    json={"img": image},
    timeout=30,
)
response.raise_for_status()
data = response.json()["data"]
print("merchant_name:", data.get("merchant_name"))
print("date:", data.get("date"))
print("total_amount:", data.get("total_amount"))
print("currency:", data.get("currency"))

Technical Specs

  • •Endpoint: POST https://api.structocr.com/v1/receipt
  • •Authentication: x-api-key request header
  • •Inputs: JPG, PNG, or WebP as Base64 JSON; maximum 4.5MB
  • •Price: 1 credit per successful request; failed requests are not billed
  • •Free trial: 200 free credits on sign-up, no credit card required
  • •Mini ($5): about $0.0100 per receipt
  • •Starter ($15): about $0.0083 per receipt
  • •Business ($29): about $0.0073 per receipt
  • •Pro ($99): about $0.0058 per receipt

Key Features

  • •No subscription: Buy credit packages when you need them.
  • •No expiry: Purchased credits are yours until used.
  • •Failures are free: Errors, timeouts, and unreadable images are not billed.
  • •Crypto bonus: Paying with USDT or USDC adds a 10% credit bonus.

Billable Response

Only a successful response like this consumes credits. Field values are illustrative.

{
  "success": true,
  "data": {
    "merchant_name": "…",
    "date": "…",
    "total_amount": "…",
    "currency": "…"
  }
}

Frequently Asked Questions

How much does one receipt scan cost?

1 credit, which is roughly $0.0058 on the $99 package and $0.01 on the $5 package.

Am I charged when OCR fails?

No. Only successful extractions are billed.

Do credits expire?

No. Purchased credits never expire.

You May Also Like

Related tutorials, platform guides, and comparisons

Tutorial

How to Choose a Receipt OCR API in 2026

A practical checklist for evaluating receipt OCR APIs: coverage, accuracy on real photos, error handling, privacy, and cost per successful result.

Receipt
Country Tutorial

Germany Receipt OCR: Formats, Items and Totals

Convert germany receipt ocr: formats, items and totals into structured merchant, date, item, tax and total fields, with checks for ambiguous amounts.

Python · Receipt
Tutorial

Go Receipt OCR API

Upload an image for a free test! Tutorial: Build scalable expense reporting apps in Go. Learn how to extract merchants, line items, and totals from POS receipts using our Golang OCR integration.

Go · Receipt
Country Tutorial

United Kingdom Receipt OCR: Formats, Items and Totals

Convert united kingdom receipt ocr: formats, items and totals into structured merchant, date, item, tax and total fields, with checks for ambiguous amounts.

Python · Receipt
Country Tutorial

Indonesia Receipt OCR: Formats, Items and Totals

Convert indonesia receipt ocr: formats, items and totals into structured merchant, date, item, tax and total fields, with checks for ambiguous amounts.

Python · Receipt
Tutorial

C# Receipt OCR API

Upload an image for a free test! Integrate a robust Receipt OCR API into your C# .NET app. Accurately extract merchants, line items, taxes, and totals from crumpled thermal receipts.

C# · Receipt
Tutorial

PHP Receipt OCR API

Tutorial: Integrate the StructOCR Receipt API into your PHP web applications. Upload an image for a free test! Extract merchants, totals, and line items from POS receipts using raw cURL or Guzzle.

PHP · Receipt
Tutorial

Python Receipt OCR API SDK

Tutorial: Extract merchants, line items, and totals from receipts using the StructOCR Python SDK. Upload an image for a free test! Ideal for fintech ETL pipelines, AI accounting, and Pandas dataframes.

Python · Receipt
Tutorial

Taggun Alternative: Receipt OCR API

Taggun compared with the StructOCR REST API for receipt extraction: deployment, pricing model, and when each fits.

Receipt
Tutorial

Regula Document Reader Alternative: Passport OCR API

Regula Document Reader compared with the StructOCR REST API for passport, national id card, driver license extraction: deployment, pricing model, and when each fits.

Passport

Technical Comparisons & Integrations

Explore platform integrations and competitive analysis

From tutorial to production in 5 minutes.

You've seen the code. Now get your API key, grab your 200 free credits, and see it work with your own images. No credit card required.

Instant Access Cancel Anytime No Credit Card