Barcode & QR Reader
Read every QR code and barcode in a photo or image: text, format, position and meaning.
Read barcodes and QR codes from an image (URL or base64): QR, Micro QR, DataMatrix, Aztec, PDF417, MaxiCode, EAN-13/8, UPC-A/E, Code 128/39/93, Codabar, ITF and DataBar. Finds every code in the picture, even rotated, small or inverted (phone photos, receipts, labels, screenshots), and returns each one's text, format, position and meaning (URL, Wi-Fi network, vCard, e-mail, phone, location, crypto payment URI, product GTIN). No code found = not charged.
What agents use it for
- Read receipt, label and package barcodes from photos
- Decode QR codes in screenshots: links, Wi-Fi, vCards, payment URIs
- Cheaper and more reliable than asking a vision model to read codes
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
image_url | string | no | Public URL of the image (PNG, JPEG, WebP, GIF, BMP, TIFF; max 8 MB). Use this or image_base64 |
image_base64 | string | no | The image as base64 (or a data: URI), max 8 MB. Use this or image_url |
formats | array of string | no | Only look for these formats (default: all) |
max_results | integer · default 10 | no | Maximum codes to return |
Call it
{
"name": "read_barcode",
"arguments": {
"image_url": "https://api.ishob.com/v1/files/example/qr.png"
}
}curl -i -X POST "https://api.ishob.com/v1/barcode/read" \
-H "Content-Type: application/json" \
-d '{"image_url":"https://api.ishob.com/v1/files/example/qr.png"}'Paid with x402: the first call returns HTTP 402 with the price; an x402 client (for example @x402/fetch or @x402/mcp) signs a USDC payment and retries. Calls that fail are not charged.
Connect the MCP server: setup for Claude, Cursor and other clients.