{"uid":"cap_TQ3ncSsczr3C_Sk38RSCm","slug":"barcode-generator-api-klymax402-com-b4264fc0","name":"Barcode Generator API","description":"Generate a barcode from text or number","url":"https://barcode-generator.api.klymax402.com/api/barcode","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"Data to encode in the barcode"},"width":{"type":"number","description":"Bar width in pixels (default: 2)"},"format":{"type":"string","description":"Barcode format: code128, code39, ean13, upca (default: code128)"},"height":{"type":"number","description":"Barcode height in pixels (default: 100)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E_gkEWkfB1TJHQUUL2K9Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 data in formats like Code128, Code39, EAN-13, or UPC-A","exampleAgentPrompt":"Generate a Code128 barcode for the text '7350053850019' with a height of 100 pixels and bar width of 2 pixels.","exampleUseCases":null,"resultDescription":"Returns a barcode image (likely PNG or SVG) visually encoding the provided data string in the specified format and dimensions, ready for printing or embedding.","failureModes":["Invalid or unsupported barcode format specified — returns error indicating accepted formats","Data string incompatible with chosen format (e.g. non-numeric data for EAN-13) — returns validation error","Missing required 'data' parameter — returns bad request error","Negative or zero dimensions provided — returns parameter validation error","Payment not fulfilled via x402 protocol — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to programmatically generate a barcode image from a string or number, especially for inventory, retail, logistics, or labeling workflows. It supports multiple standard barcode formats (Code128, Code39, EAN-13, UPC-A) with configurable dimensions at a very low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:36:07.596Z","isFirstParty":false}