Extraction API documentation
Convert receipts and invoices into structured JSON. Two endpoints: Parse for extraction, Deskew for image rotation.
What you can do
Deskew
Rotate and straighten images
Rotate any image with text until it's horizontal. Useful for preprocessing or cleaning up images before other workflows.
Parse
Extract receipt and invoice data
Convert receipt or invoice images (and PDFs) into structured JSON with store details, items, and totals. Deskewing happens automatically.
Quick start
Get your API key
Takes 30 seconds
Go to your Account → API access and click "Enable API." You'll get:
- A long-lived API key (prefix
upc_live_) - 50 free credits to start
Make your first request
Include your key in every API call
curl -X POST "https://extraction-api.upcaret.com/v1/parse/receipt" \
-H "Authorization: Bearer upc_live_xxx" \
-H "Content-Type: application/json" \
-d '{"fileUrl": "https://example.com/receipt.jpg"}'Replace upc_live_xxx with your actual API key.
What's next
Learn about keys, security, and base URLs.
Understand how credits work and pricing.
Questions? We're here to help.