# Thingiverse — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and explore millions of 3D printable models on Thingiverse, view detailed information about designs including specifications and metadata, and discover trending tags to find popular printing categories. Quickly identify the best models for your projects by browsing comprehensive design details and analyzing what the community is printing most.

**Category:** Marketplaces | **Website:** [thingiverse.com/](https://thingiverse.com/) | **Docs:** [parse.bot/marketplace/194b685a-55bd-49fe-9a86-43d0d0cb78c2/thingiverse-com-api](https://parse.bot/marketplace/194b685a-55bd-49fe-9a86-43d0d0cb78c2/thingiverse-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-thingiverse-com-api-194b685a/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### aggregate_tag_counts

Aggregate tag usage frequency across a set of models from search results. Fetches detail pages for each model and counts tag occurrences. Useful for discovering trending tags in a topic area. Keep limit low for speed since it costs one detail fetch per model.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of models to process for tag aggregation (max 50). |
| `query` | string | No | Optional search query to limit aggregation to specific results. If empty, aggregates across popular models. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thingiverse-com-api-194b685a/aggregate_tag_counts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","query":"<string>"}'
```

### get_model_details

Retrieve full details for a single Thingiverse model (thing) by its numeric ID. Returns description HTML, tags, downloadable files with extracted file formats, license, and engagement counts. Costs one fetch per model.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `thing_id` | string | Yes | Numeric ID of the model (thing), e.g. '763622'. Obtainable from search_models results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thingiverse-com-api-194b685a/get_model_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"thing_id":"<string>"}'
```

### search_models

Full-text search over Thingiverse 3D model catalog. Results are paginated and sortable. Each hit includes basic model metadata (name, creator, engagement counts, thumbnail). For full details (description, tags, files), call the details navigation on a returned summary.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of results per page. |
| `query` | string | Yes | Search query keywords. |
| `sort` | string | No | Sort order for results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-thingiverse-com-api-194b685a/search_models \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","per_page":"<integer>","query":"<string>","sort":"<string>"}'
```
