{
  "openapi": "3.0.1",
  "info": {
    "title": "Printables 3D Model Scraper",
    "description": "Scrape Printables.com - Prusa's 3D-print model community. Search models, browse categories, fetch trending/popular feeds, list a designer's uploads, or pull full model detail (print settings, files, images, licence). HTTP-only via the public GraphQL API. No auth, no proxy.",
    "version": "1.0",
    "x-build-id": "9exlZgfYfDp0HUeJZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~printables-3d-model-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-printables-3d-model-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~printables-3d-model-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-printables-3d-model-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~printables-3d-model-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-printables-3d-model-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",
              "category",
              "trending",
              "byUser",
              "byCollection",
              "modelDetail"
            ],
            "type": "string",
            "description": "What to fetch. Note: `trending` and `byUser` use Printables' `morePrints` API, which has been observed to intermittently rate-limit or fully reject requests from cloud/datacenter IP ranges (including Apify's) regardless of retries, sometimes returning 0 results even though the same query works from a residential IP. `search` and `category` use a different, consistently reliable API and are recommended when guaranteed volume matters -- e.g. use `category` with `sortBy=trending` to browse a category by trending order instead of the sitewide `trending` mode.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text query (mode=search). Matches model name, description and tags.",
            "default": "3d benchy"
          },
          "categoryId": {
            "title": "Category",
            "enum": [
              "",
              "16",
              "1",
              "40",
              "36",
              "61",
              "138",
              "62",
              "13",
              "25",
              "89",
              "69",
              "136",
              "5",
              "6",
              "31",
              "37",
              "97",
              "92",
              "27",
              "77",
              "76",
              "135",
              "52",
              "93",
              "17",
              "21",
              "139",
              "98",
              "87",
              "75",
              "48",
              "44",
              "88",
              "3",
              "84",
              "4",
              "90",
              "7",
              "78",
              "94",
              "51",
              "99",
              "18",
              "104",
              "95",
              "29",
              "50",
              "96",
              "41",
              "80",
              "42",
              "43",
              "45",
              "82",
              "2",
              "85",
              "47",
              "53",
              "83",
              "34",
              "60",
              "57",
              "26",
              "91",
              "28",
              "81",
              "103",
              "134",
              "33",
              "64",
              "14",
              "65",
              "9",
              "68",
              "71",
              "101",
              "12",
              "49",
              "30",
              "38",
              "105",
              "100",
              "140",
              "137",
              "15",
              "70",
              "74",
              "20",
              "58"
            ],
            "type": "string",
            "description": "Restrict results to this category (mode=category required; optional filter for search). Not supported for mode=trending, mode=byUser, or mode=byCollection."
          },
          "designerHandleOrId": {
            "title": "Designer handle, profile URL, or numeric user ID",
            "type": "string",
            "description": "Whose models to list (mode=byUser). Accepts a handle (e.g. `Prusa3D`), a profile URL (e.g. `https://www.printables.com/@Prusa3D`), or a numeric user ID.",
            "default": "Prusa3D"
          },
          "modelUrlOrId": {
            "title": "Model URL or ID",
            "type": "string",
            "description": "The model to fetch (mode=modelDetail). Accepts a full URL (e.g. `https://www.printables.com/model/3161-3d-benchy`) or a bare numeric ID (e.g. `3161`).",
            "default": "https://www.printables.com/model/3161-3d-benchy"
          },
          "collectionUrlOrId": {
            "title": "Collection URL or ID",
            "type": "string",
            "description": "The collection to list models from (mode=byCollection). Accepts a full collection URL or a bare numeric collection ID. Example: `2687005` (a public \"Benchy\" collection).",
            "default": "2687005"
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "latest",
              "popular",
              "topRated",
              "mostDownloaded",
              "mostLiked",
              "mostPrinted",
              "mostViewed",
              "trending",
              "random"
            ],
            "type": "string",
            "description": "Result ordering. Not every value applies to every mode (e.g. `relevance` only fully applies to `search`; mode=byCollection maps to its own 7-value ordering) — the closest supported equivalent is used automatically.",
            "default": "popular"
          },
          "material": {
            "title": "Filament / resin material",
            "enum": [
              "",
              "1",
              "8",
              "3",
              "4",
              "2",
              "7",
              "16",
              "15",
              "14",
              "11",
              "12",
              "13",
              "5",
              "6",
              "9",
              "10",
              "49"
            ],
            "type": "string",
            "description": "Only include models whose recommended print material matches."
          },
          "printerId": {
            "title": "Printer",
            "enum": [
              "",
              "749",
              "620",
              "14",
              "1",
              "18",
              "761",
              "532",
              "23",
              "17",
              "336",
              "768",
              "496",
              "652",
              "711",
              "682",
              "784",
              "20",
              "293",
              "292",
              "534",
              "699",
              "102",
              "551",
              "95",
              "648",
              "649",
              "684",
              "747",
              "73",
              "77",
              "327",
              "319",
              "305",
              "670",
              "309",
              "645",
              "696",
              "246",
              "280",
              "279",
              "278",
              "478",
              "238",
              "697",
              "609",
              "668",
              "499",
              "282"
            ],
            "type": "string",
            "description": "Only include models tagged as designed/tested for this specific printer. Curated list of common current-generation printers (Printables tracks 600+ total; this covers the most searched-for ones). Not supported for mode=trending or mode=byUser (Printables' feed API silently ignores a printer filter there) — the actor re-checks it client-side in every mode so results are always correctly filtered."
          },
          "modelingApp": {
            "title": "Designed with (modeling app)",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "9",
              "10",
              "11",
              "12",
              "13",
              "14",
              "15",
              "16",
              "17",
              "19",
              "20"
            ],
            "type": "string",
            "description": "Only include models whose source files were authored in this modeling application. Not supported for mode=modelDetail (single-model lookup, filter has no effect)."
          },
          "fileType": {
            "title": "Print technology / sliced-file type",
            "enum": [
              "",
              "GCODE",
              "SLA",
              "NONE"
            ],
            "type": "string",
            "description": "Filter by print technology: models shipping G-code (FDM/FFF filament printers), SLA slice files (resin printers), or no pre-sliced files at all (source files only)."
          },
          "licenseType": {
            "title": "License",
            "enum": [
              "",
              "7",
              "1",
              "2",
              "8",
              "3",
              "4",
              "6",
              "9",
              "12",
              "10",
              "11",
              "13",
              "14",
              "15",
              "16",
              "17",
              "19",
              "20",
              "21",
              "22",
              "23",
              "18"
            ],
            "type": "string",
            "description": "Only include models published under this license."
          },
          "paidStatus": {
            "title": "Price filter",
            "enum": [
              "all",
              "free",
              "paid",
              "club",
              "priced"
            ],
            "type": "string",
            "description": "Filter by whether the model is free or paid.",
            "default": "all"
          },
          "aiGeneratedFilter": {
            "title": "AI-generated models",
            "enum": [
              "include",
              "exclude",
              "only"
            ],
            "type": "string",
            "description": "Include, exclude, or require AI-generated models.",
            "default": "include"
          },
          "minPrintDurationHours": {
            "title": "Min print duration (hours)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Drop models whose estimated print time is shorter than this many hours."
          },
          "maxPrintDurationHours": {
            "title": "Max print duration (hours)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Drop models whose estimated print time exceeds this many hours."
          },
          "minWeightGrams": {
            "title": "Min filament weight (grams)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop models whose estimated filament weight is lighter than this many grams."
          },
          "maxWeightGrams": {
            "title": "Max filament weight (grams)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop models whose estimated filament weight exceeds this many grams."
          },
          "publishedWithinDays": {
            "title": "Published within the last N days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Only include models first published within this many days. Not supported for mode=modelDetail (single-model lookup, filter has no effect)."
          },
          "hasMakesOnly": {
            "title": "Only models with at least one make",
            "type": "boolean",
            "description": "Only include models that at least one other user has printed and shared a photo of.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records. Reliably reached (verified up to the 1000 maximum) for `search`, `category`, `byCollection`, and `modelDetail` modes. `trending` and `byUser` modes may return fewer than requested -- including 0 -- on some runs due to upstream rate-limiting of their underlying API on cloud IP ranges; see the `mode` field description for a reliable alternative.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}