API Overview
Generate barcodes and labels over HTTP.
The Barcode Labels API generates barcode images and printable labels with simple GET requests. No SDK required — every endpoint works from a browser <img> tag, curl, or any HTTP client.
GET /api/v1/barcode
Just the barcode, as PNG, SVG, or PDF — all ten symbologies.
GET /api/v1/label
A print-ready label PDF (or PNG) sized exactly to the label stock.
Saved templates
Print the templates saved in your account or organization, with fields filled in per request.
Errors & Rate Limits
Error codes, plans, label allowances, and rate limits.
Connect Claude (MCP)
Hosted MCP server so AI agents can generate barcodes and labels in conversation.
Quick start
Embed a barcode in any page:
<img src="https://barcodelabels.io/api/v1/barcode?text=SKU-12345&type=code128" alt="SKU-12345" />Fetch a QR code as SVG:
curl "https://barcodelabels.io/api/v1/barcode?text=https://example.com&type=qr&format=svg" -o qr.svgDownload a printable 2x1" label PDF:
curl "https://barcodelabels.io/api/v1/label?text=SKU-12345&type=code128&size=2x1" -o label.pdfAuthentication
A key is optional. Without one, the API allows 300 labels per day per IP, which is enough to try it or embed a few images. For more, sign in and create a free key under Account → API keys & billing (barcodelabels.io/account), then send it with every request:
curl -H "Authorization: Bearer $BARCODE_LABELS_KEY" \
"https://barcodelabels.io/api/v1/label?text=SKU-12345&type=code128&size=2x1&qty=10" -o labels.pdfKeys are secrets: use them from servers and scripts, never in <img src> URLs or browser code that others can read. See Errors & Rate Limits for plans and limits.
Versioning
/v1 parameters and response shapes never change incompatibly. New optional parameters may be added. Breaking changes will ship under /v2.
OpenAPI
A machine-readable spec is available at /api/v1/openapi.json for client generation and tooling.