barcodeapi API Reference

Barcode APIs let you generate barcode images, and recognize values from images of barcodes.

Swagger OpenAPI Specification | .NET Framework Client | .NET Core Client | Java Client | Node.JS Client | Python Client | Drupal Client

API Endpoint
https://api.cloudmersive.com
Schemes: https
Version: v1

Authentication

Apikey

API Key Authentication

type
apiKey
name
Apikey
in
header

BarcodeLookup

Lookup a barcode value and return product data

POST /barcode/lookup/ean


Barcode value

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Matches": [
    {
      "EAN": "string",
      "Title": "string"
    }
  ]
}

GenerateBarcode

Generate a QR code barcode as a PNG file, a type of 2D barcode which can encode free-form text information

POST /barcode/generate/qrcode


QR code text to convert into the QR code barcode

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
200 OK

Image in image/png format

type
file
Response Content-Types: image/png
Response Example (200 OK)
"file"

Validate and generate a UPC-A barcode as a PNG file, a type of 1D barcode

POST /barcode/generate/upc-a


UPC-A barcode value to generate from

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
200 OK

Image in image/png format

type
file
Response Content-Types: image/png
Response Example (200 OK)
"file"

Validates and generate a UPC-E barcode as a PNG file, a type of 1D barcode

POST /barcode/generate/upc-e


UPC-E barcode value to generate from

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
200 OK

Image in image/png format

type
file
Response Content-Types: image/png
Response Example (200 OK)
"file"

Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode

POST /barcode/generate/ean-13


Barcode value to generate from

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
200 OK

Image in image/png format

type
file
Response Content-Types: image/png
Response Example (200 OK)
"file"

Validates and generate a EAN-8 barcode as a PNG file, a type of 1D barcode

POST /barcode/generate/ean-8


Barcode value to generate from

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"string"
200 OK

Image in image/png format

type
file
Response Content-Types: image/png
Response Example (200 OK)
"file"

Schema Definitions

BarcodeLookupResponse: object

Successful: boolean
Matches: ProductMatch
ProductMatch
Example
{
  "Successful": "boolean",
  "Matches": [
    {
      "EAN": "string",
      "Title": "string"
    }
  ]
}

ProductMatch: object

EAN: string
Title: string
Example
{
  "EAN": "string",
  "Title": "string"
}