Generators

Barcode Generator API

Render Code 128, Code 39, EAN, UPC-A, and ITF barcodes as PNG images at any size.

Request Headers

Name Required Description
X-RapidAPI-Key required Your RapidAPI key. Get one free.
X-RapidAPI-Host required barcode.p.rapidapi.com

Endpoints

GET /v1/generate/barcode

Generate a 1D barcode PNG

Parameters

NameTypeRequiredDefaultConstraints
datastringrequired—<= 256 chars; matches \S
formatstringrequired—matches \S
heightintegeroptional10020-400
widthintegeroptional30050-1000

Code Examples

curl --request GET \
  --url 'https://barcode.p.rapidapi.com/v1/generate/barcode?data=example&format=example' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: barcode.p.rapidapi.com'
GET /v1/generate/barcode/formats

List all supported barcode formats.

Code Examples

curl --request GET \
  --url 'https://barcode.p.rapidapi.com/v1/generate/barcode/formats' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: barcode.p.rapidapi.com'

Interactive Example

barcode
$ GET /v1/generate/barcode?data=5901234123457&format=ean13
(binary image/png)

Subscribe & License

Access this API with commercial-ready tiers on RapidAPI. Flexible plans designed for side-projects, startups, and high-volume production architectures.

View Pricing & Subscribe

Developer Support

Need help integrating or have a custom endpoint request? Our engineering team is here to assist with authentication, payload schemas, and high-frequency rate limit increases.

Contact API Engineering

System Performance

Monitored 24/7 with a 99.9% uptime SLA. Built atop cloud-native microservices with globally distributed edge caching to ensure ultra-low latency response times.

All Systems Operational