{
  "openapi": "3.0.1",
  "info": {
    "title": "Sketchfab Scraper - 3D Model Dataset, Licenses, Face Counts",
    "description": "Sketchfab scraper past the 10,008-result search cap: one run collected 25,707 CC-BY 3D models for one query. License terms as columns, face counts, formats, views, likes, author profiles, monitor mode. Metadata only, no API key.",
    "version": "0.1",
    "x-build-id": "1dovPld5Kv4LlX7JQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/snow_leo_data~sketchfab-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-snow_leo_data-sketchfab-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/snow_leo_data~sketchfab-scraper/runs": {
      "post": {
        "operationId": "runs-sync-snow_leo_data-sketchfab-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/snow_leo_data~sketchfab-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-snow_leo_data-sketchfab-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",
        "properties": {
          "mode": {
            "title": "What to collect",
            "type": "string",
            "description": "Search walks Sketchfab's own search with every filter below. Model cards returns the full card for each link or id you paste. Author profiles returns one profile row per username. Spellings such as \"Search\", \"model\", \"user\" or \"artists\" are understood too.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Words to search for, as typed on sketchfab.com. Leave empty to browse the whole catalogue through the filters alone."
          },
          "licenses": {
            "title": "Licenses",
            "type": "array",
            "description": "Only models under these licenses. Every row also carries the license in its own columns (slug, full terms, commercial use, derivatives, attribution) so you can filter later. Sketchfab takes one license per query, so each license you pick is a separate query and duplicates are removed. You can also write them as you would say them: \"CC BY\", \"CC0\", \"free\", \"commercial use\", \"non-commercial\".",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "by",
                "by-sa",
                "by-nd",
                "by-nc",
                "by-nc-sa",
                "by-nc-nd",
                "cc0",
                "free-st",
                "st",
                "ed"
              ],
              "enumTitles": [
                "CC Attribution (downloadable, commercial use allowed)",
                "CC Attribution-ShareAlike (downloadable, commercial use allowed)",
                "CC Attribution-NoDerivs",
                "CC Attribution-NonCommercial",
                "CC Attribution-NonCommercial-ShareAlike",
                "CC Attribution-NonCommercial-NoDerivs",
                "CC0 Public Domain (downloadable, commercial use allowed)",
                "Free Standard",
                "Standard",
                "Editorial"
              ]
            },
            "default": [
              "by",
              "cc0"
            ]
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Sketchfab's 18 top-level categories. Each one is a separate query; a model in two picked categories is delivered once. Everyday words work too: \"cars\", \"vehicles\", \"characters\", \"furniture\", \"weapons\".",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "animals-pets",
                "architecture",
                "art-abstract",
                "cars-vehicles",
                "characters-creatures",
                "cultural-heritage-history",
                "electronics-gadgets",
                "fashion-style",
                "food-drink",
                "furniture-home",
                "music",
                "nature-plants",
                "news-politics",
                "people",
                "places-travel",
                "science-technology",
                "sports-fitness",
                "weapons-military"
              ],
              "enumTitles": [
                "Animals & Pets",
                "Architecture",
                "Art & Abstract",
                "Cars & Vehicles",
                "Characters & Creatures",
                "Cultural Heritage & History",
                "Electronics & Gadgets",
                "Fashion & Style",
                "Food & Drink",
                "Furniture & Home",
                "Music",
                "Nature & Plants",
                "News & Politics",
                "People",
                "Places & Travel",
                "Science & Technology",
                "Sports & Fitness",
                "Weapons & Military"
              ]
            },
            "default": []
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Tag slugs as in sketchfab.com/tags/<tag>, for example lowpoly, pbr, game-ready. Each tag is a separate query; results are merged without duplicates.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "author": {
            "title": "Only models by this author",
            "type": "string",
            "description": "A username or a profile link (sketchfab.com/<username>). Leave empty for all authors.",
            "default": ""
          },
          "downloadableOnly": {
            "title": "Downloadable models only",
            "type": "boolean",
            "description": "Only models their authors made downloadable. Model files are never downloaded by this Actor; you get metadata and links.",
            "default": true
          },
          "animatedOnly": {
            "title": "Animated models only",
            "type": "boolean",
            "description": "Only models with at least one animation.",
            "default": false
          },
          "staffPickedOnly": {
            "title": "Staff picks only",
            "type": "boolean",
            "description": "Only models picked by Sketchfab editors.",
            "default": false
          },
          "minFaceCount": {
            "title": "Minimum face count",
            "minimum": 0,
            "type": "integer",
            "description": "Only models with at least this many faces (polygons). 0 means no minimum.",
            "default": 0
          },
          "maxFaceCount": {
            "title": "Maximum face count",
            "minimum": 0,
            "type": "integer",
            "description": "Only models with at most this many faces - useful for low-poly and mobile assets. 0 means no maximum.",
            "default": 0
          },
          "publishedWithinDays": {
            "title": "Published within",
            "type": "string",
            "description": "Sketchfab accepts exactly these three windows and rejects any other number. Sketchfab filters by 1, 7 or 31 days only; \"day\", \"week\", \"month\", \"last month\" or 30 are understood and a number between the steps is rounded up to the next one.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "Order of Sketchfab's own search. When the result cap is bypassed, rows come slice by slice and are not globally sorted. Words such as \"most liked\", \"popular\", \"recent\" or \"most viewed\" are understood too.",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Maximum rows to deliver",
            "minimum": 0,
            "type": "integer",
            "description": "Counts DELIVERED rows in your dataset - not models read, not requests, not duplicates removed. You are never charged for more rows than this. 0 means no limit.",
            "default": 50
          },
          "bypassResultCap": {
            "title": "Go past Sketchfab's 10,008-result cap",
            "type": "boolean",
            "description": "One Sketchfab search stops at 10,008 models. When a search holds more and you ask for more, the Actor cuts it into face-count slices that each fit under the cap and walks them all. Costs one extra request per slice probe.",
            "default": true
          },
          "includeDetails": {
            "title": "Add the full model card",
            "type": "boolean",
            "description": "One extra request per model for download count, store price, texture count, material count, sound count, PBR type, last update and protection flag.",
            "default": false
          },
          "includeAuthorProfile": {
            "title": "Add author profile columns",
            "type": "boolean",
            "description": "Followers, model count, country, join date and website of each author. One request per distinct author, cached within the run.",
            "default": false
          },
          "onlyNewModels": {
            "title": "Only models new since the last run",
            "type": "boolean",
            "description": "For schedules: remembers the newest publish time delivered for this exact search and returns only models published after it. The first run returns the newest models up to the row limit. A run with nothing new ends with a named reason and charges nothing.",
            "default": false
          },
          "modelUrls": {
            "title": "Model links or ids",
            "type": "array",
            "description": "For the Model cards mode: sketchfab.com/3d-models/... links, embed links, or ids (32 hex characters, or the older 27-character ids).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "authors": {
            "title": "Authors",
            "type": "array",
            "description": "For the Author profiles mode: usernames or sketchfab.com/<username> links.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "compact": {
            "title": "Compact rows",
            "type": "boolean",
            "description": "Drop empty fields from every row. Handy for AI agents and small payloads.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}