Barcode generator for product, shipping, and inventory labels
Barcode generator for product, shipping, and inventory labels: GET ?data=&type= and receive a print-ready SVG plus PNG (base64) and a data: URI. Types: code128 (default), ean13, ean8, upca, upce, code39, itf14, gs1-128, codabar, datamatrix, pdf417, aztec. Check digits, quiet zones, and the human-readable line are handled per spec; invalid input for a symbology returns a clear 400. Deterministic, no network. QR codes live at /api/qr.
Price: $0.01 per call, paid in USDC via the x402 protocol (see the x402 security scheme).
Request
- Base URL: https://api.webbersites.com
- URL: https://api.webbersites.com/api/barcode
- Auth: API key in header X-PAYMENT
Query parameters
Value to encode (required, up to 500 chars; digits-only types validate length + check digit)
Symbology: code128 (default), ean13, ean8, upca, upce, code39, itf14, gs1-128, codabar, datamatrix, pdf417, aztec
Module width multiplier for the PNG (1-8, default 3)
Bar height for 1D types (4-60, default 12)
Set to 'false' to omit the human-readable text under the bars
Hex color of the bars (default #000000)
Hex background color (default #ffffff)
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.