{"uid":"cap_EAoAQzp2JVx8isJiRuSzP","slug":"synapse-barcode-generator-59ac36c7","name":"Synapse Barcode Generator","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/barcode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"svg":"<svg ...>...</svg>","type":"ean13","valid":true,"value":"4006381333931"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Jp4nWqEINbv2RQmtvYjMW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a barcode (e.g. EAN-13) as an SVG given a value, returning the rendered image and validation status","exampleAgentPrompt":"Can you generate an EAN-13 barcode for the product number 4006381333931 and give me the SVG so I can embed it on the packaging page?","exampleUseCases":[{"title":"Product label barcode generation","prompt":"I need an EAN-13 barcode SVG for product number 4006381333931 to put on my product label — can you generate it and tell me if the number is valid?"},{"title":"E-commerce listing barcode embed","prompt":"Generate a barcode SVG for GTIN 9780141036144 so I can embed it directly in my product detail page on the website."},{"title":"Retail packaging QC check","prompt":"Can you create a barcode for the value 5901234123457 and confirm whether it passes EAN-13 validation before I send it to the printer?"}],"resultDescription":"Returns a JSON object containing: an SVG string of the rendered barcode image, the detected or specified barcode type (e.g. 'ean13'), a boolean 'valid' field indicating whether the input value passes checksum/format validation, and the encoded value string.","failureModes":["Invalid or malformed barcode value (wrong digit count, failed checksum) — returns valid: false or error response","Missing required query parameter for the barcode value — likely 400 Bad Request","Payment failure via x402 protocol — 402 Payment Required before barcode is returned","Unsupported barcode type requested — may return an error or fall back to a default type"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call barcode generator with no account setup, returning ready-to-use SVG output. Ideal for one-off or low-volume barcode generation in automated pipelines, product catalog tooling, or packaging workflows where EAN-13 (and similar) SVG barcodes are needed instantly without managing API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:54.791Z","isFirstParty":false,"canonicalSlug":"synapse-barcode-generator-59ac36c7"}