Japan Driving Licence (運転免許証) OCR API

Read the Japanese driving licence (運転免許証) from a photo and get the licence number, name, dates and classes as structured JSON. Upload an image below to test it free.

200 free credits = 100 Driver License scans, no credit card. Then from $5 for 500 credits, pay as you go. See pricing

Diagram of the API reading a Japanese driving licence (運転免許証) and returning the fields as JSON.

What Makes the Japanese driving licence (運転免許証) Hard to Parse

The Japanese driving licence (運転免許証) is issued by the Public Safety Commission of each prefecture. The Japanese 運転免許証 carries a 12-digit licence number, the holder's name and address, and a colour band (green, blue or gold) that reflects the holder's driving record. Dates are often printed in the Japanese era calendar (for example 令和), so a pipeline that expects Gregorian dates has to convert them.

One API Call, Named Fields

The StructOCR Driver License OCR API returns the licence number, the holder's name, date of birth, address, issue and expiry dates and licence categories. Dates are returned as YYYY-MM-DD. Send a JPG, PNG, WebP or PDF as Base64 JSON or as a multipart upload; there is no SDK to embed in your app, although official Python and Node.js SDKs are available. Step-by-step code is in the Python guide. Usage is billed per successful scan with pay-as-you-go pricing.

Live Demo: Driver License OCR Scanner

No registration required. Upload a file to test the extraction.

1
Upload
2
Results
↑

Drop files here or click to browse

JPG · PNG · PDF · TIFF  ·  up to 500 files · max 4.5 MB each

No document handy?

No files selected
Need more testing? Create a free account to get 200 free credits (equals 100 Driver License scans).

Where Teams Use It in Japan

Car Sharing and Rental

Read the licence at sign-up and check the expiry date before each booking.

eKYC for Apps

Prefill name, date of birth and address from the licence image.

Insurance

Collect driver details for motor policies.

Technical Specs

  • Endpoint: POST https://api.structocr.com/v1/driver-license
  • Input: JPG, PNG, WebP or PDF up to 4.5 MB, as Base64 JSON or multipart upload
  • Price: 2 credits per successful scan; new accounts get 200 free credits (100 scans)
  • Retention: Images and results are kept for at most 24 hours for quality spot-checks, then deleted

Key Features

  • Named fields: The licence number, the holder's name, date of birth, address, issue and expiry dates and licence categories.
  • Normalized dates: Dates are returned as YYYY-MM-DD.
  • Good to know: When a date is printed in the Japanese era calendar, check the returned value before comparing it with Gregorian dates.

Integration & AI Prompts

Install the official SDK and pass a photo of the licence. Full request and response details are in the driver license API reference.

# pip install structocr
import os
from structocr import StructOCR

client = StructOCR(api_key=os.environ["STRUCTOCR_API_KEY"])
result = client.scan_driver_license("licence.jpg")

if result.get("success"):
    data = result["data"]
    print(data["document_number"], data["surname"], data["date_of_expiry"])

Standardized JSON Output

An illustrative response for a Japanese driving licence (運転免許証), with fictional values.

{
  "success": true,
  "data": {
    "type": "drivers_license",
    "country_code": "JPN",
    "region": null,
    "document_number": "123456789012",
    "personal_number": null,
    "surname": "YAMADA",
    "given_names": "HANAKO",
    "sex": null,
    "date_of_birth": "1988-10-05",
    "place_of_birth": null,
    "date_of_issue": "2023-10-05",
    "date_of_expiry": "2028-11-05",
    "date_of_first_issue": null,
    "issuing_authority": null,
    "address": "東京都千代田区サンプル1-2-3",
    "vehicle_class": "普通"
  }
}

Frequently Asked Questions

Can I test the Japanese driving licence (運転免許証) scan for free?

Yes. Upload a photo in the live demo on this page without an account, or create an account to get 200 free credits, enough for 100 licence scans through the API.

Are Japanese era dates converted?

The API aims to return YYYY-MM-DD dates. Check them for your users' cards in the live demo, especially era-calendar dates.

Is the address returned?

Yes, when it is printed and legible.

Do I need an SDK?

No. It is a plain REST API that accepts Base64 JSON or a multipart upload. Official Python and Node.js SDKs are available if you prefer them.

Explore More Driver License OCR Solutions

SOLUTION

Kenya Driving Licence OCR API

Extract the licence number, the holder's name, ID number where printed, date of birth, issue and expiry dates and licence classes from the Kenyan smart driving licence as JSON with one API call. Try it free in the browser; new accounts get 100 free licence scans.

Driver License OCR
SOLUTION

Malaysian Lesen Memandu OCR API

Extract the IC number, identity fields, and vehicle classes from Malaysian driving licenses (Lesen Memandu). Test our edge-routed API with a free image upload.

Driver License OCR
SOLUTION

Liquor Store Age Verification with ID Barcode Scanning

Scan US driver licenses and state ID cards for liquor retailers. Pre-fill AAMVA fields from the PDF417 barcode and route unreadable cards to a retake.

Driver License OCR
SOLUTION

Philippine LTO Driver License OCR API

Accurately extract data from Philippine LTO driver's licenses. Parse restriction codes, conditions, and identity fields via our edge-routed API. Test for free.

Driver License OCR
SOLUTION

Mexico Driving Licence (Licencia de Conducir) OCR API

Extract the licence number, the holder's name, date of birth, issue and expiry dates, CURP where printed and the licence type from the Mexican licencia de conducir as JSON with one API call. Try it free in the browser; new accounts get 100 free licence scans.

Driver License OCR
SOLUTION

Dutch Driving Licence (Rijbewijs) OCR API

Extract the licence number, surname and first names, date and place of birth, issue and expiry dates, issuing municipality and categories from the Dutch rijbewijs as JSON with one API call. Try it free in the browser; new accounts get 100 free licence scans.

Driver License OCR
SOLUTION

Nigeria Driver's Licence OCR API

Extract the licence number, the holder's name, date of birth, issue and expiry dates, address where printed and the licence class from the Nigerian driver's licence as JSON with one API call. Try it free in the browser; new accounts get 100 free licence scans.

Driver License OCR
SOLUTION

Notary and Loan Signing ID Capture with PDF417

Scan US driver licenses and state ID cards for notaries and signing agents. Pre-fill AAMVA fields from the PDF417 barcode and route unreadable cards to a retake.

Driver License OCR
SOLUTION

Pawn Shop and Secondhand Dealer Seller ID Capture

Scan US driver licenses and state ID cards for pawn shops and secondhand dealers. Pre-fill AAMVA fields from the PDF417 barcode and route unreadable cards to a retake.

Driver License OCR
SOLUTION

Pharmacy Prescription Pickup ID Scanning with PDF417

Scan US driver licenses and state ID cards for pharmacy pickup. Pre-fill AAMVA fields from the PDF417 barcode and route unreadable cards to a retake.

Driver License OCR

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