Receipt parsing
Turn a receipt photo into line items and totals.
POST /v1/receipt-parsing
What it does
Send a link to a photo of a receipt. Get back the merchant, the line items and the total.
Input
image_urlstring- Link to a photo of the receipt.
Output
merchantstring- Name of the merchant.
itemsobject[]- Each item has a name and an amount.
totalnumber- Total paid.
Sample request
curl https://api.focusllm.com/v1/receipt-parsing \
-H "Authorization: Bearer $FOCUSLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/receipt.jpg"
}'{
"merchant": "Example Cafe",
"items": [
{
"name": "Espresso",
"amount": 3.5
}
],
"total": 3.5
}Price
$0.01 per successful call
Sample price. Paid from prepaid credits.
Get an API key