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

# MorphoSource

> MorphoSource, a public repository of 3D and 2D scientific media of biological specimens and cultural heritage objects: search media and physical objects, read their metadata, and get download links.

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

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

Key optional

Endpoints

6

Auth

Key in header

[Vendor docs](https://morphosource.stoplight.io/docs/morphosource-api/rm6bqdolcidct-morpho-source-rest-api)

## Setup

| Variable | | What it is |
| - | - | - |
| `MORPHOSOURCE_API_KEY` | some calls | Optional API key of a MorphoSource account, sent as the raw Authorization header; needed for downloads, private records you can access and project-manager statistics. |

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

## Notes

* Searching and reading published records is keyless; a key adds private records the account may view.
* Search results are paged: page from 1, per\_page 10 by default, at most 1000.
* Filters are facets named f.\<field> (f.taxonomy\_name, f.media\_type ...), with the same values as the website's search pages.
* Media and physical object ids are 9-digit strings, e.g. 000200043; keep the leading zeros.

## Endpoints

GET

Search media

Media records by free text and facets: media type, modality, taxonomy, organization, license, publication status.

[Open](#morphosource-media-search)

GET

Get a media record

Metadata of one media record.

[Open](#morphosource-media-get)

GET

Get a media file's metadata

Metadata of the file attached to a media record; an empty response when there is no file.

[Open](#morphosource-media-file-metadata)

GET

Search physical objects

Biological specimens and cultural heritage objects by free text and facets: object type, taxonomy, organization, creator, media type.

[Open](#morphosource-objects-search)

GET

Get a physical object

Metadata of one biological specimen or cultural heritage object.

[Open](#morphosource-objects-get)

GET

Search projects and teams

Projects and teams by free text, type and linked organization.

[Open](#morphosource-projects-search)

### Search media

GET

`/api/media`

`morphosource.media.search`

Media records by free text and facets: media type, modality, taxonomy, organization, license, publication status.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr><td>`q`</td><td>string</td><td>query</td><td>Free-text query; optional. Example `Puma concolor skull`</td></tr>
    <tr><td>`media_type`</td><td>string</td><td>query</td><td>Media type facet. Example `CT Image Series`</td></tr>
    <tr><td>`modality`</td><td>string</td><td>query</td><td>Modality facet. Example `MicroNanoXRayComputedTomography`</td></tr>
    <tr><td>`object_type`</td><td>string</td><td>query</td><td>Object type facet. Example `Biological Specimen`</td></tr>
    <tr><td>`taxonomy_name`</td><td>string</td><td>query</td><td>Taxon name facet. Example `Puma concolor`</td></tr>
    <tr><td>`taxonomy_gbif`</td><td>string</td><td>query</td><td>GBIF taxonomy facet. Example `Felidae`</td></tr>

    <tr>
      <td>
        `organization`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Organization facet.
      </td>
    </tr>

    <tr><td>`publication_status`</td><td>string</td><td>query</td><td>Publication status facet. Example `Open Download`</td></tr>
    <tr><td>`license`</td><td>string</td><td>query</td><td>Creative Commons license URL. Example `https://creativecommons.org/licenses/by-nc/4.0/`</td></tr>

    <tr>
      <td>
        `tag`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Tag facet.
      </td>
    </tr>

    <tr>
      <td>
        `project`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Project containing the media.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>

    <tr>
      <td>
        `per_page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page; 10 by default, at most 1000.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://morphosource.stoplight.io/docs/morphosource-api/2d534286cca2e-search-media-records)

```python Python theme={null}
router.call_data_api("morphosource.media.search", {'q': 'Puma concolor skull', 'media_type': 'CT Image Series', 'modality': 'MicroNanoXRayComputedTomography', 'object_type': 'Biological Specimen', 'taxonomy_name': 'Puma concolor', 'taxonomy_gbif': 'Felidae', 'publication_status': 'Open Download', 'license': 'https://creativecommons.org/licenses/by-nc/4.0/'})
```

```text MCP theme={null}
call_data_api(endpoint="morphosource.media.search", params={"q": "Puma concolor skull", "media_type": "CT Image Series", "modality": "MicroNanoXRayComputedTomography", "object_type": "Biological Specimen", "taxonomy_name": "Puma concolor", "taxonomy_gbif": "Felidae", "publication_status": "Open Download", "license": "https://creativecommons.org/licenses/by-nc/4.0/"})
```

### Get a media record

GET

`/api/media/{media_id}`

`morphosource.media.get`

Metadata of one media record.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr><td>`media_id` required</td><td>string</td><td>path</td><td>9-digit media id. Example `000200043`</td></tr>
  </tbody>
</table>

[Vendor docs](https://morphosource.stoplight.io/docs/morphosource-api/b474e3d7c2ccc-get-individual-media-record)

```python Python theme={null}
router.call_data_api("morphosource.media.get", {'media_id': '000200043'})
```

```text MCP theme={null}
call_data_api(endpoint="morphosource.media.get", params={"media_id": "000200043"})
```

> [!NOTE]
>
> * A private record without a key (or one the key cannot view) answers 404.

### Get a media file's metadata

GET

`/api/media/{media_id}/file-metadata`

`morphosource.media.file_metadata`

Metadata of the file attached to a media record; an empty response when there is no file.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `media_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        9-digit media id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://morphosource.stoplight.io/docs/morphosource-api/c7dcuud1iq44q-get-individual-media-file-metadata)

### Search physical objects

GET

`/api/physical-objects`

`morphosource.objects.search`

Biological specimens and cultural heritage objects by free text and facets: object type, taxonomy, organization, creator, media type.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Free-text query; optional.
      </td>
    </tr>

    <tr><td>`object_type`</td><td>string</td><td>query</td><td>Object type facet. Example `Biological Specimen`</td></tr>

    <tr>
      <td>
        `taxonomy_name`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Taxon name facet.
      </td>
    </tr>

    <tr>
      <td>
        `taxonomy_gbif`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        GBIF taxonomy facet.
      </td>
    </tr>

    <tr>
      <td>
        `organization`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Organization facet.
      </td>
    </tr>

    <tr>
      <td>
        `creator`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Collector or creator facet.
      </td>
    </tr>

    <tr>
      <td>
        `media_type`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Type of the object's media.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>

    <tr>
      <td>
        `per_page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page; 10 by default, at most 1000.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://morphosource.stoplight.io/docs/morphosource-api/2da44118dab34-search-physical-object-records)

```python Python theme={null}
router.call_data_api("morphosource.objects.search", {'object_type': 'Biological Specimen'})
```

```text MCP theme={null}
call_data_api(endpoint="morphosource.objects.search", params={"object_type": "Biological Specimen"})
```

### Get a physical object

GET

`/api/physical-objects/{physical_object_id}`

`morphosource.objects.get`

Metadata of one biological specimen or cultural heritage object.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr><td>`physical_object_id` required</td><td>string</td><td>path</td><td>9-digit physical object id. Example `000200025`</td></tr>
  </tbody>
</table>

[Vendor docs](https://morphosource.stoplight.io/docs/morphosource-api/aea3fb04ec708-get-individual-physical-object-record)

```python Python theme={null}
router.call_data_api("morphosource.objects.get", {'physical_object_id': '000200025'})
```

```text MCP theme={null}
call_data_api(endpoint="morphosource.objects.get", params={"physical_object_id": "000200025"})
```

### Search projects and teams

GET

`/api/projects`

`morphosource.projects.search`

Projects and teams by free text, type and linked organization.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Free-text query; optional.
      </td>
    </tr>

    <tr>
      <td>
        `type`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Project or Team.
      </td>
    </tr>

    <tr>
      <td>
        `organization`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Linked organization.
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>

    <tr>
      <td>
        `per_page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results per page; 10 by default, at most 1000.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://morphosource.stoplight.io/docs/morphosource-api/01a98fbf58a8b-search-project-or-team-records)

```python Python theme={null}
router.call_data_api("morphosource.projects.search")
```

```text MCP theme={null}
call_data_api(endpoint="morphosource.projects.search")
```


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