Image OCR

Image OCR Examples

#Extract Text from Receipt

curl -X POST https://scrapingapi.qoest.com/v1/image \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/receipt.jpg"
  }'

Response:

{
  "text": "Store #1234\nDate: 2026-03-23\nTotal: $45.67\nThank you for shopping!"
}

#Error Examples

#Insufficient Credits

{
  "message": "Insufficient credits"
}

#Invalid Image Extension

{
  "message": "The URL must point to a valid image file (jpg, jpeg, png, webp)."
}