Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man receipt-ocr

/receipt-ocr

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.agentutility.ai/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.

INPUT — request schema
propertytypedescriptionreq?
image_urlstringPublic http(s) URL of the receipt image. Fetched server-side, capped at 7MB.required
currency_hintstringOptional currency context (e.g. 'EUR') to help the vision model when the receipt symbol is ambiguous.optional
OUTPUT — response shape
fieldtypedescription
receiptstringStructured JSON with vendor, address, date, line items, subtotal, tax, tip, total, and payment method.
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/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 the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the receipt-ocr tool from your MCP-aware agent.
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
ADJACENT — other endpoints in mediakit
endpointdescriptionprice
audio-transcribeTranscribes audio to text with whisper-large-v3.$0.01
csv-to-icsConverts a CSV of events into an RFC 5545 compliant ICS calendar file (VCALENDAR/VEVENT) for Google Calendar, Outlook, and Apple Calendar…$0.01
image-convertConvert an image from one format to another.$0.01
image-format-convertImage converter.$0.01
merge-pdfCombines two to fifty separate PDF files into one, taking each source as a URL and stitching them together in the order supplied, bookmar…$0.01
movie-databaseFinds movies or TV shows by title, with optional year and region, and returns release year, poster, overview, and language.$0.01
movie-database-apiSearches movies and TV shows by title and optional year, returning release date, rating, popularity, overview, poster URLs, TMDB links, a…$0.01
movie-infoLooks up movie and TV metadata: title, release year, rating, overview, poster, and optional streaming providers.$0.01
SEE ALSO
agentutility · mediakit · x402 · mcp · llms.txt · registry.json · bazaar.x402.org