get_barcode
ActiveTool of io.github.webberdesign/webbersites-x402-data-api
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. ($0.01 per call, paid via x402)
Parameters schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"dark": {
"type": "string",
"description": "Hex color of the bars (default #000000)"
},
"data": {
"type": "string",
"description": "Value to encode (required, up to 500 chars; digits-only types validate length + check digit)"
},
"type": {
"type": "string",
"description": "Symbology: code128 (default), ean13, ean8, upca, upce, code39, itf14, gs1-128, codabar, datamatrix, pdf417, aztec"
},
"light": {
"type": "string",
"description": "Hex background color (default #ffffff)"
},
"scale": {
"type": "number",
"description": "Module width multiplier for the PNG (1-8, default 3)"
},
"height": {
"type": "number",
"description": "Bar height for 1D types (4-60, default 12)"
},
"text_line": {
"type": "string",
"description": "Set to 'false' to omit the human-readable text under the bars"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
io.github.webberdesign/webbersites-x402-data-api
https://github.com/webberdesign/api.webbersites.com
1/7 registries