Barcodes Creator API

Barcodes Creator API - Barcodentum, (also known as barcode generator API) is a cross browsers REST API which get a JSON input with the text to be encoded, as Barcodentum automatically recognizes the type of barcode to be created among may types like: EAN-13, JAN-13, UPC-A, ISBN, ISSN, Code 39, Code 128-A, Code 128-B, Code 128-C and returns a JSON output string which contains the picture of the created barcode as base64 encoded string, also a text field which gives some info about the type of the created or generated barcode. We have also a QR Code Generator API which may be found here: Click Here!!

Allthough this Barcodes Creator API or Barcodes Geneartor API is intended for software development and therefore developers, we have also here an online application that may be used to get the picture of the barcode as base64 encoded string. The necessary steps are written below, basically for getting the barcode you send an authorized POST request in JSON format to the API endpoint and you get as JSON response a representing the base 64 encoded picture of the barcode and the type of the generated barcode. You own the commercial copyright of the resulted JSON recipe with no additional fee meaning you may use it in your own apps.

Barcodes Creator API is useful for a large number of domains like: e-commerce, restaurants, manufacturers, distributors, retailers, etc.

For using our recipe nutrition calculator API and/or APP you must create an account (free of charge, no card required), activate it from your received email, login and then start your TRIAL package with no fees as you can see at our pricing packages. After you have tested the barcode generator API and/or APP and you are satisfied, you may buy a paid package. You will always see at your Admin Console page the real resources consumption in real time, your invoices, you may see/edit/delete your profile or export log consents as GDPR instructed, you may read our FAQs.

Barcodes Creator APP





API Endpoint (method POST):
https://gatiosoft.ro/barcodentum.aspx
Headers:
Authorization: Basic //Your username:password are base64 encoded string
Content-Type: application/json
Accept: application/json
JSON Request Body (change inputs here and see in real time below):
                   {
  "barcode_digits": "This is a Demo!!"
}
               
JSON Response From API (change inputs here and see in real time below):
{
  "base64Code": "/9JibhvcDDC...base64 encoded string....iOYIGUFFDCC",
  "code_type_and_country": "Code 128-B"
}
JSON Response (Example) From API in case of ERROR:

 {
  "cd": "1001",
  "description": "The authorization header Is either empty Or isn't Basic"
}

Request Parameters Table

Parameter Name
Parameter Description
barcode_digits
This is a String field containing the input text to be barcoded. If you input a Code 39 value please enter the first 7 chars as "CODE39~" followed by your code. For example if you want to input "000512" you should input "CODE39~000512"

Response Parameter Table

Parameter Name
Parameter Description
base64Code
This is the String base64 encoded of the output image of the barcode.
code_type_and_country
This is the type of the barcode [String] depending of your input text. If the barcode is EAN-13, JAN-13, UPC-A it will specify also the country. Example: EAN-13; Spain

Response Error Codes Table

Parameter Name
Parameter Description
cd

This is the error code which may be:

  • 1001
  • 1002
  • 1003
  • 1004
  • 1005
  • 1006
  • 1007
  • 1008
  • 1009
  • 1010
  • 1011
  • 1012
  • 1013
  • 1014
  • 1015
  • 1016
  • 2001
description

This is the description of the error code which may be:

  • 1001 - The authorization header is either empty or isn't Basic.
  • 1002 - Daily requests number exceeded in TRIAL mode!
  • 1003 - Trial expired!
  • 1004 - Characters number exceeded!
  • 1005 - Package expired!
  • 1006 - No invoice!
  • 1007 - Reader is NULL for TRIAL!
  • 1008 - Cannot Read if TRIAL exists!
  • 1009 - Error connecting to database looking for TRIAL! (and a detailed description message of the encountered error)
  • 1010 - Reader is NULL for Invoice!
  • 1011 - Cannot Read if Invoice exists!
  • 1012 - Error connecting to database! (and a detailed description message of the encountered error)
  • 1013 - Input request string too long! Maximum 55 characters per request are allowed
  • 1014 - Invalid request data! (and a detailed description message of the encountered error)
  • 2001 - Invalid request data after passing to the API (and a detailed description message of the encountered error)

Source Code Examples for Using Our Barcodes Creator API

                       
Imports System
Imports System.Text
imports System.Collections.Generic
Imports System.Net
Imports Newtonsoft.Json

