# Qr Code Generator — REST API endpoint `qr-code-generator`

Generate a QR code as an SVG file, the same file the QR Code Generator page downloads. Encode a URL or text; for Wi-Fi send WIFI:T:WPA;S:<network>;P:<password>;; and for a contact a vCard (BEGIN:VCARD … END:VCARD). Choose the size, margin, colours and error correction (L, M, Q, H).

- Category: generators
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, API key for tools/call, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/qr-code-generator/execute (API key, 60 req/min per IP)
- API key: Running a tool needs an API key. Keys are not for sale yet: ask for early access. Without a key, a tool call answers HTTP 402 Payment Required with the error code PAYMENT_REQUIRED. The catalog and the schemas stay open without a key. https://findutils.com/api/#api-keys
- Reference page: https://findutils.com/api/qr-code-generator/
- Same tool on the other surface: https://findutils.com/mcp/qr-code-generator/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/qr-code-generator/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "https://findutils.com/",
    "size": 256
  }'

# Parameter schema (no key needed)
curl https://api.findutils.com/api/tools/qr-code-generator
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `text` | string | yes | What to encode: a URL, text, a WIFI: string or a vCard. |
| `size` | integer | no | Width and height of the SVG in pixels, 64-2048. Default 300. Default: `300`. |
| `margin` | integer | no | Light modules around the code, 0-10. Scanners need at least 2. Default 2. Default: `2`. |
| `dark` | string | no | Colour of the dark modules, #rgb or #rrggbb. Default #000000. Default: `"#000000"`. |
| `light` | string | no | Background colour, #rgb, #rrggbb or #rrggbbaa (00 alpha for transparent). Default #ffffff. Default: `"#ffffff"`. |
| `error_correction` | string (L \| M \| Q \| H) | no | How much damage the code survives: L 7%, M 15%, Q 25%, H 30%. Higher makes a denser code. Default M. Default: `"M"`. |

Example arguments (verified):

```json
{
  "text": "https://findutils.com/",
  "size": 256
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/ --header "Authorization: Bearer YOUR_API_KEY"
```

Then ask the client to call `findutils:qr_code_generator`. Full MCP reference: https://findutils.com/mcp/qr-code-generator/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
