$ man receipt-parser
/receipt-parser(1)
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakitCATEGORY
uncategorized
STATUS
● live
NAME
receipt-parser — receipt → structured json (vendor, address, date, line items with qty/unit_price/total, subtotal, tax, tip, total, payment method)
SYNOPSIS
POST https://x402.org/v1/receipt-parser
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Receipt → structured JSON (vendor, address, date, line items with qty/unit_price/total, subtotal, tax, tip, total, payment method). Vision LLM only.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| image_url | string | Public URL of the receipt image (JPEG/PNG) to parse via vision LLM. | required |
| currency_hint | string | Optional ISO currency code (e.g., USD, EUR) to disambiguate amounts when the receipt is unclear. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| receipt | string | Structured JSON string with vendor, address, date, line items (qty/unit_price/total), subtotal, tax, tip, total, payment method. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/receipt-parser \
-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-parser tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- mediakitreceipt-parserocrexpense-extractionline-itemsvision-llmstructured-jsonreceipt-ocr
- methods
- POST
- cluster
- mediakit
- price
- $0.01 USDC per call
ADJACENT — other endpoints in mediakit
| endpoint | description | price |
|---|---|---|
| audio-transcribe | Audio transcribe / speech-to-text / Whisper-large / multi-language ASR / OpenAI Whisper API compat. | $0.01 |
| csv-to-ics | CSV calendar to ICS / iCal file generator. | $0.01 |
| image-convert | Universal image format converter (PNG, JPG, WEBP, AVIF, GIF, BMP, TIFF, ICO, HEIC, HEIF, PSD, SVG). | $0.01 |
| image-format-convert | Image converter. | $0.01 |
| merge-pdf | PDF merger / combine PDFs / concatenate PDF files / join multiple PDFs into one. | $0.01 |
| pdf-merge | PDF merger / PDF combiner / PDF concatenator. | $0.01 |
| receipt-ocr | Receipt OCR. | $0.01 |
| youtube-transcript | YouTube transcript / closed-caption fetcher / video subtitles puller / auto-generated CC reader. | $0.01 |
SEE ALSO