{
  "openapi": "3.0.1",
  "info": {
    "title": "QR Code & Barcode Generator: Bulk PNG, SVG, PDF Codes",
    "description": "QR code generator and barcode generator for bulk lists: QR (URL, WiFi, vCard, email, SMS, geo, text) and Code 128, Code 39, EAN-13, EAN-8, UPC-A, ISBN-13, ITF to PNG, SVG or PDF. Colors, logo, size, check digits validated, signed download links.",
    "version": "0.1",
    "x-build-id": "zP2Uvy9cCTUD4mnJz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data-done-right~qr-code-barcode-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data-done-right-qr-code-barcode-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/data-done-right~qr-code-barcode-generator/runs": {
      "post": {
        "operationId": "runs-sync-data-done-right-qr-code-barcode-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/data-done-right~qr-code-barcode-generator/run-sync": {
      "post": {
        "operationId": "run-sync-data-done-right-qr-code-barcode-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "title": "Codes to generate",
            "type": "array",
            "description": "One entry per code. Each entry is an object with type and value, for example {\"type\": \"url\", \"value\": \"https://example.com\"}. Types: url, text, wifi, vcard, email, phone, sms, geo (QR codes) and code128, code39, ean13, ean8, upca, isbn13, itf, itf14 (barcodes). Structured QR types take their fields in data, for example {\"type\": \"wifi\", \"data\": {\"ssid\": \"Cafe\", \"password\": \"secret\"}}. Plain text entries use the default type. Optional per entry: format, fileName, foregroundColor, backgroundColor."
          },
          "defaultType": {
            "title": "Default type",
            "enum": [
              "text",
              "url",
              "email",
              "phone",
              "code128",
              "code39",
              "ean13",
              "ean8",
              "upca",
              "isbn13",
              "itf"
            ],
            "type": "string",
            "description": "Type used for entries that are just a text value (no type). Example: url.",
            "default": "text"
          },
          "format": {
            "title": "Output format",
            "enum": [
              "png",
              "svg",
              "pdf"
            ],
            "type": "string",
            "description": "File format for every code (an entry can override it). PNG for screens and print, SVG for scalable vector art, PDF for documents. Example: svg.",
            "default": "png"
          },
          "errorCorrection": {
            "title": "QR error correction",
            "enum": [
              "L",
              "M",
              "Q",
              "H"
            ],
            "type": "string",
            "description": "How much damage a QR code survives. L 7%, M 15%, Q 25%, H 30%. Higher makes a denser code. A logo forces H. Example: Q.",
            "default": "M"
          },
          "boxSize": {
            "title": "Box size (px)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Pixels per QR module (each little square). Bigger gives a larger image. Example: 10.",
            "default": 10
          },
          "border": {
            "title": "Border (modules)",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Quiet zone around the QR code, in modules. Scanners need at least 4. Example: 4.",
            "default": 4
          },
          "foregroundColor": {
            "title": "Foreground color",
            "type": "string",
            "description": "Color of the dark squares or bars. Hex. Keep it dark on a light background so it scans. Example: #000000.",
            "default": "#000000"
          },
          "backgroundColor": {
            "title": "Background color",
            "type": "string",
            "description": "Background color. Hex. Example: #ffffff.",
            "default": "#ffffff"
          },
          "logoUrl": {
            "title": "Logo image URL (QR only)",
            "type": "string",
            "description": "Optional. Direct link to a PNG, JPG or WebP logo that is placed in the center of every QR code. Error correction is raised to H. Example: https://example.com/logo.png."
          },
          "logoSizePercent": {
            "title": "Logo size (%)",
            "minimum": 5,
            "maximum": 30,
            "type": "integer",
            "description": "Logo width as a percent of the QR code (5 to 30). Over 25 may stop codes from scanning. Example: 20.",
            "default": 20
          },
          "moduleWidth": {
            "title": "Bar width (px)",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Width of the thinnest bar of a barcode in pixels. Bigger gives a larger image. Example: 3.",
            "default": 3
          },
          "barHeight": {
            "title": "Bar height (px)",
            "minimum": 20,
            "maximum": 600,
            "type": "integer",
            "description": "Height of the bars in pixels, without the text line. Example: 100.",
            "default": 100
          },
          "quietZone": {
            "title": "Quiet zone (modules)",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Empty space left and right of a barcode, in bar widths. Scanners need about 10. Example: 10.",
            "default": 10
          },
          "showText": {
            "title": "Human-readable text",
            "type": "boolean",
            "description": "Print the digits or characters under the barcode.",
            "default": true
          },
          "autoCheckDigit": {
            "title": "Add missing check digit",
            "type": "boolean",
            "description": "EAN-13, EAN-8, UPC-A, ISBN-13 and ITF-14 values without their check digit (12, 7, 11, 12, 13 digits) get it computed. When off, only complete values are accepted. A wrong check digit is always reported as an error.",
            "default": true
          },
          "code39Checksum": {
            "title": "Code 39 check character",
            "type": "boolean",
            "description": "Add the optional modulo-43 check character to Code 39 barcodes. Code 128 always includes its own check automatically.",
            "default": false
          },
          "maxItems": {
            "title": "Max codes",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Most codes generated in this run. Entries beyond this are skipped and not charged. Example: 100.",
            "default": 100
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}