Skip to content
Browse all functions

Read Barcode – Decode Barcodes from Images

images/readbarcode

readbarcode (Read Barcode – Decode Barcodes from Images) is a 1001fx API function in the group Images: POST https://api.1001fx.com/images/readbarcode, 3 credits per call. It works as a ready-made module in Make or as a plain HTTP call.

3 credits per callHTTP APIMake

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
multipart/form-data

Parameters

  • filefileoptional

    The image (PNG, JPEG, BMP, TIFF, GIF). Either file or fileUrl.

  • fileUrlstringoptional

    Public URL of the image. Either file or fileUrl.

    Example:
    https://api.1001fx.com/testdata/image.png

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'

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