Codabar Barcode

Free Codabar Barcode API

Generate codabar barcode images with a single HTTP request. ChartQuery returns publication-ready PNG or SVG output that works everywhere, dashboards, emails, PDFs, print, and more. No frontend library required.

Live Preview

This image is generated in real time by the ChartQuery API, no static assets.

Free Codabar Barcode API, live preview generated by ChartQuery

Quick Start

A single HTTP request is all you need. No SDK, no dependencies.

Terminal
curl "https://api.chartquery.com/v1/barcode?data=A1234567890B&type=codabar&show_text=true" \
  --output barcode.svg

How It Works

1

Send a Request

POST a JSON body or use GET with query parameters. No SDK or library needed.

2

Get Your Image

ChartQuery renders your chart, diagram, barcode, QR code, or label and returns it as PNG or SVG.

3

Use It Anywhere

Embed in emails, PDFs, dashboards, documents, or print directly. Works everywhere images work.

Features

25+ Barcode Formats

EAN-13, UPC-A, Code 128, GS1-128, ITF-14, and 20+ more standards, all from one endpoint.

Print-Ready Output

SVG and PNG output with configurable DPI, units (px, mm, in, cm), and precise bar width control.

Full Styling Control

Customize colors, margins, text position, rotation, font, and bearer bars for any requirement.

Industry Compliance

Generate GS1-compliant barcodes with Application Identifiers for retail, logistics, and healthcare.

Use Cases

  • Product labeling and retail packaging
  • Inventory and warehouse management
  • Shipping and logistics tracking
  • Healthcare specimen and medication identification

Frequently Asked Questions

What is the ChartQuery Codabar Barcode API?

The ChartQuery Codabar Barcode API lets you generate codabar barcode images via a simple HTTP request. Send a JSON configuration and receive a rendered PNG or SVG image in the response. No frontend library, no browser, no dependencies required.

How do I use a codabar barcode with an API?

Send a POST request to the ChartQuery barcode endpoint with your data as JSON. The API returns a rendered image directly. You can also use GET requests with URL parameters for simple cases. No API key is required for basic usage, anonymous access is available with 60 requests per hour.

What output formats does the Codabar Barcode API support?

SVG (default) and PNG. SVG is lossless and scalable, while PNG is a lossless raster format ideal for email and PDF.

Is the Codabar Barcode API free to use?

Yes. The ChartQuery Codabar Barcode API works without an API key. Anonymous access is rate-limited to 60 requests per hour and adds a small watermark. Authenticated users on paid plans get higher limits, no watermark, and longer chart persistence (6 months vs 3 days for shared URLs).

Can I customize the codabar barcode appearance?

Yes. You have full control over colors, fonts, sizes, backgrounds, legends, and every visual property through the JSON configuration. The API uses Chart.js v4 for charts, and supports all native options for fine-grained customization.

Can I share and embed barcodes generated by the API?

Yes. Add "share": true to any request to get permanent URLs. The render_url is a direct image URL you can embed in emails, documents, or <img> tags. The view_url is an interactive HTML page you can embed as an iframe. No authentication needed for viewers.

Start generating charts today

No API key required to get started. Generate charts, diagrams, and more with a single HTTP request.

Get StartedView Pricing