{"uid":"cap_K_EoYwY7fLO00qpyDKxDD","slug":"wifi-qr-code-payload-generator-6e62820a","name":"WiFi QR Code Payload Generator","description":"Build the standard WIFI: join string (ZXing/Android escaping of ; , : \\ and quotes) and its QR code SVG.","url":"https://barcode-qr.x402tookit.com/wifi-qr-payload?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"],"type":"string"},"queryParams":{"type":"object","required":["ssid"],"properties":{"ec":{"type":"string","description":"QR error correction L, M, Q or H (default M)"},"auth":{"type":"string","description":"WPA (default with a password), WEP, SAE (WPA3) or nopass"},"ssid":{"type":"string","description":"Network name (SSID), up to 32 characters"},"scale":{"type":"integer","description":"Pixels per module, 1 to 20 (default 0: scalable)"},"border":{"type":"integer","description":"QR quiet zone in modules, 0 to 10 (default 4)"},"hidden":{"type":"string","description":"true if the network does not broadcast its name"},"password":{"type":"string","description":"Network password (omit for an open network)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"svg":{"type":["null","string"]},"asOf":{"type":["null","string"]},"mode":{"type":["null","string"]},"hidden":{"type":["boolean","null"]},"source":{"type":["null","string"]},"ecLevel":{"type":["null","string"]},"modules":{"type":["null","number"]},"payload":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"version":{"type":["null","number"]},"authType":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"svgBytes":{"type":["null","number"]},"characters":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"maskPattern":{"type":["null","number"]},"encodedUnits":{"type":["null","number"]},"penaltyScore":{"type":["null","number"]},"dataCodewords":{"type":["null","number"]},"quietZoneModules":{"type":["null","number"]},"errorCorrectionCodewords":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R6LUehHP4nBWOekZKjA1b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Builds a standard WIFI: join string with proper ZXing/Android escaping and returns it as a QR code SVG image.","exampleAgentPrompt":"Generate a WiFi QR code SVG for my network called 'CoffeeShopGuest' with password 'latte2024' using WPA authentication and high error correction — I want to print it so guests can scan to join.","exampleUseCases":[{"title":"Printable guest WiFi sign","prompt":"Make a WiFi QR code for my Airbnb — the network is 'AirbnbGuest', password is 'welcome123', WPA security, and use high error correction so it scans reliably even if the paper gets a little crumpled."},{"title":"Open network QR for public venue","prompt":"Create a WiFi QR code for our open coffee shop network called 'BeanStreetFree' — there's no password, just an open network. I want a scalable SVG I can put on table cards."},{"title":"WPA3 corporate guest network","prompt":"Generate a WiFi join QR code for our guest network 'CorpGuest-5G' with SAE authentication and password 'Visitor@2024!', using medium error correction and a 4-module quiet zone border."}],"resultDescription":"Returns a JSON object containing the rendered QR code as an SVG string, the WIFI: payload string with proper escaping, QR metadata (version, module count, mask pattern, data codewords, penalty score, encoded units, SVG byte size, error correction level, auth type, encoding mode), a summary/verdict field, and any warnings or reasons if degraded.","failureModes":["Missing required 'ssid' query parameter returns an error","SSID exceeding 32 characters may be rejected or truncated","Invalid 'ec' value (not L/M/Q/H) causes a bad request","Invalid 'auth' value (not WPA/WEP/SAE/nopass) causes an error","Scale value outside 1-20 range or border outside 0-10 range returns validation error","Special characters in SSID or password that cannot be escaped may cause encoding failure"],"whenToPreferThis":"Choose this endpoint when you need a complete, standards-compliant WiFi onboarding QR code that both builds the correctly escaped WIFI: payload string and renders it as a scalable SVG in one call. Prefer it over generic QR text encoders when the use case specifically involves WiFi network joining (ZXing/Android compatibility), as it handles the escaping of semicolons, commas, colons, backslashes, and quotes automatically and supports WPA, WEP, WPA3/SAE, and open network auth types.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:56.511Z","isFirstParty":false,"canonicalSlug":"wifi-qr-code-payload-generator-6e62820a"}