osint_barcode_generator
Validate barcode data for six symbologies and generate a render URL for image creation. Supports UPC-A, EAN-13, Code 128, Code 39, ITF-14, and Codabar.
Instructions
Barcode Payload Builder. Validate input for a 1D barcode and build a ready-to-render image URL for one of six symbologies: UPC-A (12 digits), EAN-13 (13 digits), Code 128 (alphanumeric, up to 80 chars), Code 39 (A-Z 0-9 and . - $ / + %, up to 43), ITF-14 (14 digits), or Codabar (starts/ends A-D, up to 16). Use this to prepare barcode content and a render URL; use osint_barcode_scanner to decode a barcode from an image, osint_qr_code_generator for 2D QR codes, and osint_ean_upc_validator to only checksum-verify a UPC/EAN without rendering. The API call runs locally and is read-only, non-destructive, deterministic, and rate-limited (20 req/min anonymous); the returned serviceUrl points at the third-party bwipjs-api.metafloor.com renderer, which a client fetches separately to obtain the image. Returns the normalized type, the cleaned data, a validity flag and message, checksum/format metadata, the normalized settings, and that render URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Barcode symbology. Unknown values fall back to code128. (barcodeType is accepted as an alias.) | code128 |
| barcodeType | No | Alias for type; used when type is absent. | |
| data | Yes | Value to encode; format depends on type (e.g. 12 digits for upc, 13 for ean13, alphanumeric for code128). Trimmed before validation. (inputData is accepted as an alias.) | |
| inputData | No | Alias for data; used when data is absent. | |
| settings | No | Rendering options applied to the serviceUrl; invalid values fall back to the listed default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the payload was built. | |
| result | No | Barcode payload, validation, and render details. | |
| error | No | Present only on failure; reason the payload could not be built. |