Public Class barcodes_creator_api
    Public Class ResponseFields
	Public Property base64Code As String
        Public Property code_type_and_country As String
    End Class
    
    Public Class ErrorFields
        Public Property cd As String
        Public Property description As String
    End Class

    Protected Sub SendRequest()
        Dim Client As WebClient = New WebClient()
        Dim credentials As String = Convert.ToBase64String(Encoding.ASCII.GetBytes("your_username:your_password"))
        Client.Headers(HttpRequestHeader.Authorization) = String.Format("Basic {0}", credentials)
        Client.Headers(HttpRequestHeader.Accept) = "application/json"
        Client.Headers(HttpRequestHeader.ContentType) = "application/json"
	Client.BaseAddress = "https://gatiosoft.ro/barcodentum.aspx"
        Dim resString As String = ""

        Try
            Dim js As String = "Replace this string with your JSON Request Body string like in the example above on the website"
            Dim reqString As Byte() = Encoding.UTF8.GetBytes(js)
            Dim url As Uri = New Uri(Client.BaseAddress)
            Dim resByte As Byte() = Client.UploadData(url, "post", reqString)
            resString = Encoding.UTF8.GetString(resByte)

	    If resString.IndexOf("base64Code") > 0 Then
                Dim r As ResponseFields = New ResponseFields()
                r = JsonConvert.DeserializeObject(Of ResponseFields)(resString)
                Console.Write(resString)
            Else
		Dim e As list(of ErrorFields) = New list(of ErrorFields)
		e = JsonConvert.DeserializeObject(Of list(of ErrorFields))(resString)
                Console.Write(e(0).cd)
                Console.Write(e(0).description)
            End If

            Client.Dispose()
        Catch exception As Exception
            Dim ex As System.Exception = exception
            Console.Write("ERROR: " & resString & ex.Message)
        End Try
    End Sub

    Public Shared Sub Main()
	Dim b As barcodes_creator_api = New  barcodes_creator_api
        b.SendRequest()
    End Sub
End Class



Barcodentum Online Video Presentation

Barcodes Generator API, Barcodentum is in the video presentation below. There are several search terms which you may use like: Barcodes Creator api, barcodes generator API, EAN-13, UPC-A, JAN-13, ISBN, ISSN, Code 39, Code 128-A, Code 128-B, Code 128-C.

 



Pricing Packages

Please choose one of the below pricing packages for start using our Barcodes Creator API and online APP!

Start TRIAL
No catches

  • 7 days TRIAL
  • Use our cloud REST API and online APP
  • Maximum 55 barcode characters per each request
  • Maximum 50 requests per DAY in trial period
  • You do NOT own the commercial copyright of the resulted recipe(s) in trial period.
  • Get base64 encoded string of the recognized barcode picture
  • Get description of the recognized barcode among: EAN-13, JAN-13, UPC-A, ISBN, ISSN, Code 39, Code 128-A, Code 128-B, Code 128-C
  • Administration console
  • Support through online chat and/or tickets
  • We do NOT allow spam accounts for TRIAL



Monthly TIER
Popular

  • 80 USD per month
  • Use our cloud REST API and online APP
  • Maximum 55 barcode characters per each request(*)
  • Maximum 50 requests per MINUTE
  • You own the commercial copyright of the resulted recipe(s) with NO additional fee.
  • Maximum 15.000 requests per MONTH
  • Get base64 encoded string of the recognized barcode picture
  • Get description of the recognized barcode among: EAN-13, JAN-13, UPC-A, ISBN, ISSN, Code 39, Code 128-A, Code 128-B, Code 128-C
  • Administration console
  • Support through online chat and/or tickets



Yearly TIER
(15% Discount)

  • 816 USD per year
  • Use our cloud REST API and online APP
  • Maximum 55 barcode characters per each request(*)
  • Maximum 50 requests per MINUTE
  • You own the commercial copyright of the resulted recipe(s) with NO additional fee.
  • Maximum 15.000 requests per MONTH
  • Get base64 encoded string of the recognized barcode picture
  • Get description of the recognized barcode among: EAN-13, JAN-13, UPC-A, ISBN, ISSN, Code 39, Code 128-A, Code 128-B, Code 128-C
  • Administration console
  • Support through online chat and/or tickets



Note: VAT rate may be added or not, function to your coudtmy and/or if you are a taxable person or company.
* If you want an enterprise custom offer please contact us through our chat window!