{"uid":"cap_NZuundcrIlnQ6ygGnjqkR","slug":"relaystation-barcode-generator-34aa5eb7","name":"RelayStation Barcode Generator","description":"$0.0002/call. Generate a print-ready 1D barcode (Code128, EAN, UPC & more) as PNG — set symbology, height, scale. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/barcode","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"data":{"type":"string","minLength":1,"description":"The data to encode (per-symbology charset/length/checksum rules apply)."},"scale":{"type":"integer","maximum":10,"minimum":1},"format":{"enum":["png","svg"],"type":"string"},"height":{"type":"integer","maximum":200,"minimum":1},"symbology":{"enum":["ean5","ean2","ean13","ean8","upca","upce","isbn","ismn","issn","mands","code128","gs1-128","ean14","sscc18","code39","code39ext","code32","pzn","code93","code93ext","interleaved2of5","itf14","identcode","leitcode","databaromni","databarstacked","databarstackedomni","databartruncated","databarlimited","databarexpanded","databarexpandedstacked","gs1northamericancoupon","pharmacode","pharmacode2","code2of5","industrial2of5","iata2of5","matrix2of5","coop2of5","datalogic2of5","code11","bc412","rationalizedCodabar","onecode","postnet","planet","royalmail","auspost","kix","japanpost","msi","plessey","telepen","telepennumeric","posicode","codablockf","code16k","code49","channelcode","flattermarken","raw","daft","symbol","pdf417","pdf417compact","micropdf417","datamatrix","datamatrixrectangular","datamatrixrectangularextension","qrcode","swissqrcode","microqrcode","maxicode","azteccode","azteccodecompact","aztecrune","codeone","hanxin","dotcode","ultracode","gs1-cc","ean13composite","ean8composite","upcacomposite","upcecomposite","databaromnicomposite","databarstackedcomposite","databarstackedomnicomposite","databartruncatedcomposite","databarlimitedcomposite","databarexpandedcomposite","databarexpandedstackedcomposite","gs1-128composite","gs1datamatrix","gs1datamatrixrectangular","gs1dldatamatrix","gs1qrcode","gs1dlqrcode","gs1dotcode","hibccode39","hibccode128","hibcdatamatrix","hibcdatamatrixrectangular","hibcpdf417","hibcmicropdf417","hibcqrcode","hibccodablockf","hibcazteccode"],"type":"string","description":"The bwip-js bcid."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_bJD_lZogjz9X99pApPj17","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a print-ready 1D barcode image (PNG) from a value using a specified symbology such as Code128, EAN, or UPC, with configurable height and scale.","exampleAgentPrompt":"Generate a print-ready Code128 barcode PNG for the value '1234567890' with a height of 80 pixels and scale of 2.","exampleUseCases":[{"title":"Retail product barcode creation","prompt":"Create a UPC-A barcode PNG for product code 012345678905 at height 100 and scale 3 — I need it print-ready for the packaging."},{"title":"Shipping label barcode generation","prompt":"Generate a Code128 barcode for tracking number 'SHP-20240601-ABC99' with height 60 and scale 2, so I can embed it in a shipping label."},{"title":"Book ISBN barcode for publisher","prompt":"Make an EAN-13 barcode PNG for ISBN 9780141036144 at height 80 and scale 2 — I need it for the back cover of a book."}],"resultDescription":"A PNG image file of the generated 1D barcode, rendered at the specified height and scale, ready to embed in print materials, labels, or digital documents. The barcode encodes the provided value using the chosen symbology (e.g. Code128, EAN-13, UPC-A).","failureModes":["Invalid or unsupported symbology returns an error","Value incompatible with chosen symbology (e.g. non-numeric string for EAN/UPC) causes validation failure","Payment failure or insufficient USDC balance blocks the call","Malformed request body returns 400 Bad Request","Very long or empty input value may be rejected"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, on-demand 1D barcode PNG generated via a simple API call, especially in agentic or automated workflows where paying per-call is acceptable and no self-hosted barcode library is available. Ideal for retail, logistics, publishing, and inventory use cases requiring Code128, EAN, or UPC symbologies with configurable dimensions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:53:20.414Z","isFirstParty":false}