{
  "openapi": "3.0.1",
  "info": {
    "title": "Image DPI & Size Checker: Adobe Stock, Redbubble, Merch, KDP",
    "description": "Image DPI and size checker before you upload: pass/fail against Adobe Stock, Shutterstock, Alamy, Amazon Merch on Demand, Redbubble and KDP rules, with fixes, print-size DPI table, AI-metadata flags and a KDP cover size calculator. Every rule cites its public source page.",
    "version": "1.0",
    "x-build-id": "zo3DMCWY6Fj5goZtj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wooden_scanner_c1n~print-stock-preflight/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wooden_scanner_c1n-print-stock-preflight",
        "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/wooden_scanner_c1n~print-stock-preflight/runs": {
      "post": {
        "operationId": "runs-sync-wooden_scanner_c1n-print-stock-preflight",
        "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/wooden_scanner_c1n~print-stock-preflight/run-sync": {
      "post": {
        "operationId": "run-sync-wooden_scanner_c1n-print-stock-preflight",
        "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",
        "properties": {
          "imageUrls": {
            "title": "Image URLs",
            "type": "array",
            "description": "Direct links to the image files (JPEG, PNG, TIFF, WebP). One per line. Files are streamed and capped at 'Max file size'; nothing is stored.",
            "items": {
              "type": "string"
            }
          },
          "platforms": {
            "title": "Platforms to check",
            "type": "array",
            "description": "Which platforms' rules to apply. Leave empty for all except the KDP paperback cover (which is added automatically when you fill in the KDP fields below).",
            "items": {
              "type": "string",
              "enum": [
                "adobe_stock",
                "shutterstock",
                "alamy",
                "merch_on_demand",
                "redbubble",
                "kdp_ebook_cover",
                "kdp_paperback_cover"
              ],
              "enumTitles": [
                "Adobe Stock (photos & illustrations)",
                "Shutterstock (images)",
                "Alamy (stock images)",
                "Amazon Merch on Demand",
                "Redbubble",
                "Amazon KDP eBook cover",
                "Amazon KDP paperback cover (needs trim size + page count)"
              ]
            },
            "default": [
              "adobe_stock",
              "shutterstock",
              "alamy",
              "merch_on_demand",
              "redbubble",
              "kdp_ebook_cover"
            ]
          },
          "merchProducts": {
            "title": "Merch on Demand products",
            "type": "array",
            "description": "Limit the per-product fit table to these Merch products. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "standard_apparel",
                "hoodie_front_crop",
                "youth_hoodie_front",
                "youth_hoodie_back",
                "performance_polo_backpack",
                "crossbody_bag",
                "hats",
                "popsockets",
                "iphone_case",
                "tote_throw_pillow",
                "throw_blanket",
                "sherpa_blanket",
                "tumbler_bottle",
                "travel_tumbler_40oz",
                "mug",
                "hardcover_journal",
                "pens_12pack",
                "mousepad",
                "laptop_sleeve_13",
                "laptop_sleeve_15",
                "poster_8x10",
                "poster_16x20"
              ],
              "enumTitles": [
                "T-shirts, tank tops, long sleeves, crewneck sweatshirts, hoodie backs",
                "Crop tops, crop sweatshirts, pullover/zip hoodie fronts",
                "Youth hoodies - front",
                "Youth hoodies - back",
                "Performance polos, quarter-zips, soft shell jackets, sport backpacks",
                "Crossbody bags",
                "Printed baseball/trucker hats, sport sun visors",
                "PopSockets grips",
                "iPhone cases",
                "Tote bags, throw pillows",
                "Throw blankets (45x55 / 55x45 in)",
                "Sherpa blankets",
                "Tumblers, water bottles",
                "Travel tumblers (40 oz)",
                "Mugs",
                "Hardcover journals",
                "12-pack retractable pens",
                "Mousepads",
                "Laptop sleeve 13 in",
                "Laptop sleeve 15 in",
                "Poster 8x10 in",
                "Poster 16x20 in"
              ]
            }
          },
          "redbubbleProducts": {
            "title": "Redbubble products",
            "type": "array",
            "description": "Limit the per-product minimum-size table to these Redbubble products. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "other_apparel",
                "baseball_dad_hats",
                "bucket_hats",
                "premium_tshirt",
                "mens_graphic_tshirt",
                "pins",
                "socks",
                "a_line_dress",
                "sleeveless_top",
                "zipper_pouch",
                "aop_tote_small",
                "aop_tote_medium",
                "aop_tote_large",
                "cotton_tote",
                "magsafe_phone_case",
                "phone_case",
                "acrylic_block",
                "apron",
                "coaster",
                "jigsaw_puzzle",
                "magnet",
                "mug_standard",
                "mug_tall",
                "tapestry",
                "throw_blanket",
                "throw_pillow",
                "sticker_small",
                "sticker_medium",
                "sticker_large",
                "sticker_xl",
                "greeting_card",
                "desk_mat",
                "hardcover_journal",
                "mouse_pad",
                "postcard",
                "spiral_notebook",
                "art_print",
                "framed_canvas_small",
                "framed_canvas_medium",
                "framed_canvas_large",
                "framed_canvas_xl",
                "photo_print_small",
                "photo_print_medium",
                "photo_print_large",
                "photo_print_xl",
                "poster_xs",
                "poster_small",
                "poster_medium",
                "poster_large"
              ],
              "enumTitles": [
                "Other apparel (standard tees, hoodies...)",
                "Baseball caps & dad hats",
                "Bucket hats",
                "Premium T-shirts",
                "Men's graphic T-shirts",
                "Pins",
                "Socks",
                "Women's A-line dress",
                "Women's sleeveless tops",
                "Zipper pouches",
                "All-over-print tote - small",
                "All-over-print tote - medium",
                "All-over-print tote - large",
                "Cotton tote bags",
                "MagSafe phone cases",
                "Phone cases",
                "Acrylic blocks",
                "Aprons",
                "Coasters",
                "Jigsaw puzzles",
                "Magnets",
                "Mug - standard",
                "Mug - tall",
                "Tapestries",
                "Throw blankets",
                "Throw pillows",
                "Sticker - small",
                "Sticker - medium",
                "Sticker - large",
                "Sticker - extra large",
                "Greeting cards",
                "Desk mats",
                "Hardcover journals",
                "Mouse pads",
                "Postcards",
                "Spiral notebooks",
                "Art prints (all sizes up to XL)",
                "Framed print / canvas - small",
                "Framed print / canvas - medium",
                "Framed print / canvas - large",
                "Framed print / canvas - extra large",
                "Photographic print - small",
                "Photographic print - medium",
                "Photographic print - large",
                "Photographic print - extra large",
                "Poster - extra small",
                "Poster - small",
                "Poster - medium",
                "Poster - large"
              ]
            }
          },
          "printSizes": {
            "title": "Print sizes to test",
            "type": "array",
            "description": "Paper/photo sizes for the effective-DPI table (image orientation is matched automatically).",
            "items": {
              "type": "string",
              "enum": [
                "A6",
                "A5",
                "A4",
                "A3",
                "A2",
                "A1",
                "A0",
                "4x6in",
                "5x7in",
                "8x10in",
                "8.5x11in",
                "11x14in",
                "12x18in",
                "16x20in",
                "18x24in",
                "24x36in"
              ]
            },
            "default": [
              "A4",
              "A3",
              "A2",
              "4x6in",
              "5x7in",
              "8x10in",
              "11x14in",
              "16x20in",
              "18x24in",
              "24x36in"
            ]
          },
          "kdpTrimSize": {
            "title": "KDP trim size (paperback)",
            "enum": [
              "5x8",
              "5.06x7.81",
              "5.25x8",
              "5.5x8.5",
              "6x9",
              "6.14x9.21",
              "6.69x9.61",
              "7x10",
              "7.44x9.69",
              "7.5x9.25",
              "8x10",
              "8.25x6",
              "8.25x8.25",
              "8.5x8.5",
              "8.5x11",
              "8.27x11.69"
            ],
            "type": "string",
            "description": "Fill this and the page count to get the full-cover size (with spine and bleed) and to check your images against it."
          },
          "kdpPageCount": {
            "title": "KDP page count",
            "minimum": 1,
            "maximum": 900,
            "type": "integer",
            "description": "Interior page count. Must be within KDP's range for the trim size and paper."
          },
          "kdpPaperType": {
            "title": "KDP ink & paper",
            "enum": [
              "white",
              "cream",
              "standard_color",
              "premium_color"
            ],
            "type": "string",
            "description": "Sets the spine thickness per page (KDP's published formula).",
            "default": "white"
          },
          "maxFileSizeMB": {
            "title": "Max file size (MB)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Larger files are not downloaded and are reported (free) as errors. Hard cap 50 MB.",
            "default": 50
          },
          "maxImages": {
            "title": "Max images per run",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Safety cap on how many URLs are checked. You pay per image checked.",
            "default": 100
          },
          "pixelAnalysis": {
            "title": "Pixel analysis (transparency, trim margins, sharpness)",
            "type": "boolean",
            "description": "Turn off for header-only checks (faster on huge files).",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}