{"uid":"cap_hSxqEL4oEBxtCyb7clwtj","slug":"primeapi-barcode-generator-4370f917","name":"PrimeAPI Barcode Generator","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/tools/barcode/generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.052905","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.052905/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.052905","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.052905","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MY7dngHy-3_ZCvfSjdeSm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.052905","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 a given input string or product code","exampleAgentPrompt":"Generate a barcode for the product code '012345678905' — I need a scannable barcode image I can use on a retail label.","exampleUseCases":null,"resultDescription":"Returns a barcode image or image data (likely base64-encoded or a URL) representing the encoded input string, suitable for printing or embedding in product labels.","failureModes":["Invalid or empty query string returns an error","Unsupported barcode format returns a format error","Payment failure (402) if USDC payment not attached","Malformed request body returns 400 bad request","Server-side generation failure returns 500"],"whenToPreferThis":"Use this endpoint when you need to programmatically generate a barcode image from a product code, SKU, or arbitrary string without needing an API key — particularly useful in automated agent workflows that pay per call in USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:58:28.587Z","isFirstParty":false}