Skip to content
OSINTtools.io

Mapillary API

Crowdsourced street-level imagery platform, owned by Meta, covering many places Google Street View does not.

Base URL
https://graph.mapillary.com
Sign-in
API key
Format
REST
Endpoints
6

Compiled by OSINTtools.io editors from mapillary.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Mapillary API v4 returns metadata about street-level images, image sequences, map features (points and traffic signs), detections and organizations, and serves vector tiles of coverage. An investigator can use it to find photos taken near a place or by a given contributor, with capture time, camera, compass angle and thumbnail URLs.

Metadata calls go to https://graph.mapillary.com, tiles to https://tiles.mapillary.com. Fields must be requested explicitly with fields=, for example fields=id,computed_geometry; sub-fields use dot notation. Authenticate with an access token as ?access_token= or an Authorization: OAuth header; client tokens come from the Mapillary developer dashboard. Vector tiles and the OAuth flow are documented but not covered here.

Quick start

  1. Get a key

    Create an account with Mapillary and copy your api key. Where to get it

  2. Make your first request

    Search images by bounding box, creator, time range, sequence or organization.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://graph.mapillary.com/images?fields=id%2Ccaptured_at%2Ccomputed_geometry%2Ccreator.username&access_token=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "data": [
        {
          "id": "100000000000001",
          "captured_at": 1700000000000,
          "computed_geometry": {
            "type": "Point",
            "coordinates": [
              2.352,
              48.856
            ]
          },
          "creator": {
            "username": "example_user",
            "id": "200000000000001"
          }
        }
      ]
    }

Authentication

Send your API key in the access_token query parameter of every request.

Client token from the developer dashboard, or an OAuth user token. An Authorization: OAuth header also works.

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Entity API: 60,000 requests per minute per app. Search API (/images with filters): 10,000 per minute per app. Tiles: 50,000 per day.

Errors

StatusMeaning
400Graph errors return JSON with an error code; code 4 / subcode 1349210 means Application request limit reached, retry later

Images

Returns {"data": [...]}. bbox must be under 0.01 degrees square. is_pano needs creator_username or bbox; make and model work only with bbox. Paging is supported only with creator_username.

Query parameters

fieldsstringrequired

Fields to return, comma-separated

Example: id,captured_at,computed_geometry,creator.username
bboxstring

left,bottom,right,top; under 0.01 degrees square

Example: 2.350,48.855,2.355,48.858
creator_usernamestringtakes your username

Contributor username

Example: example_user
start_captured_atstring

ISO 8601 start time

Example: 2024-01-01T00:00:00Z
end_captured_atstring

ISO 8601 end time

Example: 2024-12-31T23:59:59Z
sequence_idsstring

Comma-separated sequence IDs

Example: example_seq_1
organization_idinteger

Organization ID

Example: 1000
limitinteger

Default and max 2000

Default: 2000
Response fields · 4Show

idstring

Image ID

captured_atinteger

Capture time in milliseconds

computed_geometryobject

Computed location (GeoJSON point)

usernamestring

Contributor username

curl 'https://graph.mapillary.com/images?fields=id%2Ccaptured_at%2Ccomputed_geometry%2Ccreator.username&access_token=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "id": "100000000000001",
      "captured_at": 1700000000000,
      "computed_geometry": {
        "type": "Point",
        "coordinates": [
          2.352,
          48.856
        ]
      },
      "creator": {
        "username": "example_user",
        "id": "200000000000001"
      }
    }
  ]
}
  • Passive: the target is not contacted

lat and lng must be used together and cannot be combined with bbox, tile, s2, image_ids or sequence_ids. Returns the best image, ranked by proximity, recency and 360 degree preference.

Query parameters

fieldsstringrequired

Fields to return

Example: id,captured_at,thumb_1024_url
radiusnumber

Meters; default 50, max 50

Default: 50
limitinteger

Default 1, max 100

Default: 1
Response fields · 3Show

idstring

