BiGapiguides
POST /v1/barcode/read · 1 cent per page

Barcode read

Read barcodes and 2D codes (EAN, UPC, Code 128, QR, DataMatrix, PDF417) from a photo or PDF: type, content, position; GS1 labels split into GTIN, batch, dates, SSCC.

Try it

export KEY=bigapi_…   # your key, once per terminal
curl -X POST https://api.bigapi.dev/v1/barcode/read -H "Authorization: Bearer $KEY" -F 'file=@label.jpg'

New keys come with 100 free operations, no signup: curl -X POST https://api.bigapi.dev/v1/keys. Failed calls cost nothing.

Parameters

NameMeaning
file requiredPhoto or scan (PNG, JPEG, WebP, TIFF) or a PDF of up to 20 pages, e.g. a shipping label, delivery note or product packaging.
firstPDF only: first page to read.
Default: page 1
lastPDF only: last page to read (at most 20 pages per call).
Default: last page of the PDF (up to 20 pages from first)

Result and price

1¢/p · 1 cent per page

Returns application/json. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).

From an agent (MCP)

Connect BiGapi as an MCP server: https://api.bigapi.dev/mcp (hosted) or npx -y @bigapi/mcp (local). Then ask in plain words; the agent finds barcode_read on its own.