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

# Mapillary

> Street-level imagery from Meta's Mapillary: find geotagged photos by area, point, sequence or creator, and map features (signs, objects) detected in them.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/_default.svg?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=951f11a0968af0d8747e234a1ec1f32c)

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

Needs&#x20;

`MAPILLARY_ACCESS_TOKEN`

Endpoints

6

Auth

Key in header

[Vendor docs](https://www.mapillary.com/developer/api-documentation)

## Setup

| Variable | | What it is |
| - | - | - |
| `MAPILLARY_ACCESS_TOKEN` | required | A Mapillary client access token (mapillary.com > Developers > register an application), sent as Authorization: OAuth \<token>. |

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

## Notes

* Name the fields you want: by default only id is returned (e.g. fields=id,captured\_at,computed\_geometry,thumb\_1024\_url).
* bbox is minLon,minLat,maxLon,maxLat and must be smaller than 0.01 degrees square.
* Thumbnail URLs expire; fetch them again rather than storing them.
* Rate limits per app: 60,000 entity and 10,000 search requests per minute.
* Detection geometry is a base64 vector-tile polygon in a 4096 extent: divide decoded coordinates by 4096.

## Endpoints

GET

Search images

Images in a small bounding box, near a point, in sequences or by a creator, with capture time and location.

[Open](#mapillary-images-search)

GET

Get an image

One image's capture time, camera, location, heading, sequence and thumbnail URLs.

[Open](#mapillary-image-get)

GET

List images in a sequence

The image ids of one capture sequence, in order.

[Open](#mapillary-sequence-images)

GET

Get detections in an image

Objects and signs detected in one image, with value and segmentation geometry.

[Open](#mapillary-image-detections)

GET

Search map features

Map features (traffic signs, objects) located from imagery in a small bounding box.

[Open](#mapillary-map-features-search)

GET

Get a map feature

One map feature's type, value, location and first/last seen dates.

[Open](#mapillary-map-feature-get)

### Search images

GET

`/images`

`mapillary.images.search`

Images in a small bounding box, near a point, in sequences or by a creator, with capture time and location.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr><td>`bbox`</td><td>string</td><td>query</td><td>minLon,minLat,maxLon,maxLat, under 0.01 degrees square. Example `12.967,55.597,12.971,55.600`</td></tr>

    <tr>
      <td>
        `lat`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Point search latitude (with lng and radius; not with bbox).
      </td>
    </tr>

    <tr>
      <td>
        `lng`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Point search longitude.
      </td>
    </tr>

    <tr>
      <td>
        `radius`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Meters around lat/lng, default and max 50.
      </td>
    </tr>

    <tr>
      <td>
        `creator_username`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only images by this user; the only filter that pages.
      </td>
    </tr>

    <tr>
      <td>
        `sequence_ids`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated sequence ids.
      </td>
    </tr>

    <tr>
      <td>
        `organization_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only images of this organization.
      </td>
    </tr>

    <tr>
      <td>
        `is_pano`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Panoramas only; needs creator\_username or bbox.
      </td>
    </tr>

    <tr>
      <td>
        `make`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Camera make; bbox only.
      </td>
    </tr>

    <tr>
      <td>
        `model`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Camera model; bbox only.
      </td>
    </tr>

    <tr>
      <td>
        `start_captured_at`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601 lower bound on capture time.
      </td>
    </tr>

    <tr>
      <td>
        `end_captured_at`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601 upper bound on capture time.
      </td>
    </tr>

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

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Default and max 2000 (point search: default 1, max 100).
      </td>
    </tr>

    <tr><td>`fields`</td><td>string</td><td>query</td><td>Comma-separated fields to return; only id comes back unless fields are named. Example `id,captured_at,compass_angle,computed_geometry,creator,is_pano,sequence,thumb_1024_url`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.mapillary.com/developer/api-documentation)

```python Python theme={null}
router.call_data_api("mapillary.images.search", {'bbox': '12.967,55.597,12.971,55.600', 'fields': 'id,captured_at,compass_angle,computed_geometry,creator,is_pano,sequence,thumb_1024_url'})
```

```text MCP theme={null}
call_data_api(endpoint="mapillary.images.search", params={"bbox": "12.967,55.597,12.971,55.600", "fields": "id,captured_at,compass_angle,computed_geometry,creator,is_pano,sequence,thumb_1024_url"})
```

### Get an image

GET

`/{image_id}`

`mapillary.image.get`

One image's capture time, camera, location, heading, sequence and thumbnail URLs.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `image_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Image id.
      </td>
    </tr>

    <tr><td>`fields`</td><td>string</td><td>query</td><td>Comma-separated fields to return; only id comes back unless fields are named. Example `id,captured_at,compass_angle,computed_geometry,creator,is_pano,sequence,thumb_1024_url`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.mapillary.com/developer/api-documentation)

### List images in a sequence

GET

`/image_ids`

`mapillary.sequence.images`

The image ids of one capture sequence, in order.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `sequence_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Sequence id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.mapillary.com/developer/api-documentation)

> [!NOTE]
>
> * Returns ids only; fields is ignored.

### Get detections in an image

GET

`/{image_id}/detections`

`mapillary.image.detections`

Objects and signs detected in one image, with value and segmentation geometry.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `image_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Image id.
      </td>
    </tr>

    <tr><td>`fields`</td><td>string</td><td>query</td><td>Comma-separated fields to return; only id comes back unless fields are named. Example `id,value,geometry,created_at`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.mapillary.com/developer/api-documentation)

### Search map features

GET

`/map_features`

`mapillary.map_features.search`

Map features (traffic signs, objects) located from imagery in a small bounding box.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `bbox`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        minLon,minLat,maxLon,maxLat, under 0.01 degrees square.
      </td>
    </tr>

    <tr>
      <td>
        `object_values`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated feature values, wildcards allowed (e.g. regulatory--stop--\*).
      </td>
    </tr>

    <tr>
      <td>
        `start_first_seen_at`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601.
      </td>
    </tr>

    <tr>
      <td>
        `end_first_seen_at`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601.
      </td>
    </tr>

    <tr>
      <td>
        `start_last_seen_at`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601.
      </td>
    </tr>

    <tr>
      <td>
        `end_last_seen_at`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601.
      </td>
    </tr>

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

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Default and max 2000.
      </td>
    </tr>

    <tr><td>`fields`</td><td>string</td><td>query</td><td>Comma-separated fields to return; only id comes back unless fields are named. Example `id,object_value,object_type,geometry,first_seen_at,last_seen_at`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.mapillary.com/developer/api-documentation)

### Get a map feature

GET

`/{map_feature_id}`

`mapillary.map_feature.get`

One map feature's type, value, location and first/last seen dates.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `map_feature_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Map feature id.
      </td>
    </tr>

    <tr><td>`fields`</td><td>string</td><td>query</td><td>Comma-separated fields to return; only id comes back unless fields are named. Example `id,object_value,object_type,geometry,images`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.mapillary.com/developer/api-documentation)


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