Driver License OCR API Pricing and Cost per Scan

What driver license OCR costs with StructOCR: 2 credits 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 driver license request costs 2 credits. 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. For coverage, pricing, and the full field list, see the driver license OCR API overview, or try a photo in the free online driver license scanner.

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 100 Driver License 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("license-front.jpg", "rb") as image_file:
    image = base64.b64encode(image_file.read()).decode("ascii")

response = requests.post(
    "https://api.structocr.com/v1/driver-license",
    headers={"x-api-key": os.environ["STRUCTOCR_API_KEY"]},
    json={"img": image},
    timeout=30,
)
response.raise_for_status()
data = response.json()["data"]
print("document_number:", data.get("document_number"))
print("surname:", data.get("surname"))
print("given_names:", data.get("given_names"))
print("date_of_expiry:", data.get("date_of_expiry"))

Technical Specs

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

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": {
    "document_number": "…",
    "surname": "…",
    "given_names": "…",
    "date_of_expiry": "…"
  }
}

Frequently Asked Questions

How much does one driver license scan cost?

2 credits, which is roughly $0.0116 on the $99 package and $0.02 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

Country Tutorial

Nebraska Driver License OCR: Extract Fields with Python

Extract visible fields from Nebraska driver license images into JSON. Map identifiers, names and dates, with a review workflow for incomplete results.

Python · Driver License
Tutorial

British Columbia Driver’s Licence & ID Card PDF417 API

Decode AAMVA PDF417 barcodes on British Columbia driver’s licences and photo ID cards into JSON with ISO dates, postal codes, and document_kind.

Driver License
Tutorial

Connecticut Driver License & ID Card PDF417 API

Decode the PDF417 barcode on Connecticut driver licenses and state ID cards into AAMVA JSON, with document_kind to tell licenses from ID cards.

Driver License
Country Tutorial

Canada Driver License OCR with Python SDK

Extract structured fields from a Canada provincial driver licence with the StructOCR Python SDK and FastAPI.

Python · Driver License
Country Tutorial

United Arab Emirates Driver License OCR: Extract Fields with Python

Extract visible fields from United Arab Emirates driver license images into JSON. Map identifiers, names and dates, with a review workflow for incomplete results.

Python · Driver License
Country Tutorial

US Driver License OCR with Python SDK

Extract structured fields from a United States state-issued driver license with the StructOCR Python SDK and FastAPI.

Python · Driver License
Tutorial

Driver License OCR vs PDF417 API

Compare front-side driver license OCR with back-side PDF417 and AAMVA parsing. Choose the right endpoint or combine both in one review workflow.

Driver License
Country Tutorial

US Driver License OCR with Node.js SDK

Extract structured fields from a United States state-issued driver license with the StructOCR Node.js SDK and TypeScript + Express.

Node.js · Driver License
Country Tutorial

UK Driver License OCR with Node.js SDK

Extract structured fields from a United Kingdom photocard driving licence with the StructOCR Node.js SDK and TypeScript + Express.

Node.js · Driver License
Country Tutorial

UK Driver License OCR with Python SDK

Extract structured fields from a United Kingdom photocard driving licence with the StructOCR Python SDK and FastAPI.

Python · Driver License

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