Image ID

captured_atinteger

Capture time in milliseconds

thumb_1024_urlstring

1024 px thumbnail URL

curl 'https://graph.mapillary.com/images?lat=48.856&lng=2.352&fields=id%2Ccaptured_at%2Cthumb_1024_url&access_token=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "id": "100000000000001",
      "captured_at": 1700000000000,
      "thumb_1024_url": "https://example.com/thumb_1024.jpg"
    }
  ]
}
  • Passive: the target is not contacted

Fields must be requested with fields=. Available fields include captured_at, compass_angle, computed_geometry, camera_type, make, model, creator, organization, sequence, is_pano, quality_score, width, height and thumb_256_url to thumb_2048_url.

Path parameters

image_idstringrequired

Image ID

Example: 100000000000001

Query parameters

fieldsstringrequired

Fields to return

Example: id,captured_at,camera_type,make,model,creator.username
Response fields · 6Show

idstring

Image ID

captured_atinteger

Capture time in milliseconds

camera_typestring

Camera type

makestring

Camera make

modelstring

Camera model

usernamestring

Contributor username

curl 'https://graph.mapillary.com/100000000000001?fields=id%2Ccaptured_at%2Ccamera_type%2Cmake%2Cmodel%2Ccreator.username&access_token=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "id": "100000000000001",
  "captured_at": 1700000000000,
  "camera_type": "perspective",
  "make": "ExampleCam",
  "model": "EX-1",
  "creator": {
    "username": "example_user"
  }
}

Sequences

  • Passive: the target is not contacted

The fields parameter is ignored.

Query parameters

sequence_idstringrequired

Sequence ID

Example: example_seq_1
Response fields · 1Show

idstring

Image ID in the sequence

curl 'https://graph.mapillary.com/image_ids?sequence_id=example_seq_1&access_token=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "id": "100000000000001"
    },
    {
      "id": "100000000000002"
    }
  ]
}

Map features

  • Passive: the target is not contacted

bbox must be under 0.01 degrees square. object_values accepts wildcards. Returns {"data": [...]}.

Query parameters

fieldsstringrequired

Fields to return

Example: id,object_value,object_type,geometry,first_seen_at,last_seen_at
bboxstring

left,bottom,right,top; under 0.01 degrees square

Example: 2.350,48.855,2.355,48.858
object_valuesstring

Comma-separated values, wildcards supported

Example: object--street-light
start_first_seen_atstring

ISO 8601

Example: 2024-01-01T00:00:00Z
limitinteger

Default and max 2000

Default: 2000
Response fields · 5Show

idstring

Map feature ID

object_valuestring

Feature type value

object_typestring

point or traffic_sign

first_seen_atstring

ISO 8601 time first seen

last_seen_atstring

ISO 8601 time last seen

curl 'https://graph.mapillary.com/map_features?fields=id%2Cobject_value%2Cobject_type%2Cgeometry%2Cfirst_seen_at%2Clast_seen_at&access_token=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "id": "300000000000001",
      "object_value": "object--street-light",
      "object_type": "point",
      "first_seen_at": "2023-05-01T10:00:00+0000",
      "last_seen_at": "2024-02-01T10:00:00+0000"
    }
  ]
}

Detections

Objects detected in an image.

GET/{image_id}/detections

  • Passive: the target is not contacted

geometry is a base64-encoded MVT polygon with coordinates normalized by the extent 4096.

Path parameters

image_idstringrequired

Image ID

Example: 100000000000001

Query parameters

fieldsstringrequired

Fields to return

Example: id,value,created_at
Response fields · 3Show

idstring

Detection ID

valuestring

Detected object value

created_atstring

Creation time

curl 'https://graph.mapillary.com/100000000000001/detections?fields=id%2Cvalue%2Ccreated_at&access_token=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": [
    {
      "id": "400000000000001",
      "value": "object--street-light",
      "created_at": "2023-05-02T10:00:00+0000"
    }
  ]
}