Google Maps Platform Street View API

The Street View API API from Google Maps Platform — 2 operation(s) for street view api.

Operations 2

GET /maps/api/streetview Street view #
GET /maps/api/streetview/metadata Street view metadata #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-maps:google-maps-street-view-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-maps-street-view-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Maps Platform Street View API
  description: API Specification for Google Maps Platform
  version: 1.22.3
servers:
- url: https://www.googleapis.com
security:
- ApiKeyAuth: []
tags:
- name: Street View API
paths:
  /maps/api/streetview:
    get:
      operationId: streetView
      servers:
      - url: https://maps.googleapis.com
      tags:
      - Street View API
      description: The Street View Static API lets you embed a static (non-interactive) Street View panorama or thumbnail into your web page, without the use of JavaScript. The viewport is defined with URL parameters sent through a standard HTTP request, and is returned as a static image.
      parameters:
      - $ref: '#/components/parameters/streetview_fov'
      - $ref: '#/components/parameters/streetview_heading'
      - $ref: '#/components/parameters/streetview_location'
      - $ref: '#/components/parameters/streetview_pano'
      - $ref: '#/components/parameters/streetview_pitch'
      - $ref: '#/components/parameters/streetview_radius'
      - $ref: '#/components/parameters/streetview_return_error_code'
      - $ref: '#/components/parameters/streetview_signature'
      - $ref: '#/components/parameters/streetview_size'
      - $ref: '#/components/parameters/streetview_source'
      responses:
        '200':
          description: 200 OK
          content:
            image/*:
              schema:
                type: string
                format: binary
      summary: Street view
      x-summary-source: derived
  /maps/api/streetview/metadata:
    get:
      operationId: streetViewMetadata
      servers:
      - url: https://maps.googleapis.com
      tags:
      - Street View API
      description: The Street View Static API metadata requests provide data about Street View panoramas. Using the metadata, you can find out if a Street View image is available at a given location, as well as getting programmatic access to the latitude and longitude, the panorama ID, the date the photo was taken, and the copyright information for the image. Accessing this metadata allows you to customize error behavior in your application.
      parameters:
      - $ref: '#/components/parameters/streetview_heading'
      - $ref: '#/components/parameters/streetview_location'
      - $ref: '#/components/parameters/streetview_pano'
      - $ref: '#/components/parameters/streetview_pitch'
      - $ref: '#/components/parameters/streetview_radius'
      - $ref: '#/components/parameters/streetview_return_error_code'
      - $ref: '#/components/parameters/streetview_signature'
      - $ref: '#/components/parameters/streetview_size_optional'
      - $ref: '#/components/parameters/streetview_source'
      responses:
        '200':
          description: 200 OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StreetViewResponse'
              examples:
                default:
                  value:
                    copyright: © Google
                    date: 2014-04
                    location:
                      lat: 46.41434210086409
                      lng: 10.01400595356193
                    pano_id: vPnURflnc8AZu5NMLYRddw
                    status: OK
      summary: Street view metadata
      x-summary-source: derived
components:
  parameters:
    streetview_source:
      name: source
      description: 'Limits Street View searches to selected sources. Valid values are:

        * `default` uses the default sources for Street View; searches are not limited to specific sources.

        * `outdoor` limits searches to outdoor collections. Indoor collections are not included in search results. Note that outdoor panoramas may not exist for the specified location. Also note that the search only returns panoramas where it''s possible to determine whether they''re indoors or outdoors. For example, PhotoSpheres are not returned because it''s unknown whether they are indoors or outdoors.

        '
      schema:
        type: string
        enum:
        - default
        - outdoor
      in: query
    streetview_location:
      name: location
      description: 'The point around which to retrieve place information. The Street View Static API will snap to the panorama photographed closest to this location. When an address text string is provided, the API may use a different camera location to better display the specified location. When a lat/lng is provided, the API searches a 50 meter radius for a photograph closest to this location. Because Street View imagery is periodically refreshed, and photographs may be taken from slightly different positions each time, it''s possible that your `location` may snap to a different panorama when imagery is updated.

        '
      schema:
        type: string
      in: query
      examples:
        latlng:
          value: 40,-110
        text:
          value: Chagrin Falls, OH
    streetview_fov:
      name: fov
      description: 'Determines the horizontal field of view of the image. The field of view is expressed in degrees, with a maximum allowed value of 120. When dealing with a fixed-size viewport, as with a Street View image of a set size, field of view in essence represents zoom, with smaller numbers indicating a higher level of zoom. Default is 90.

        '
      schema:
        type: number
      in: query
    streetview_pitch:
      name: pitch
      description: 'Specifies the up or down angle of the camera relative to the Street View vehicle. This is often, but not always, flat horizontal. Positive values angle the camera up (with 90 degrees indicating straight up); negative values angle the camera down (with -90 indicating straight down). Default is 0.

        '
      schema:
        type: number
      in: query
    streetview_pano:
      name: pano
      description: 'A specific panorama ID. These are generally stable, though panoramas may change ID over time as imagery is refreshed.

        '
      schema:
        type: string
      in: query
    streetview_size_optional:
      name: size
      description: 'Specifies the output size of the image in pixels. Size is specified as `{width}x{height}` - for example, `size=600x400` returns an image 600 pixels wide, and 400 high.

        '
      schema:
        type: string
      in: query
    streetview_size:
      name: size
      description: 'Specifies the output size of the image in pixels. Size is specified as `{width}x{height}` - for example, `size=600x400` returns an image 600 pixels wide, and 400 high.

        '
      schema:
        type: string
      in: query
      required: true
    streetview_heading:
      name: heading
      description: 'Indicates the compass heading of the camera. Accepted values are from 0 to 360 (both values indicating North, with 90 indicating East, and 180 South). If no heading is specified, a value will be calculated that directs the camera towards the specified location, from the point at which the closest photograph was taken.

        '
      schema:
        type: number
      in: query
    streetview_radius:
      name: radius
      description: 'Sets a radius, specified in meters, in which to search for a panorama, centered on the given latitude and longitude. Valid values are non-negative integers. Default is 50 meters.

        '
      schema:
        type: number
      in: query
    streetview_return_error_code:
      name: return_error_code
      description: 'Indicates whether the API should return a non `200 Ok` HTTP status when no image is found (`404 NOT FOUND`), or in response to an invalid request (400 BAD REQUEST). Valid values are `true` and `false`. If set to `true`, an error message is returned in place of the generic gray image. This eliminates the need to make a separate call to check for image availability.

        '
      schema:
        type: boolean
      in: query
    streetview_signature:
      name: signature
      description: 'A digital signature used to verify that any site generating requests using your API key is authorized to do so. Requests that do not include a digital signature might fail. For more information, see [Get a Key and Signature](https://developers.google.com/maps/documentation/streetview/get-api-key).

        '
      schema:
        type: string
      in: query
  schemas:
    StreetViewStatus:
      type: string
      title: StreetViewStatus
      description: 'The `status` field within the Streetview Metadata response object contains the status of the request. The `status` field may contain the following values:


        - `OK` indicates that no errors occurred; a panorama is found and metadata is returned.

        - `INVALID_REQUEST` indicates that the request was malformed.

        - `NOT_FOUND` indicates that the address string provided in the `location` parameter could not be found. This may occur if a non-existent address is given.

        - `ZERO_RESULTS` indicates that no panorama could be found near the provided location. This may occur if a non-existent or invalid `pano` id is given.

        - `OVER_QUERY_LIMIT` indicates the requestor has exceeded quota.

        - `REQUEST_DENIED` indicates that your request was denied. This may occur if you did not [authorize](https://developers.google.com/maps/documentation/streetview/get-api-key) your request, or if the Street View Static API is not activated in the Google Cloud Console project containing your API key.

        - `UNKNOWN_ERROR` indicates that the request could not be processed due to a server error. This is often a temporary status. The request may succeed if you try again

        '
      enum:
      - OK
      - INVALID_REQUEST
      - NOT_FOUND
      - ZERO_RESULTS
      - OVER_QUERY_LIMIT
      - REQUEST_DENIED
      - UNKNOWN_ERROR
    LatLngLiteral:
      type: object
      title: LatLngLiteral
      description: An object describing a specific location with Latitude and Longitude in decimal degrees.
      required:
      - lat
      - lng
      properties:
        lat:
          type: number
          description: Latitude in decimal degrees
        lng:
          type: number
          description: Longitude in decimal degrees
    StreetViewResponse:
      type: object
      title: StreetViewResponse
      required:
      - status
      properties:
        copyright:
          description: An array of snapped points.
          type: string
        date:
          description: A string indicating year and month that the panorama was captured.
          type: string
        location:
          description: The location of the panorama.
          $ref: '#/components/schemas/LatLngLiteral'
        pano_id:
          description: A specific panorama ID. These are generally stable, though panoramas may change ID over time as imagery is refreshed.
          type: string
          example: tu510ie_z4ptBZYo2BGEJg
        status:
          description: The status of the request.
          $ref: '#/components/schemas/StreetViewStatus'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: key