{
  "x402Version": 2,
  "id": 12907,
  "slug": "12907",
  "resource": "https://qr-api-production-1836.up.railway.app/generate/batch",
  "description": "Generate up to 20 QR codes in one call; returns a per-item record with QR metadata and the base64 PNG, or an error per item.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "items": [
              {
                "data": "https://payapi.market",
                "label": "home"
              },
              {
                "data": "https://payapi.market/docs",
                "label": "docs"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "results": [
              {
                "back_color": "#ffffff",
                "border": 4,
                "box_size": 10,
                "data": "https://payapi.market",
                "error_correction": "M",
                "fill_color": "#000000",
                "format": "png",
                "height": 330,
                "image_base64": "iVBORw0KGgoAAAANSUhEUgAAASIAAAEiCAYAAABdvt+2AAAABmJLR0QA/wD/AP+gvaeTAAAF...",
                "index": 0,
                "label": "home",
                "modules": 25,
                "size_bytes": 512,
                "version": 2,
                "width": 330
              },
              {
                "back_color": "#ffffff",
                "border": 4,
                "box_size": 10,
                "data": "https://payapi.market/docs",
                "error_correction": "M",
                "fill_color": "#000000",
                "format": "png",
                "height": 330,
                "image_base64": "iVBORw0KGgoAAAANSUhEUgAAASIAAAEiCAYAAABdvt+2AAAABmJLR0QA/wD/AP+gvaeTAAAF...",
                "index": 1,
                "label": "docs",
                "modules": 25,
                "size_bytes": 548,
                "version": 2,
                "width": 330
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "items": {
                    "description": "Up to 20 items, each with 'data' (text/URL to encode) and an optional 'label'.",
                    "items": {
                      "properties": {
                        "data": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "data"
                      ],
                      "type": "object"
                    },
                    "maxItems": 20,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "count": {
                    "description": "Number of items processed.",
                    "type": "integer"
                  },
                  "results": {
                    "description": "Per-item records; each carries index, label, data, QR meta, and image_base64 (or an error field).",
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "qr-api-production-1836.up.railway.app",
  "lastUpdated": "2026-08-28T17:41:40.474Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-28T17:42:02.216Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "qr-api-production-1836.up.railway.app",
    "manifest_name": "qr-api-production-1836.up.railway.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}