{
  "openapi": "3.0.1",
  "info": {
    "title": "Redbubble Scraper",
    "description": "Scrape Redbubble - a global print-on-demand marketplace for independent artists. Search products by keyword, browse a specific artist's shop, or fetch full product detail (price, tags, rating, artwork images) from a product URL.",
    "version": "1.0",
    "x-build-id": "uIRdch2k8h0pGsWdU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~redbubble-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-redbubble-scraper",
        "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/crawlerbros~redbubble-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-redbubble-scraper",
        "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/crawlerbros~redbubble-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-redbubble-scraper",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byArtist",
              "byProductUrl"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text keyword search (mode=search).",
            "default": "cat"
          },
          "category": {
            "title": "Product category",
            "enum": [
              "all-departments",
              "u-clothing",
              "w-dresses",
              "u-sweatshirts",
              "u-tees",
              "u-tanks",
              "kids-clothes",
              "k-pullover-hoodie",
              "k-tee-crew",
              "b-onesie-short",
              "u-phone-cases",
              "u-case-iphone",
              "u-case-samsung",
              "all-stickers",
              "u-prints",
              "u-print-board-gallery",
              "u-print-art",
              "u-print-canvas",
              "u-print-frame",
              "u-print-photo",
              "u-print-poster",
              "u-decor",
              "u-block-acrylic",
              "u-apron",
              "u-bath-mat",
              "u-bedding",
              "u-duvet",
              "u-blanket",
              "u-clock",
              "u-coasters",
              "u-jigsaw-puzzle",
              "u-die-cut-magnet",
              "u-mugs",
              "u-pillows",
              "u-shower-curtain",
              "u-print-tapestry",
              "u-stationery",
              "u-card-greeting",
              "u-notebook-hardcover",
              "all-mouse-pads",
              "u-card-post",
              "u-notebook-spiral",
              "u-accessories",
              "u-backpack",
              "u-duffle-bag",
              "all-hats",
              "u-bucket-hat",
              "all-caps",
              "u-pin-button",
              "w-scarf",
              "u-socks",
              "u-tech-accessories",
              "u-case-laptop-sleeve",
              "all-totes",
              "u-bag-studiopouch"
            ],
            "type": "string",
            "description": "Restrict results to a Redbubble product category (mode=search and mode=byArtist).",
            "default": "all-departments"
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "relevant",
              "trending",
              "recent",
              "top selling"
            ],
            "type": "string",
            "description": "Result ordering (mode=search and mode=byArtist).",
            "default": "relevant"
          },
          "medium": {
            "title": "Artwork medium",
            "enum": [
              "all",
              "design",
              "digital",
              "drawing",
              "painting",
              "photography"
            ],
            "type": "string",
            "description": "Restrict search results to a specific artwork medium/technique (mode=search).",
            "default": "all"
          },
          "style": {
            "title": "Product style (advanced)",
            "type": "string",
            "description": "Optional product-style filter code, e.g. `u-active-t-shirt` (Active) or `u-tee-boxy` (Boxy) within the T-Shirts category. Style codes are specific to each product category — open the desired category on redbubble.com/shop and check the \"Style\" filter sidebar for the codes available there. Ignored if the chosen category has no style variants (mode=search and mode=byArtist)."
          },
          "extraFilters": {
            "title": "Extra filters (advanced)",
            "type": "array",
            "description": "Optional raw `key=value` filter pairs for category-specific sidebar filters not covered by the fields above — e.g. `tShirtColor=tShirtColor-black`, `fit=fit-slim-fit`, `neckType=neckType-crew-neck`, `sleeveLength=sleeveLength-short-sleeve`, `tShirtSize=tShirtSize-m`, `priceFilter=price-low`. Each product category on redbubble.com/shop exposes its own set — open the desired category, apply a filter in the sidebar, and copy the resulting `key=value` pair from the URL. Ignored/dropped if malformed or if the key duplicates a dedicated field above (mode=search and mode=byArtist).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeMatureContent": {
            "title": "Include mature content",
            "type": "boolean",
            "description": "Include products tagged as mature/adult content in results (mode=search).",
            "default": false
          },
          "gender": {
            "title": "Gender (apparel only)",
            "enum": [
              "all",
              "gender-women",
              "gender-men"
            ],
            "type": "string",
            "description": "Restrict apparel results (t-shirts, hoodies, dresses, etc.) to a gender fit. Ignored for non-apparel categories such as stickers or mugs (mode=search and mode=byArtist).",
            "default": "all"
          },
          "artistUsernames": {
            "title": "Artist usernames (mode=byArtist)",
            "type": "array",
            "description": "Redbubble artist usernames, e.g. `blah707` (from redbubble.com/people/<username>/shop).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product URLs (mode=byProductUrl)",
            "type": "array",
            "description": "Full Redbubble product page URLs, e.g. `https://www.redbubble.com/i/sticker/Title-by-artist/12345.ABCDE`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Drop products cheaper than this (after any discount), in USD."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Drop products more expensive than this (after any discount), in USD."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Requests are made directly first; this free Apify datacenter proxy is only engaged automatically as a fallback if Redbubble blocks the actor's IP.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}