# Sketchfab Scraper - 3D Model Dataset, Licenses, Face Counts (`snow_leo_data/sketchfab-scraper`) Actor

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.

- **URL**: https://apify.com/snow_leo_data/sketchfab-scraper.md
- **Developed by:** [Snow Leo Data](https://apify.com/snow_leo_data) (community)
- **Categories:** For creators, Open source, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 3d models

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Sketchfab Scraper - 3D Model Dataset & Sketchfab API

Collect Sketchfab 3D model metadata at dataset scale: name, author, license
with its terms split into columns, face and vertex counts, animation, file
formats with their sizes, texture resolution, views, likes, downloads,
publish date, tags, categories and thumbnails. No account, no API key, no
browser.

**The number that matters: one Sketchfab search stops at 10,008 models.**
This Actor goes past it. Measured in the Apify cloud with one input -
Cars & Vehicles, downloadable, CC Attribution - a single run collected
25,707 unique models, all of them CC Attribution: 2.57 times what any one
search can show, and more than 51 times the 500-row maximum of both other
Sketchfab Actors in the Store.

Model files are never downloaded and never linked for download. Every row
carries the model's license in its own columns, so a dataset can be cut down
to exactly what its licenses allow before anything is fetched.

#### What you get

- **Search mode** - Sketchfab's own search with every filter it has: words,
  categories, tags, licenses, author, downloadable, animated, staff picks,
  face-count range, publish window, sort order. Several licenses, categories
  or tags in one run, merged without duplicates.
- **Model cards mode** - the full card for each model link or id you paste,
  including legacy 27-character ids and embed links.
- **Author profiles mode** - one row per author: followers, model count,
  likes, collections, country, website, social handles, skills, join date.
- **Monitor** - `onlyNewModels` returns only models published since the
  previous run of the same search. Built for schedules.
- **Named empty results** - a run that delivers nothing says why, in the log
  and in the REPORT row. There are 12 named reasons; 5
  of them are caught from the input alone, before a single request.

#### How the 10,008 cap is bypassed

Sketchfab's search pages with an offset cursor, 24 models per page. The last
cursor it ever hands out is 9984, so a search can show 10,008 models and not
one more - measured again in the cloud on the very input above: the page at
cursor 9960 points to 9984, and the page at 9984 points nowhere.

1. **Face-count slices.** The search accepts `min_face_count` and
   `max_face_count`, both inclusive. One request tells whether a slice holds
   more than the cap (its page at cursor 9960 still points onward). A full
   slice is split in two and probed again until every slice fits; the input
   above needed 19 probes and 10 slices. A slice that cannot be split any more -
   one exact face count holding more than 10,008 models - is walked once per
   sort order. Slices are walked newest first, because Sketchfab's relevance
   order is not stable across hundreds of pages.
2. **The catalogue feed, for queries without words.** `/v3/models` sorted by
   publish date pages with a keyset cursor, and a cursor built for any date
   works, so the Actor cuts the years since 2012 into windows. The feed has a
   rate quota of its own, separate from search, so when search refuses a
   wordless query the run carries on through the feed and skips every model
   already delivered. The feed ignores the license and face-count filters, so
   on this route those two are checked on every row, and the REPORT row counts
   what they dropped under `filtered_out` (632 rows in the measurement).

The bypass switches on only when you ask for more rows than the cap
(`maxItems` 0 or above 10,008) and the query really holds more. Small runs
keep Sketchfab's own order untouched.

#### Speed, and the one real limit of this source

Sketchfab throttles each address, and each endpoint separately:

- the catalogue feed refused after 200 requests in every cloud run that
  reached it, whether the pace was 100 or 33 requests a minute - a count, not
  a speed;
- search took 1,010 requests in the measured run before it refused for good.

So the Actor keeps a gentle pace - one feed request every 0.3 seconds, one
search request every 0.3 seconds - and when Sketchfab refuses, it waits and
retries. If Sketchfab still refuses after three back-off pauses, the run keeps
every row already delivered, stops asking, and says so in the log and in the
REPORT row (`stopped_early`). The measured run took 12 minutes, most of them
the search walk.

What that means for you: one run delivers on the order of 25,707 rows from a
single large query. For a whole large category, split the job into several
runs (by license, category or face-count range) rather than one giant run.
`includeDetails` adds one request per row, and Sketchfab's per-address
quotas are counted in hundreds of requests, so it suits hundreds of rows,
not tens of thousands.

#### Input example: a CC dataset of low-poly vehicles

```json
{
  "searchQuery": "",
  "categories": ["cars-vehicles"],
  "licenses": ["by", "cc0"],
  "downloadableOnly": true,
  "maxFaceCount": 20000,
  "maxItems": 0
}
```

#### Input example: watch an author for new uploads

```json
{
  "searchQuery": "",
  "licenses": [],
  "downloadableOnly": false,
  "author": "https://sketchfab.com/studiolab.dev",
  "onlyNewModels": true,
  "maxItems": 0
}
```

#### Input reference

- `mode` - `search`, `models` or `authors`.
- `searchQuery` (default `low poly car`) - words, as typed on sketchfab.com.
  Empty means browse by filters alone.
- `licenses` (default `by`, `cc0`) - any of `by`, `by-sa`, `by-nd`, `by-nc`,
  `by-nc-sa`, `by-nc-nd`, `cc0`, `free-st`, `st`, `ed`.
- `categories` - any of Sketchfab's 18 categories.
- `tags` - tag slugs.
- `author` - username or profile link.
- `downloadableOnly` (default on), `animatedOnly`, `staffPickedOnly`.
- `minFaceCount`, `maxFaceCount` - 0 means no bound.
- `publishedWithinDays` - 1, 7 or 31. Sketchfab rejects every other number
  with HTTP 400, so the Actor offers only those.
- `sortBy` - relevance, likes, views, newest, oldest.
- `maxItems` (default 50) - counts DELIVERED rows: not models read, not
  requests, not duplicates removed. 0 means no limit.
- `bypassResultCap` (default on).
- `includeDetails` - download count, store price, texture, material and
  sound counts, PBR type, last update, protection flag.
- `includeAuthorProfile` - author followers, model count, country, join date,
  website on every model row.
- `onlyNewModels` - monitor mode.
- `modelUrls`, `authors` - for the two list modes.
- `compact` - drop empty fields.

#### Output

A model row has 51 fields, 62 with `includeDetails`, 67 with
`includeAuthorProfile` as well. An author row has 25 fields. The last row
of every dataset is a REPORT row with the counts of the run: requests per
endpoint, rows delivered, duplicates skipped, rows filtered out and why, the
route each query took (`search`, `face-slices`, `face-slices+feed`,
`search+feed`, or `feed` in monitor mode), refused answers.

License columns on every model row: `license_slug`, `license_label`,
`license_full_name`, `license_requirements` (Sketchfab's own text),
`license_url`, `license_commercial_use`, `license_derivatives_allowed`,
`license_share_alike`, `license_attribution_required`,
`license_is_creative_commons`. The permission flags are a plain reading of
Sketchfab's own requirement text for each license, not legal advice.

Format columns: `archive_formats`, `glb_size_bytes`, `gltf_size_bytes`,
`usdz_size_bytes`, `source_size_bytes`, `glb_texture_count`,
`gltf_texture_count`, `texture_max_resolution`.

#### How complete the fields are

Measured on 480 model rows (a relevance search for "chair" plus the newest
downloadable models):

- face count, vertex count, thumbnail and downloadable flag: 100%
- license: 456 of 480 (95.0%); every one of the 430 downloadable models in
  the sample had one (430 of 430)
- archive formats and GLB size: 458 (95.4%)
- tags: 376 (78.3%), categories: 368 (76.7%)
- texture resolution: 309 (64.4%)
- with `includeDetails`, download count on 48 of 48 cards; a store price on
  13 of 48, which is the share of store items in that sample, not a gap

#### Compared with the other Sketchfab Actors

| | crawlerbros/sketchfab-scraper | coolinbex/sketchfab-asset-scraper | this Actor |
| --- | --- | --- | --- |
| Rows per run, maximum | 500 | 500 | no fixed maximum; one measured run: 25,707 |
| Past the 10,008 cap | no | no | yes |
| Fields per model | 41 | 19 | 51 to 67 |
| Licenses per run | 1 | no license filter | any number |
| License terms as columns | no | no | yes |
| Formats and file sizes | no | no | yes |
| Author profiles | no | no | yes |
| Monitor for new models | no | no | yes |

Where they are ahead: crawlerbros has a `riggedOnly` filter, which we could
not verify on the source and did not ship; coolinbex returns download links
when you paste your own Sketchfab token, which this Actor deliberately does
not do. The full line-by-line comparison is kept with the source.

#### Named empty results

When a run delivers nothing, the REPORT row carries `empty_reason`:

- `no-model-given`, `no-author-given`, `all-inputs-invalid`,
  `face-count-range-is-empty`, `charge-limit-reached` - decided from the
  input, before any request;
- `no-model-matches-the-filters`, `nothing-new-since-last-run`,
  `nothing-found-for-the-ids`, `source-rejected-a-filter`,
  `author-not-found`, `rate-limited`, `source-unreachable` - after asking
  Sketchfab.

#### Honest limitations

- **Per-run volume is set by Sketchfab, not by memory.** Its per-address
  quotas end a run at roughly the size measured above (25,707 rows); split
  bigger jobs into several runs.
- **Details are expensive.** `includeDetails` costs one request per row, and
  whether card requests share the feed's quota of 200 was not measured.
- **Feed route and face counts.** A model whose face count Sketchfab has not
  computed cannot be shown to fall inside a face range, so with a face range
  set on the feed route it is left out.
- **Search order past the cap.** When slices are walked, rows come slice by
  slice; they are not globally sorted.
- **No files.** No model file, texture or download link is ever fetched.
- **No proxy.** The Actor talks to Sketchfab directly from the run's address.

#### FAQ

**Do I need a Sketchfab account or token?** No. Every endpoint used is public.

**Can I build a training set of only commercially usable models?** Pick the
licenses you accept in `licenses`, or keep all and filter on
`license_commercial_use` and `license_derivatives_allowed` afterwards. Read
each license's own terms; the columns summarise them.

**Why does `maxItems` count delivered rows?** Because that is what you pay
for. Duplicates removed across licenses and rows dropped by a filter are
never counted and never charged.

**Why did my run stop before `maxItems`?** Sketchfab refused further
requests from the run's address. Every row already delivered is kept and the
REPORT row says `stopped_early`. Start the rest as a separate run.

**What is `found_via`?** The exact query, slice or feed window a row came
from, so any row can be traced back to the request that produced it.

# Actor input Schema

## `mode` (type: `string`):

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.

## `searchQuery` (type: `string`):

Words to search for, as typed on sketchfab.com. Leave empty to browse the whole catalogue through the filters alone.

## `licenses` (type: `array`):

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".

## `categories` (type: `array`):

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".

## `tags` (type: `array`):

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.

## `author` (type: `string`):

A username or a profile link (sketchfab.com/<username>). Leave empty for all authors.

## `downloadableOnly` (type: `boolean`):

Only models their authors made downloadable. Model files are never downloaded by this Actor; you get metadata and links.

## `animatedOnly` (type: `boolean`):

Only models with at least one animation.

## `staffPickedOnly` (type: `boolean`):

Only models picked by Sketchfab editors.

## `minFaceCount` (type: `integer`):

Only models with at least this many faces (polygons). 0 means no minimum.

## `maxFaceCount` (type: `integer`):

Only models with at most this many faces - useful for low-poly and mobile assets. 0 means no maximum.

## `publishedWithinDays` (type: `string`):

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.

## `sortBy` (type: `string`):

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.

## `maxItems` (type: `integer`):

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.

## `bypassResultCap` (type: `boolean`):

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.

## `includeDetails` (type: `boolean`):

One extra request per model for download count, store price, texture count, material count, sound count, PBR type, last update and protection flag.

## `includeAuthorProfile` (type: `boolean`):

Followers, model count, country, join date and website of each author. One request per distinct author, cached within the run.

## `onlyNewModels` (type: `boolean`):

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.

## `modelUrls` (type: `array`):

For the Model cards mode: sketchfab.com/3d-models/... links, embed links, or ids (32 hex characters, or the older 27-character ids).

## `authors` (type: `array`):

For the Author profiles mode: usernames or sketchfab.com/<username> links.

## `compact` (type: `boolean`):

Drop empty fields from every row. Handy for AI agents and small payloads.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "low poly car",
  "licenses": [
    "by",
    "cc0"
  ],
  "categories": [],
  "tags": [],
  "author": "",
  "downloadableOnly": true,
  "animatedOnly": false,
  "staffPickedOnly": false,
  "minFaceCount": 0,
  "maxFaceCount": 0,
  "publishedWithinDays": "",
  "sortBy": "relevance",
  "maxItems": 50,
  "bypassResultCap": true,
  "includeDetails": false,
  "includeAuthorProfile": false,
  "onlyNewModels": false,
  "modelUrls": [],
  "authors": [],
  "compact": false
}
```

# Actor output Schema

## `results` (type: `string`):

All collected rows

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "searchQuery": "low poly car",
    "licenses": [
        "by",
        "cc0"
    ],
    "downloadableOnly": true,
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("snow_leo_data/sketchfab-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "searchQuery": "low poly car",
    "licenses": [
        "by",
        "cc0",
    ],
    "downloadableOnly": True,
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("snow_leo_data/sketchfab-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchQuery": "low poly car",
  "licenses": [
    "by",
    "cc0"
  ],
  "downloadableOnly": true,
  "maxItems": 50
}' |
apify call snow_leo_data/sketchfab-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,snow_leo_data/sketchfab-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/KII8mhBer35bxLtFT/builds/1dovPld5Kv4LlX7JQ/openapi.json
