Barcode Reader API in cURL using PDF.co Web API

PDF.co Web API is the Rest API that provides a set of data extraction functions, tools for documents manipulation, splitting and merging of PDF files. Includes built-in OCR, images recognition, can generate and read barcodes from images, scans and PDF.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

BarcodeReader.cmd

      
curl --location --request POST 'https://api.pdf.co/v1/barcode/read/from/url' \ --header 'x-api-key: {{x-api-key}}' \ --form 'types=Code128,Code39,Interleaved2of5,EAN13' \ --form 'url=https://bytescout-com.s3-us-west-2.amazonaws.com/files/demo-files/cloud-api/barcode-reader/sample.pdf' \ --form 'pages='

How to Read Barcodes with PDF.co Web API in cURL

This tutorial will show you how to read different types of barcodes with PDF.co Web API using cURL. First, I will show you the sample Barcodes that we’re going to decode in this tutorial.

Barcode Reader Curl

Now prepare your cURL sample code. Make sure to change the API key with your own, then click send the request. The program runs successfully. As you can see, we were able to decode all of the Barcodes inside the PDF.

That’s all for this tutorial. Keep reading our stuff to learn more about PDF.co Web API features.

VIDEO GUIDE

ON-PREMISE OFFLINE SDK

Get 60 Day Free Trial

See also:

ON-DEMAND REST WEB API

Get Your API Key

See also:

Related Samples: