{"uid":"cap_UsP_Y40ReFBczIK2G7ZXT","slug":"api-strale-io-aefdb68a","name":"Strale Receipt Categorizer","description":"Extract and categorize receipt data. Returns vendor, date, amount, tax, currency, expense category, line items. Ready for expense reports.","url":"https://api.strale.io/x402/receipt-categorize","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"text":{"type":"string"},"base64":{"type":"string"},"image_url":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"text":"Vendor: Coffee House Cafe\nDate: 2024-01-15\nItems:\n- Espresso $4.50\n- Croissant $3.75\nSubtotal: $8.25\nTax: $0.66\nTotal: $8.91\nCurrency: USD"},"response":{"date":"2024-01-15","_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0xa9381b0cb35c3a56c96604de57a62d63fa6982355d4027f05f55ad19094a7c31"},"capability":"receipt-categorize","latency_ms":1500,"provenance":{"source":"claude-haiku","fetched_at":"2026-06-13T04:24:14.426Z"}},"category":"meals","currency":"USD","subtotal":8.25,"line_items":[{"amount":4.5,"quantity":1,"unit_price":4.5,"description":"Espresso"},{"amount":3.75,"quantity":1,"unit_price":3.75,"description":"Croissant"}],"tax_amount":0.66,"tip_amount":null,"vendor_name":"Coffee House Cafe","total_amount":8.91,"card_last_four":null,"payment_method":null,"expense_report_fields":{"date":"2024-01-15","amount":8.91,"vendor":"Coffee House Cafe","category":"meals","currency":"USD","description":"Coffee and pastry at Coffee House Cafe"}}},"exampleRequest":{"text":"Vendor: Coffee House Cafe\nDate: 2024-01-15\nItems:\n- Espresso $4.50\n- Croissant $3.75\nSubtotal: $8.25\nTax: $0.66\nTotal: $8.91\nCurrency: USD"},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DAAxzRgRC0RWlQrQBEdQ5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts and categorizes structured data from a receipt image or text, returning vendor, date, amount, tax, currency, expense category, and line items ready for expense reports.","exampleAgentPrompt":"Can you extract the vendor, date, total, tax, currency, and expense category from this receipt? Here's the image URL: https://example.com/receipts/lunch-invoice.jpg","exampleUseCases":null,"resultDescription":"Returns structured receipt data including vendor name, transaction date, total amount, tax amount, currency code, inferred expense category (e.g. meals, travel, software), and an array of individual line items — ready to paste into an expense report.","failureModes":["Image URL is inaccessible or returns 4xx/5xx — extraction fails","Base64 or image_url contains a non-receipt image — returns empty or incorrect fields","Receipt text is too blurry or low-resolution to parse — partial results returned","Unsupported currency or locale on receipt — currency field may be null","All three input params (text, base64, image_url) omitted — returns validation error"],"whenToPreferThis":"Use this endpoint when you have a receipt (as an image URL, base64 string, or raw text) and need structured fields — vendor, date, amount, tax, currency, expense category, line items — without building your own OCR or parsing pipeline. Ideal for automating expense report workflows or bookkeeping integrations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":673,"lastUsedAt":"2026-05-01T00:54:54.831Z","lastSuccessfullyRanAt":"2026-05-01T00:54:54.831Z","lastHealthCheckAt":"2026-09-13T13:07:14.040Z","isFirstParty":false}