{"uid":"cap_QMdakCPRabXIdgRf3feEN","slug":"qr-code-generator-basic-e0d30844","name":"QR Code Generator (Basic)","description":"Generate and decode QR codes with x402 payments and an MCP server.","url":"https://qr.payapi.market/generate/basic?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"Text or URL to encode, up to 4296 characters."}}},"responseSchema":{"type":"json","example":{"data":"https://payapi.market","width":330,"border":4,"format":"png","height":330,"modules":25,"version":2,"box_size":10,"back_color":"#ffffff","fill_color":"#000000","size_bytes":512,"image_base64":"iVBORw0KGgoAAAANSUhEUgAAASIAAAEiCAYAAABdvt+2AAAABmJLR0QA/wD/AP+gvaeTAAAF...","error_correction":"M"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_op1dGE2D8xg7A761sDZTL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a basic QR code image (PNG, base64-encoded) from any text or URL input, paid per-call via x402 micropayment.","exampleAgentPrompt":"Can you generate a QR code for https://payapi.market so I can put it on my flyer? Give me the PNG image back.","exampleUseCases":[{"title":"QR code for event landing page","prompt":"Make a QR code for https://myevent.com/rsvp so I can print it on our conference badges."},{"title":"QR code for Wi-Fi credentials","prompt":"Generate a QR code that encodes this Wi-Fi string: WIFI:T:WPA;S:MyNetwork;P:supersecret;; — I want to put it on a sign in our office."},{"title":"QR code for crypto payment address","prompt":"Create a QR code from the text '0x1234abcd5678efgh' so customers can scan and send crypto payments to my wallet."}],"resultDescription":"Returns a JSON object containing the base64-encoded PNG image of the QR code, along with metadata: image width and height (pixels), number of modules, QR version, box size, border, background color (#ffffff), fill color (#000000), file size in bytes, and error correction level (M).","failureModes":["Input data exceeds 4296 characters — QR code capacity limit exceeded","Missing or empty 'data' field — returns validation error","Payment not authorized or x402 payment header missing — returns 402 Payment Required","Malformed request body — returns 400 Bad Request","Service unavailable — returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost QR code image (PNG) generated from any text or URL without needing customization beyond defaults. At $0.001 USDC per call it is ideal for high-volume or automated pipelines (agent workflows, bulk flyer generation) that need pay-per-use pricing with no subscription. It is preferable when you need a simple standard QR code and don't require advanced styling, color customization beyond black-on-white, or logo embedding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:40:57.745Z","isFirstParty":false,"canonicalSlug":"qr-code-generator-basic-e0d30844"}