{
  "x402Version": 2,
  "id": 13417,
  "slug": "13417",
  "resource": "https://qr-generator.pdfextractapi.workers.dev/generate",
  "description": "Generate a QR code as SVG from any text or URL.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA0AC44BECC6302298f01ed255B175ca1060C189E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "data": "https://example.com",
            "error_correction": "M"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": "https://example.com",
            "data_uri": "data:image/svg+xml;base64,...",
            "svg": "<svg ...>...</svg>"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "data": {
                    "description": "Text or URL to encode, max 2000 characters.",
                    "type": "string"
                  },
                  "error_correction": {
                    "description": "Error correction level, default M.",
                    "enum": [
                      "L",
                      "M",
                      "Q",
                      "H"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "data"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "qr-generator.pdfextractapi.workers.dev",
  "lastUpdated": "2026-09-14T20:01:06.709Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-14T20:01:06.074Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "qr-generator.pdfextractapi.workers.dev",
    "manifest_name": "qr-generator.pdfextractapi.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}