Skip to content
Browse all functions

Read Barcode – Decode Barcodes from Images

images/readbarcode

Reads the barcode in an image (photo, scan, screenshot): EAN, UPC, Code 128/39/93, ITF, Codabar, DataMatrix, PDF417, Aztec and QR codes. Returns the content and the barcode type.

Endpoint

POSThttps://api.1001fx.com/images/readbarcode
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json (no body)

Parameters

This function has no parameters.

Examples

Read Barcode – Decode Barcodes from Images

Read Barcode – Decode Barcodes from Images

Input

Expects multipart/form-data or a json body
{
  "fileUrl": "https://api.1001fx.com/testdata/barcode.png"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/images/readbarcode' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"fileUrl":"https://api.1001fx.com/testdata/barcode.png"}'

Try readbarcode now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created