Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man receipt-ocr

/receipt-ocr(1)

agentutility / mediakit / receipt-ocr
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
uncategorized
STATUS
live
NAME
receipt-ocr receipt ocr
SYNOPSIS
POST https://x402.org/v1/receipt-ocr
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Receipt OCR. Reads any receipt photo and returns a structured JSON object with vendor, address, date, line items (qty / unit_price / total), subtotal, tax, tip, total, and payment method. Vision-LLM powered. Same backend as receipt-parser under a clearer slug for expense + accounting + reimbursement workflows.

INPUTrequest schema
propertytypedescriptionreq?
image_urlstringPublic URL of the receipt photo to parse (JPEG, PNG, or HEIC).required
currency_hintstringOptional ISO currency code (e.g. USD, EUR) to disambiguate amounts when the receipt is unclear.optional
OUTPUTresponse shape
fieldtypedescription
receiptstringStructured JSON with vendor, address, date, line items, subtotal, tax, tip, total, and payment method.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/receipt-ocr \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the receipt-ocr tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
receipt-ocrocrexpense-trackingline-itemsmediakitvision-llmreceipt-parser
methods
POST
cluster
mediakit
price
$0.01 USDC per call
ADJACENTother endpoints in mediakit
endpointdescriptionprice
audio-transcribeAudio transcribe / speech-to-text / Whisper-large / multi-language ASR / OpenAI Whisper API compat.$0.01
csv-to-icsCSV calendar to ICS / iCal file generator.$0.01
image-convertUniversal image format converter (PNG, JPG, WEBP, AVIF, GIF, BMP, TIFF, ICO, HEIC, HEIF, PSD, SVG).$0.01
image-format-convertImage converter.$0.01
merge-pdfPDF merger / combine PDFs / concatenate PDF files / join multiple PDFs into one.$0.01
pdf-mergePDF merger / PDF combiner / PDF concatenator.$0.01
receipt-parserReceipt → structured JSON (vendor, address, date, line items with qty/unit_price/total, subtotal, tax, tip, total, payment method).$0.01
youtube-transcriptYouTube transcript / closed-caption fetcher / video subtitles puller / auto-generated CC reader.$0.01
SEE ALSO
agentutility(7) · mediakit(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org