{"uid":"cap_ryqROBQ1sF-EkGWKRKHq9","slug":"arch-tools-barcode-generator-bc6c9153","name":"Arch Tools Barcode Generator","description":"Generate Code128, EAN-13, UPC-A and Code39 barcodes as crisp SVGs in one POST. Ready for inventory, shipping and retail agents. Pay per call with USDC (x402) or credits - archtools.dev","url":"https://archtools.dev/v1/tools/barcode-generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"Text or number to encode"},"type":{"enum":["code128","qr"],"type":"string","default":"code128","description":"Barcode type"},"value":{"type":"string","description":"Alias for data"},"width":{"type":"integer","default":250,"description":"Output width in pixels"},"height":{"type":"integer","default":100,"description":"Bar height in pixels"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KVkgDOq5rFVRlBF2nJSOY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a barcode image from text or numeric input in configurable formats such as CODE128","exampleAgentPrompt":"Generate a CODE128 barcode for the text 'SKU-98432-XZ' with a bar height of 120 pixels and bar width of 2.","exampleUseCases":[{"title":"Product label barcode generation","prompt":"Create a barcode for my product code 'PROD-00291-B' using CODE128 format with height 100 pixels so I can print it on our packaging labels."},{"title":"Shipping label barcode for tracking number","prompt":"Generate a barcode for the tracking number '1Z999AA10123456784' — use CODE128 format with a height of 150 pixels and bar width of 3."},{"title":"Inventory asset tag encoding","prompt":"I need to encode the asset ID 'ASSET-2024-7745' as a barcode — CODE128, default bar width and 100 pixel height — so I can stick it on equipment in our warehouse."}],"resultDescription":"A JSON response containing the generated barcode, likely as a base64-encoded image or image URL, representing the encoded text in the specified barcode format with the requested dimensions.","failureModes":["Empty or missing 'text' field returns a validation error","Unsupported barcode format string causes a format error","Extremely long input strings may exceed barcode capacity for certain formats","Invalid integer values for width or height may return a parameter error","Payment failure or insufficient USDC balance returns a 402 error"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call barcode image generated server-side without managing a barcode library yourself. Ideal for AI agents automating label creation, inventory workflows, or shipping integrations where generating a one-off barcode on demand is preferable to embedding a client-side library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:40:39.473Z","isFirstParty":false}