> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Poly Haven

> CC0 HDRIs, textures and 3D models from Poly Haven: list and search assets, read an asset's metadata and its downloadable files by resolution and format.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/polyhaven.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=b8135bc9b2c91b2ec3eb97a63dfc134b)

[Web Catalog · Media](https://docs.webrouter.net/data-apis.md?category=media)

No key needed

Endpoints

6

Auth

None

[Vendor docs](https://redocly.github.io/redoc/?url=https://api.polyhaven.com/api-docs/swagger.json\&nocors)

## Setup

| Variable | | What it is |
| - | - | - |
| `POLYHAVEN_USER_AGENT` | optional | A unique User-Agent naming your software, which Poly Haven's terms require on every call so it can group your app's requests; the default names WebRouter, so set your own with contact details for heavy use. Default `WebRouter (+https://github.com/Nimbleway/webrouter)`. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Free and keyless, including commercial use. The terms require a unique User-Agent (or Referer) naming your software on every call: set POLYHAVEN\_USER\_AGENT.
* Surfacing Poly Haven content through the live API requires a visible credit to Poly Haven in your product; the downloaded CC0 assets themselves need no attribution.
* Asset types are hdris, textures and models. Use search for relevance, then assets or info for metadata, then files for download URLs.

## Endpoints

GET

List assets

Every asset with its metadata, keyed by asset id, optionally filtered by type, category, collection or vault.

[Open](#polyhaven-assets-list)

GET

Search assets

Hybrid semantic and keyword search over asset metadata, in any language; returns the full ranked list of matching asset slugs.

[Open](#polyhaven-assets-search)

GET

Get an asset

Metadata of one asset.

[Open](#polyhaven-assets-get)

GET

List an asset's files

A tree of the asset's downloadable files, organized by resolution and file format.

[Open](#polyhaven-assets-files)

GET

Get the category taxonomy

The category tree and attribute schema for one asset type.

[Open](#polyhaven-taxonomy-get)

GET

Get an author

An author's name, links and, when available, email.

[Open](#polyhaven-authors-get)

### List assets

GET

`/assets`

`polyhaven.assets.list`

Every asset with its metadata, keyed by asset id, optionally filtered by type, category, collection or vault.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`type`</td><td>string</td><td>query</td><td>Asset type. One of `hdris`, `textures`, `models`, `all`</td></tr>

    <tr>
      <td>
        `category`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        A category path from the taxonomy, canonical ('Brick & Block/Clay Brick') or slug ('brick-block/clay-brick'); a parent includes its children.
      </td>
    </tr>

    <tr>
      <td>
        `categories`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        (Legacy) Comma-separated categories; an asset must match all of them.
      </td>
    </tr>

    <tr>
      <td>
        `collection`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only assets in this collection.
      </td>
    </tr>

    <tr>
      <td>
        `vault`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only assets in this vault.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://redocly.github.io/redoc/?url=https://api.polyhaven.com/api-docs/swagger.json\&nocors) · Same job: [ambientCG](https://docs.webrouter.net/data-apis/ambientcg.md#ambientcg-assets-search), [ccMixter](https://docs.webrouter.net/data-apis/ccmixter.md#ccmixter-uploads-search), [NASA Image and Video Library](https://docs.webrouter.net/data-apis/nasa-images.md#nasa-images-search), [Openverse](https://docs.webrouter.net/data-apis/openverse.md#openverse-images-search), [Pexels](https://docs.webrouter.net/data-apis/pexels.md#pexels-photos-search), [Sketchfab](https://docs.webrouter.net/data-apis/sketchfab.md#sketchfab-models-search)

```python Python theme={null}
router.call_data_api("polyhaven.assets.list")
```

```text MCP theme={null}
call_data_api(endpoint="polyhaven.assets.list")
```

> [!NOTE]
>
> * The docs list no paging parameters: the matching set comes back in one response.

### Search assets

GET

`/search`

`polyhaven.assets.search`

Hybrid semantic and keyword search over asset metadata, in any language; returns the full ranked list of matching asset slugs.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`q` required</td><td>string</td><td>query</td><td>The query; send it trimmed and lower-cased. Example `brick wall`</td></tr>
    <tr><td>`t`</td><td>string</td><td>query</td><td>Asset type. One of `hdris`, `textures`, `models`, `all`</td></tr>

    <tr>
      <td>
        `min`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Minimum similarity score; 0.35 by default, 0 returns every asset ranked.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Return at most this many results; total still reports the full count.
      </td>
    </tr>

    <tr>
      <td>
        `future`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include early-access assets not yet published.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://redocly.github.io/redoc/?url=https://api.polyhaven.com/api-docs/swagger.json\&nocors) · Same job: [ambientCG](https://docs.webrouter.net/data-apis/ambientcg.md#ambientcg-assets-search), [ccMixter](https://docs.webrouter.net/data-apis/ccmixter.md#ccmixter-uploads-search), [NASA Image and Video Library](https://docs.webrouter.net/data-apis/nasa-images.md#nasa-images-search), [Openverse](https://docs.webrouter.net/data-apis/openverse.md#openverse-images-search), [Pexels](https://docs.webrouter.net/data-apis/pexels.md#pexels-photos-search), [Sketchfab](https://docs.webrouter.net/data-apis/sketchfab.md#sketchfab-models-search)

```python Python theme={null}
router.call_data_api("polyhaven.assets.search", {'q': 'brick wall'})
```

```text MCP theme={null}
call_data_api(endpoint="polyhaven.assets.search", params={"q": "brick wall"})
```

> [!NOTE]
>
> * Returns slugs only: look up each slug's metadata with assets.list or assets.get.

### Get an asset

GET

`/info/{id}`

`polyhaven.assets.get`

Metadata of one asset.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The asset's unique id (slug).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://redocly.github.io/redoc/?url=https://api.polyhaven.com/api-docs/swagger.json\&nocors) · Same job: [NASA Image and Video Library](https://docs.webrouter.net/data-apis/nasa-images.md#nasa-images-asset), [Openverse](https://docs.webrouter.net/data-apis/openverse.md#openverse-images-get), [Pexels](https://docs.webrouter.net/data-apis/pexels.md#pexels-photos-get), [Sketchfab](https://docs.webrouter.net/data-apis/sketchfab.md#sketchfab-models-get), [Unsplash](https://docs.webrouter.net/data-apis/unsplash.md#unsplash-photos-get)

### List an asset's files

GET

`/files/{id}`

`polyhaven.assets.files`

A tree of the asset's downloadable files, organized by resolution and file format.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The asset's unique id (slug).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://redocly.github.io/redoc/?url=https://api.polyhaven.com/api-docs/swagger.json\&nocors)

### Get the category taxonomy

GET

`/taxonomy/{type}`

`polyhaven.taxonomy.get`

The category tree and attribute schema for one asset type.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`type` required</td><td>string</td><td>path</td><td>Asset type. One of `hdris`, `textures`, `models`</td></tr>
  </tbody>
</table>

[Vendor docs](https://redocly.github.io/redoc/?url=https://api.polyhaven.com/api-docs/swagger.json\&nocors) · Same job: [ambientCG](https://docs.webrouter.net/data-apis/ambientcg.md#ambientcg-categories-list), [Sketchfab](https://docs.webrouter.net/data-apis/sketchfab.md#sketchfab-categories-list)

### Get an author

GET

`/author/{id}`

`polyhaven.authors.get`

An author's name, links and, when available, email.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The author's unique id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://redocly.github.io/redoc/?url=https://api.polyhaven.com/api-docs/swagger.json\&nocors) · Same job: [NASA Image and Video Library](https://docs.webrouter.net/data-apis/nasa-images.md#nasa-images-asset), [Openverse](https://docs.webrouter.net/data-apis/openverse.md#openverse-images-get), [Pexels](https://docs.webrouter.net/data-apis/pexels.md#pexels-photos-get), [Sketchfab](https://docs.webrouter.net/data-apis/sketchfab.md#sketchfab-models-get), [Unsplash](https://docs.webrouter.net/data-apis/unsplash.md#unsplash-photos-get)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.