{"openapi":"3.1.0","info":{"title":"Barcodes and QR Codes","version":"1.0.0","description":"Generate QR, Code 128 and EAN-13 SVG barcodes, QR capacity, check digits and Wi-Fi or vCard payloads. One call, one computed answer, no accounts or API keys. Machine-payable over x402.","x-guidance":"Barcodes and QR Codes: Generate QR, Code 128 and EAN-13 SVG barcodes, QR capacity, check digits and Wi-Fi or vCard payloads. Use /qr-svg to encode text as a QR code SVG, /qr-capacity to find the version or size limits, /code128-svg and /ean13-svg for linear barcodes, /barcode-check-digit for GS1 check digits, and /wifi-qr-payload and /vcard-qr-payload to build standard Wi-Fi and contact payloads with a QR code. Each paid GET returns a computed verdict with the reasons, the source and what was NOT checked. A verdict of UNVERIFIED means a lookup failed: treat it as unknown. No account or key: pay per call in USDC over x402."},"servers":[{"url":"https://barcode-qr.x402tookit.com"}],"paths":{"/barcode-check-digit":{"get":{"operationId":"barcode_check_digit","summary":"Compute or verify the GS1 mod-10 check digit for EAN-8, UPC-A, EAN-13, ITF-14 (GTIN-14) and SSCC numbers.","description":"Compute or verify the GS1 mod-10 check digit for EAN-8, UPC-A, EAN-13, ITF-14 (GTIN-14) and SSCC numbers.","tags":["gs1","check-digit","ean","sscc","barcode"],"parameters":[{"name":"code","in":"query","required":true,"description":"Digits with or without the check digit, e.g. 4006381333931 or 400638133393","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"ean8, upca, ean13, itf14 or sscc (default: guessed from the length)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"type":{"type":["null","string"]},"name":{"type":["null","string"]},"payload":{"type":["null","string"]},"checkDigit":{"type":["null","number"]},"fullNumber":{"type":["null","string"]},"action":{"type":["null","string"]},"givenCheckDigit":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"VALID","summary":"EAN-13 4006381333931 has a correct check digit (1).","reasons":["Well formed does not mean registered to a product or pallet."],"type":"ean13","name":"EAN-13","payload":"400638133393","checkDigit":1,"fullNumber":"4006381333931","action":"verify","givenCheckDigit":1,"degraded":false,"notChecked":["whether the number is allocated to a product or pallet (GS1 registration is not checked)","the GS1 company prefix"],"source":"computed locally","asOf":"2026-10-21T00:45:40.904Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/barcode-check-digit"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/barcode-check-digit"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/barcode-check-digit"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/barcode-check-digit"}}]}}},"/code128-svg":{"get":{"operationId":"code128_svg","summary":"Encode ASCII text as a Code 128 barcode SVG with automatic subset A/B/C switching and the mod-103 checksum.","description":"Encode ASCII text as a Code 128 barcode SVG with automatic subset A/B/C switching and the mod-103 checksum.","tags":["code128","barcode","svg","linear-barcode"],"parameters":[{"name":"text","in":"query","required":true,"description":"ASCII text to encode, up to 80 characters","schema":{"type":"string"}},{"name":"scale","in":"query","required":false,"description":"Pixels per module, 1 to 8 (default 2)","schema":{"type":"integer"}},{"name":"height","in":"query","required":false,"description":"Bar height in modules, 10 to 200 (default 40)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"svg":{"type":["null","string"]},"symbolValues":{"type":["array","null"],"items":{"type":"number"}},"subsets":{"type":["null","string"]},"checksum":{"type":["null","number"]},"symbols":{"type":["null","number"]},"modules":{"type":["null","number"]},"quietZoneModules":{"type":["null","number"]},"svgBytes":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"ENCODED","summary":"Code 128, 9 symbols (subsets B), checksum 55, 112 modules wide.","reasons":["A 10-module quiet zone is included on each side."],"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 132 52\" width=\"264\" height=\"104\" shape-rendering=\"crispEdges\"><rect width=\"132\" height=\"52\" fill=\"#fff\"/><path d=\"M10 0h2v40h-2zM13 0h1v40h-1zM16 0…","symbolValues":[104,48],"subsets":"BBBBBBBB","checksum":55,"symbols":10,"modules":112,"quietZoneModules":10,"svgBytes":709,"degraded":false,"notChecked":["that your scanner reads it (test before printing)","FNC1 / GS1-128 application identifiers (not generated)","…1 more"],"source":"computed locally","asOf":"2026-10-21T00:45:41.165Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/code128-svg"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/code128-svg"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/code128-svg"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/code128-svg"}}]}}},"/ean13-svg":{"get":{"operationId":"ean13_svg","summary":"Draw an EAN-13 or UPC-A barcode SVG: adds or checks the check digit and uses the L/G/R encodings.","description":"Draw an EAN-13 or UPC-A barcode SVG: adds or checks the check digit and uses the L/G/R encodings.","tags":["ean13","upc","barcode","svg"],"parameters":[{"name":"code","in":"query","required":true,"description":"EAN-13: 12 or 13 digits. UPC-A: 11 or 12 digits (e.g. 4006381333931)","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"ean13 (default) or upca","schema":{"type":"string"}},{"name":"scale","in":"query","required":false,"description":"Pixels per module, 1 to 8 (default 2)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"svg":{"type":["null","string"]},"digits":{"type":["null","string"]},"checkDigit":{"type":["null","number"]},"ean13":{"type":["null","string"]},"leftParityPattern":{"type":["null","string"]},"modules":{"type":["null","number"]},"leftQuietZoneModules":{"type":["null","number"]},"rightQuietZoneModules":{"type":["null","number"]},"svgBytes":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"ENCODED","summary":"EAN-13 4006381333931 drawn: 95 modules, left parity pattern LGLLGG.","reasons":["The check digit you gave is correct."],"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 113 62\" width=\"226\" height=\"124\" shape-rendering=\"crispEdges\"><rect width=\"113\" height=\"62\" fill=\"#fff\"/><path d=\"M17 0h2v48h-2zM20 0h1v48h-1zM22 0…","digits":"4006381333931","checkDigit":1,"ean13":"4006381333931","leftParityPattern":"LGLLGG","modules":95,"leftQuietZoneModules":11,"rightQuietZoneModules":7,"svgBytes":1304,"degraded":false,"notChecked":["that the number is registered to a product (GS1 registration is not checked)","that your scanner reads it","…1 more"],"source":"computed locally","asOf":"2026-10-21T00:45:41.428Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/ean13-svg"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/ean13-svg"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/ean13-svg"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/ean13-svg"}}]}}},"/qr-capacity":{"get":{"operationId":"qr_capacity","summary":"QR capacity from the ISO 18004 table: max digits, letters, bytes for a version, or the smallest version for a length.","description":"QR capacity from the ISO 18004 table: max digits, letters, bytes for a version, or the smallest version for a length.","tags":["qr","qr-code","capacity"],"parameters":[{"name":"ec","in":"query","required":true,"description":"Error correction level L, M, Q or H","schema":{"type":"string"}},{"name":"version","in":"query","required":false,"description":"QR version 1 to 40: returns every mode's capacity","schema":{"type":"integer"}},{"name":"length","in":"query","required":false,"description":"Characters to store: returns the smallest version that fits","schema":{"type":"integer"}},{"name":"mode","in":"query","required":false,"description":"numeric, alphanumeric or byte (default byte) for the length search","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"ecLevel":{"type":["null","string"]},"version":{"type":["null","object"],"properties":{"version":{"type":["null","number"]},"modules":{"type":["null","number"]},"dataCodewords":{"type":["null","number"]},"totalCodewords":{"type":["null","number"]},"errorCorrectionCodewords":{"type":["null","number"]},"errorCorrectionBlocks":{"type":["null","number"]},"errorCorrectionCodewordsPerBlock":{"type":["null","number"]},"maxDigits":{"type":["null","number"]},"maxAlphanumeric":{"type":["null","number"]},"maxBytes":{"type":["null","number"]},"maxKanji":{"type":["null","number"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"CAPACITY","summary":"Version 1-Q: up to 27 digits, 16 alphanumeric, 11 bytes.","reasons":["Limits are for a single mode over the whole text; real text mixing modes needs the byte limit or smarter segmentation."],"ecLevel":"Q","version":{"version":1,"modules":21,"dataCodewords":13,"totalCodewords":26,"errorCorrectionCodewords":13,"errorCorrectionBlocks":1,"errorCorrectionCodewordsPerBlock":13,"maxDigits":27,"maxAlphanumeric":16,"maxBytes":11,"maxKanji":7},"degraded":false,"notChecked":["mixed-mode segmentation (a text with digits and letters can fit in more than one mode's count; this gives single-mode limits)","Micro QR and Structured Append"],"source":"computed locally","asOf":"2026-10-21T00:45:41.689Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/qr-capacity"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/qr-capacity"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/qr-capacity"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/qr-capacity"}}]}}},"/qr-svg":{"get":{"operationId":"qr_svg","summary":"Encode text as a QR code SVG (ISO 18004, versions 1-40, error correction L/M/Q/H, auto mask). No dependencies.","description":"Encode text as a QR code SVG (ISO 18004, versions 1-40, error correction L/M/Q/H, auto mask). No dependencies.","tags":["qr","qr-code","svg","barcode"],"parameters":[{"name":"text","in":"query","required":true,"description":"Text or URL to encode (up to 1000 characters)","schema":{"type":"string"}},{"name":"ec","in":"query","required":false,"description":"Error correction level L, M, Q or H (default M)","schema":{"type":"string"}},{"name":"version","in":"query","required":false,"description":"Smallest QR version to use, 1 to 40 (default: the smallest that fits)","schema":{"type":"integer"}},{"name":"mode","in":"query","required":false,"description":"auto (default), numeric, alphanumeric or byte","schema":{"type":"string"}},{"name":"mask","in":"query","required":false,"description":"Force mask pattern 0 to 7 (default: lowest penalty)","schema":{"type":"integer"}},{"name":"border","in":"query","required":false,"description":"Quiet zone in modules, 0 to 10 (default 4)","schema":{"type":"integer"}},{"name":"scale","in":"query","required":false,"description":"Pixels per module for width/height, 1 to 20 (default 0: scalable)","schema":{"type":"integer"}},{"name":"fg","in":"query","required":false,"description":"Dark module colour, 6-digit hex (default 000000)","schema":{"type":"string"}},{"name":"bg","in":"query","required":false,"description":"Light module colour, 6-digit hex (default ffffff)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"svg":{"type":["null","string"]},"version":{"type":["null","number"]},"ecLevel":{"type":["null","string"]},"mode":{"type":["null","string"]},"modules":{"type":["null","number"]},"maskPattern":{"type":["null","number"]},"quietZoneModules":{"type":["null","number"]},"characters":{"type":["null","number"]},"encodedUnits":{"type":["null","number"]},"dataCodewords":{"type":["null","number"]},"errorCorrectionCodewords":{"type":["null","number"]},"penaltyScore":{"type":["null","number"]},"svgBytes":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"ENCODED","summary":"Version 1 (21x21) QR code, alphanumeric mode, error correction Q, mask 6.","reasons":["The svg field is a complete SVG document; save it as .svg or embed it inline."],"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" shape-rendering=\"crispEdges\"><rect width=\"29\" height=\"29\" fill=\"#ffffff\"/><path fill=\"#000000\" d=\"M4 4h7v1h-7zM15 4h1v1h-1zM18 4h7v1h-7zM4 5…","version":1,"ecLevel":"Q","mode":"alphanumeric","modules":21,"maskPattern":6,"quietZoneModules":4,"characters":11,"encodedUnits":11,"dataCodewords":13,"errorCorrectionCodewords":13,"penaltyScore":314,"svgBytes":1708,"degraded":false,"notChecked":["that your scanner app reads it (scan the printed result before relying on it)","print size, contrast and quiet-zone fit for your medium","…1 more"],"source":"computed locally","asOf":"2026-10-21T00:45:41.966Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/qr-svg"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/qr-svg"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/qr-svg"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/qr-svg"}}]}}},"/vcard-qr-payload":{"get":{"operationId":"vcard_qr_payload","summary":"Build a vCard 3.0 contact card (RFC 2426 escaping of ; , \\ and newlines) and its QR code SVG.","description":"Build a vCard 3.0 contact card (RFC 2426 escaping of ; , \\ and newlines) and its QR code SVG.","tags":["vcard","qr","contact","payload"],"parameters":[{"name":"fn","in":"query","required":true,"description":"Full display name, e.g. Jane Example","schema":{"type":"string"}},{"name":"given","in":"query","required":false,"description":"Given name (derived from fn if omitted)","schema":{"type":"string"}},{"name":"family","in":"query","required":false,"description":"Family name (derived from fn if omitted)","schema":{"type":"string"}},{"name":"org","in":"query","required":false,"description":"Organisation","schema":{"type":"string"}},{"name":"title","in":"query","required":false,"description":"Job title","schema":{"type":"string"}},{"name":"phone","in":"query","required":false,"description":"Phone number","schema":{"type":"string"}},{"name":"email","in":"query","required":false,"description":"Email address","schema":{"type":"string"}},{"name":"url","in":"query","required":false,"description":"Web address","schema":{"type":"string"}},{"name":"street","in":"query","required":false,"description":"Street address","schema":{"type":"string"}},{"name":"city","in":"query","required":false,"description":"City","schema":{"type":"string"}},{"name":"region","in":"query","required":false,"description":"State or region","schema":{"type":"string"}},{"name":"postal","in":"query","required":false,"description":"Postal code","schema":{"type":"string"}},{"name":"country","in":"query","required":false,"description":"Country","schema":{"type":"string"}},{"name":"note","in":"query","required":false,"description":"Free-text note (up to 200 characters)","schema":{"type":"string"}},{"name":"ec","in":"query","required":false,"description":"QR error correction L, M, Q or H (default M)","schema":{"type":"string"}},{"name":"border","in":"query","required":false,"description":"QR quiet zone in modules, 0 to 10 (default 4)","schema":{"type":"integer"}},{"name":"scale","in":"query","required":false,"description":"Pixels per module, 1 to 20 (default 0: scalable)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"payload":{"type":["null","string"]},"svg":{"type":["null","string"]},"version":{"type":["null","number"]},"ecLevel":{"type":["null","string"]},"mode":{"type":["null","string"]},"modules":{"type":["null","number"]},"maskPattern":{"type":["null","number"]},"quietZoneModules":{"type":["null","number"]},"characters":{"type":["null","number"]},"encodedUnits":{"type":["null","number"]},"dataCodewords":{"type":["null","number"]},"errorCorrectionCodewords":{"type":["null","number"]},"penaltyScore":{"type":["null","number"]},"svgBytes":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"BUILT","summary":"vCard 3.0 for \"Jane Example\" (5 fields) and a version 8 QR code.","reasons":["Lines are separated by CRLF as RFC 2426 requires; ; , \\ and newlines inside values are escaped."],"payload":"BEGIN:VCARD\r\nVERSION:3.0\r\nN:Example;Jane;;;\r\nFN:Jane Example\r\nORG:Example Co\r\nTEL;TYPE=CELL:+1 555 0100\r\nEMAIL;TYPE=INTERNET:jane@example.com\r\nEND:VCARD","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 57 57\" shape-rendering=\"crispEdges\"><rect width=\"57\" height=\"57\" fill=\"#ffffff\"/><path fill=\"#000000\" d=\"M4 4h7v1h-7zM12 4h5v1h-5zM21 4h1v1h-1zM23 …","version":8,"ecLevel":"M","mode":"byte","modules":49,"maskPattern":6,"quietZoneModules":4,"characters":152,"encodedUnits":152,"dataCodewords":154,"errorCorrectionCodewords":88,"penaltyScore":1643,"svgBytes":8512,"degraded":false,"notChecked":["that the phone, email or URL are real or correctly formatted","RFC 2426 75-octet line folding (lines are not folded; scanners accept long lines)","…1 more"],"source":"computed locally","asOf":"2026-10-21T00:45:42.231Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/vcard-qr-payload"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/vcard-qr-payload"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/vcard-qr-payload"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/vcard-qr-payload"}}]}}},"/wifi-qr-payload":{"get":{"operationId":"wifi_qr_payload","summary":"Build the standard WIFI: join string (ZXing/Android escaping of ; , : \\ and quotes) and its QR code SVG.","description":"Build the standard WIFI: join string (ZXing/Android escaping of ; , : \\ and quotes) and its QR code SVG.","tags":["wifi","qr","payload","svg"],"parameters":[{"name":"ssid","in":"query","required":true,"description":"Network name (SSID), up to 32 characters","schema":{"type":"string"}},{"name":"password","in":"query","required":false,"description":"Network password (omit for an open network)","schema":{"type":"string"}},{"name":"auth","in":"query","required":false,"description":"WPA (default with a password), WEP, SAE (WPA3) or nopass","schema":{"type":"string"}},{"name":"hidden","in":"query","required":false,"description":"true if the network does not broadcast its name","schema":{"type":"string"}},{"name":"ec","in":"query","required":false,"description":"QR error correction L, M, Q or H (default M)","schema":{"type":"string"}},{"name":"border","in":"query","required":false,"description":"QR quiet zone in modules, 0 to 10 (default 4)","schema":{"type":"integer"}},{"name":"scale","in":"query","required":false,"description":"Pixels per module, 1 to 20 (default 0: scalable)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"payload":{"type":["null","string"]},"authType":{"type":["null","string"]},"hidden":{"type":["boolean","null"]},"svg":{"type":["null","string"]},"version":{"type":["null","number"]},"ecLevel":{"type":["null","string"]},"mode":{"type":["null","string"]},"modules":{"type":["null","number"]},"maskPattern":{"type":["null","number"]},"quietZoneModules":{"type":["null","number"]},"characters":{"type":["null","number"]},"encodedUnits":{"type":["null","number"]},"dataCodewords":{"type":["null","number"]},"errorCorrectionCodewords":{"type":["null","number"]},"penaltyScore":{"type":["null","number"]},"svgBytes":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"BUILT","summary":"Wi-Fi join payload for \"CafeGuest\" (WPA) and a version 4 QR code.","reasons":["Characters \\ ; , : and \" are escaped with a backslash; an all-hex SSID or password is wrapped in quotes so it is read as text."],"payload":"WIFI:T:WPA;S:CafeGuest;P:example-pass-123;;","authType":"WPA","hidden":false,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 41 41\" shape-rendering=\"crispEdges\"><rect width=\"41\" height=\"41\" fill=\"#ffffff\"/><path fill=\"#000000\" d=\"M4 4h7v1h-7zM12 4h1v1h-1zM14 4h1v1h-1zM17 …","version":4,"ecLevel":"M","mode":"byte","modules":33,"maskPattern":6,"quietZoneModules":4,"characters":43,"encodedUnits":43,"dataCodewords":64,"errorCorrectionCodewords":36,"penaltyScore":752,"svgBytes":4217,"degraded":false,"notChecked":["that the network exists or the password is right","that every phone model reads the WIFI: format (iOS 11+ and Android 10+ camera apps do; older readers may not)","…1 more"],"source":"computed locally","asOf":"2026-10-21T00:45:42.494Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/wifi-qr-payload"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/wifi-qr-payload"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/wifi-qr-payload"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://barcode-qr.x402tookit.com/wifi-qr-payload"}}]}}}}}