# ForgeKit QR Code Generator

> ForgeKit QR Code Generator is a paid API for AI agents from useforgekit.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Generates a QR code image (PNG or SVG) from any text or URL string, with optional size control

## Facts

- Endpoint: GET https://useforgekit.dev/api/v1/qr
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgekit-qr-code-generator-7835a2a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_55tNYbZAqmme60IA-q-iO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability forgekit-qr-code-generator-7835a2a9
```

Example prompt: Generate a QR code for https://myshop.com/checkout as a 300px PNG so I can paste it into my invoice template.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use QR code generation call without managing your own QR library or server infrastructure, especially in agentic workflows where you want to programmatically produce scannable codes from dynamic data (URLs, tokens, contact info) and retrieve PNG or SVG output in a single GET request.

## Known failure modes

- Missing 'data' query parameter returns a validation error
- Unsupported format value (not 'png' or 'svg') returns a 400 bad request
- Extremely long data strings may exceed QR encoding capacity and return an error
- Payment not provided or insufficient USDC triggers a 402 Payment Required response
- Network timeouts if the rendering service is temporarily unavailable

## How this service works

ForgeKit QR code generation

## Output

Returns a QR code image file in the requested format (PNG binary or SVG markup) encoding the supplied data string, rendered at the specified pixel size (defaults apply if size is omitted).

## Request schema (JSON Schema)

```json
{
 "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": [
      "data"
     ],
     "properties": {
      "data": {
       "type": "string"
      },
      "size": {
       "type": "number"
      },
      "format": {
       "enum": [
        "png",
        "svg"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgekit-qr-code-generator-7835a2a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from useforgekit.dev](https://www.zero.xyz/host/useforgekit.dev/llms.txt)
