Specification for 1D Barcode

Check out the specification below to see how easy it is to integrate barcode into your solutions.

Specification

Each request to a feedzon web service requires a number of parameters, all listed below. All requests require an Service Key which was generated when you activated a key for that service. You can create multiple keys for each service, if required.

feedzon methods and parameters names are all case sensitive,e.g. CreateBarcode will work but createBarcode will not; ServiceKey=abc123 will work and SERVICEKEY=abc123 will not.

Codabar

Also known as Ames Code, NW-7, Monarch, 2 of 7, Rationalized Codabar.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=codabar&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=A12D+345C

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String codabar  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

Must start and end with a permitted letter, contains an auto-checksum.

More on Wikipedia

Code 11

Also know as USD-8.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=code11&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=1234-5678

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String code11  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

Rarely used, contains an auto-checksum.

More on Barcode Island

Code 39

Also known as Alpha39, USS Code 39, 3 of 9, Code 3/9, Type 39, or USD-3.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=code39&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=FORDMUSTDISC-3%-MAX$1000

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String code39  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Checksum Integer 0 0, 1
Data String    

Commonly used, many uses, produces large barcodes so not good for physically small labels, contains an optional checksum number.

More on Wikipedia

Code 39 Extended

Also know as USS Code 39, 3 of 9.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=code39ext&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=#312_FORDMUST(DISC3%)-MAX$1000

Returns

Parameters

Name Type Description Example
ServiceKey String    
TypeCode String code39ext  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Checksum Integer 0 0, 1
Data String    

Contains an optional checksum number. Specify your reader to read Code 39 Extended and check compatibility.

More on Barcode Island

Code 93

Also known as USS Code 93.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=code93&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=TEST93

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String code93  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

Higher density data than Code 39, so smaller labels.

More on Wikipedia

Code 128

GS1-128 is a subset of Code 128 and is specified separately.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=code128&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=TEST#128

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String code128  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
StartWith String auto auto, code128a, code128b, code128c
Data String    

Very high density, encodes data well to improve accuracy.

More on Wikipedia

EAN-8

Also known as IAN-8, JAN-8, GTIN-8.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=ean8&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=1234567

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String ean8  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

An automated cheksum will be displayed on the barcode as the 8th digit.

More on Wikipedia

EAN-13

Also known as IAN-13, JAN-13, GTIN-13.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=ean13&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=123456789012

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String ean13  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

An automated cheksum will be displayed on the barcode as the 13th digit.

More on Wikipedia

GS1-128

Also known as UCC-128, EAN-128.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=gs1128&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=(11)130701

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String gs1128  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
StartWith String code128c auto, code128a, code128b, code128c
Data String    

GS1-128 uses a series of Application Identifiers to include additional data such as best before dates, batch numbers, quantities, weights and many other attributes needed by the user. The data identifiers are from a predefined list, so the recipient of an item labelled with a GS1-128 barcode can be sure to correctly interpret the meaning of the values. For example, you could encode the weight 20.56 pounds in a Code39 barcode by simply encoding the digits 2056. However, an application reading the bar code would not know whether 2056 is a product code, a price, a time (2056 could be 20:56, which is 8:56PM), a lot number or, in this case, the weight in pounds. Even if it did know it was a weight, the application would not know whether the number represented 2056 pounds or 20.56 pounds--or perhaps the weight was expressed in kilograms. So the problem is less about encoding the data and more about being sure the recipient will be able to correctly decode it without having to create or interpret custom 'coding agreements' with each supplier. GS1-128 is the standard.

More on Wikipedia

ISBN

Also known as ISBN-10, ISBN-13.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=isbn&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=1234567890123

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String isbn  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

An ISBN is composed of a group identifier, a publisher code, an item number and a check digit. Based on EAN-13 code, an ISBN code can contain 13 digits (previously 10 digits were commonly used, but the standard has been 13 digits since 1st January 2007). If you use only 10 characters, 978 or 979 will be automatically prefixed to encode in the EAN-13 mode. Use of hyphens is optional (often depends on the distribution agency). You may include them, but they will be ignored when read. Hyphens are inserted automatically for easier human reading.

More on Wikipedia

Interleaved 2 of 5

Also known as I25.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=i25&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=01234567

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String i25  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Checksum Integer 0 0, 1
Data String    

Must have an even number of digits. It can contain a checksum. You must specify to your reader that you have encoded a checksum, otherwise it will be displayed when the code is read. If you have a checksum, you must enter an odd number of data digits.

More on Wikipedia

Standard 2 of 5

Also known as s25, Industrial 2 of 5.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=s25&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=01234567

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String s25  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Checksum Integer 0 0, 1
Data String    

An older standard that has since been superceded by Interleaved 2 of 5. Must have an even number of digits. It can contain a checksum. You must specify to your reader that you have encoded a checksum, otherwise it will be displayed when the code is read. If you have a checksum, you must enter an odd number of data digits.

More on Wikipedia

MSI Plessey

Also known as MSI.

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=msi&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=01234567

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String msi  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Checksum Integer 0 0, 1
Data String    

MSI Code allows you to encode numbers. It contains an optional checksum. You must specify to your reader that you have encoded a checksum, otherwise it will be displayed when the code is read.

More on Wikipedia

UPC-A

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=upca&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=0123456789012

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String upca  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    
More on Wikipedia

UPC-E

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=upce&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=0123456

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String upce  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

A version of UPC-A created for smaller items.

More on Wikipedia

UPC Extension 2 Digits

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=upcext2&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=23

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String upcext2  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

UPC-A, UPC-E, EAN-13, and EAN-8 may all include an additional bar code to the right of the main bar code. This second bar code, which is usually not as tall as the primary bar code, is used to encode additional information for newspapers, books, and other periodicals. 2-digit supplemental bar codes should only be used with magazines, newspapers and other such periodicals. The 2-digit supplement represent the issue number of the magazine. More on Barcode Island

UPC Extension 5 Digits

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=upcext5&DPI=300&Height=40&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=01199

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String upcext5  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

UPC-A, UPC-E, EAN-13, and EAN-8 may all include an additional bar code to the right of the main bar code. This second bar code, which is usually not as tall as the primary bar code, is used to encode additional information for newspapers, books, and other periodicals. 5-digit supplemental bar codes are used on books to indicate a suggested retail price.

More on Barcode Island

Postnet

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=postnet&DPI=300&Height=9&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=55555123737

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String postnet  
DPI Integer 300 72, 300
Height Integer 9 9 only
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    

Postnet is being replaced by the Intelligent Mail barcode.

More on Wikipedia

Other Barcode

Request Format

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?{parameters}

Example

https://api.feedzon.com/barcode/1.1/CreateBarcode.fz?ServiceKey=abc123&TypeCode=othercode&DPI=300&Height=9&Scale=3&Rotation=0&Font=12&Foreground=black&Background=white&Data=55555123737

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String othercode  
DPI Integer 300 72, 300
Height Integer 30 20, 30, 40, 50, 60, 70, 80, 90
Scale Integer 2 1 to 8
Rotation Integer 0 0, 90, 180, 270
Font Integer 8 0 to 30
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Data String    
Label String