Specification for 2D 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.

MaxiCode

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=maxicode&DPI=300&Rotation=0&Foreground=black&Background=white&Mode=4&CountryCode=826&Data=100 High Stret, London, W1 2AA

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String maxicode  
DPI Integer 300 72, 300
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Mode Integer 4 2, 3, 4, 5, 6
ServiceClass Integer   0 to 999
CountryCode Integer   0 to 999
PostalCode String    
Data String    

Mode 2 is for US carriers. Zip codes up to 9 digits. Approx 93 characters. Structured data acccording to the UPS standards.
Mode 3 is for international carriers. Alphanumeric postal codes up to 6 digits. Approx 93 characters. Structured data acccording to the UPS standards.
Mode 4 is for general information (non shipping industry). Approx 90 characters. Unstructured data.
Mode 5 is for general information (non shipping industry) with enhanced error correction. Approx 74 characters. Unstructured data.
Mode 6 is for reader control, allowing scanner manufacturers to program barcode readers.

Service Class is required only for mode 2 or 3.

A 3-digit ISO 3166 recognised country reference number. Required only for mode 2 or 3. See: http://en.wikipedia.org/wiki/ISO_3166-1

Postal Code value is numeric if using Mode 2, alphanumeric if using Mode 3. Required only for mode 2 or 3.

A Maxicode can contain structured or unstructured data. The default size of a Maxicode is 1.11 inch x 1.054 (including the quiet zone) and should not be scaled. Maxicodes can still be read when up to 25% of the label has been damaged.

More on Wikipedia

QRCode

Also know as Denso Barcode, JIS X 0510, ISO/IEC18004.

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=qrcode&DPI=300&Scale=3&Rotation=0&Foreground=black&Background=white&Size=auto&Data=http://www.feedzon.com

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String qrcode  
DPI Integer 300 72, 300
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Size String auto auto, smallest, micro, full or 1 to 40
ErrorLevel String 1 or L 0, 1, 2, 3 or L, M, Q, H
Data String    

More details coming soon.

More on Wikipedia

Aztec

Also known as ANSI/AIM BC13 ITS/97/002.

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=aztec&DPI=300&Scale=4&Rotation=0&Foreground=black&Background=white&Size=full&ErrorLevel=23&Data=http://www.feedzon.com

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String aztec  
DPI Integer 300 72, 300
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Size String smallest smallest, compact, full
Rune Integer   0 to 255
ErrorLevel Integer 23 5 to 99
Data String    

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

More on Wikipedia

PDF417

Also know as Portable Data File 417.

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=pdf417&DPI=300&Scale=4&Rotation=0&Foreground=black&Background=white&Compact=0&Columns=-1&ErrorLevel=-1&Data=http://www.feedzon.com

Returns

Parameters

Name Type Description Example
ServiceKey String    
TypeCode String pdf417  
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
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Compact Integer 0 0, 1
Columns Integer -1 -1 or 1 to 30
ErrorLevel Integer -1 -1 or 0 to 8
Data String    

 

More on Wikipedia

DataMatrix

Also known as ECC200.

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=datamatrix&DPI=300&Scale=4&Rotation=0&Foreground=black&Background=white&Size=square&Data=http://www.feedzon.com

Returns

Parameters

Name Type Default Value Value Options
ServiceKey String    
TypeCode String datamatrix  
DPI Integer 300 72, 300
Scale Integer 1 1 to 8
Rotation Integer 0 0, 90, 180, 270
Foreground String black black, white, red, green, blue, yellow
Background String white black, white, red, green, blue, yellow
Size String square smallest, square, rectangle
Data String    

Higher density data than Code 39, so smaller labels.

More on Wikipedia