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-publish-photos-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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Street View Publish API Photos Street View Publish Photos…
version: v1
description: Generated from Google's published Discovery document for Street View Publish API (streetviewpublish v1, revision 20261110). 4 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://streetviewpublish.googleapis.com
tags:
- name: Street View Publish Photos
paths:
/v1/photos:batchGet:
get:
operationId: streetviewpublish.photos.batchGet
summary: Batch get photos
description: Gets the metadata of the specified Photo batch. Note that if BatchGetPhotos fails, either critical fields are missing or there is an authentication error. Even if BatchGetPhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchGetPhotosResponse.results. See GetPhoto for specific failures that can occur per photo.
parameters:
- name: languageCode
in: query
required: false
description: Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If language_code is unspecified, the user's language preference for Google services is used.
schema:
type: string
- name: photoIds
in: query
required: false
description: Required. IDs of the Photos. For HTTP GET requests, the URL query parameter should be `photoIds=&photoIds=&...`.
schema:
type: array
items:
type: string
- name: view
in: query
required: false
description: Required. Specifies if a download URL for the photo bytes should be returned in the Photo response.
schema:
enum:
- BASIC
- INCLUDE_DOWNLOAD_URL
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/BatchGetPhotosResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/streetviewpublish
- apiKey: []
tags:
- Street View Publish Photos
/v1/photos:
get:
operationId: streetviewpublish.photos.list
summary: List photos
description: 'Lists all the Photos that belong to the user. > Note: Recently created photos that are still being indexed are not returned in the response.'
parameters:
- name: filter
in: query
required: false
description: 'Optional. The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The filters supported are: `placeId`, `min_latitude`, `max_latitude`, `min_longitude`, `max_longitude`. See https://google.aip.dev/160 for more information.'
schema:
type: string
- name: languageCode
in: query
required: false
description: Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If language_code is unspecified, the user's language preference for Google services is used.
schema:
type: string
- name: pageSize
in: query
required: false
description: Optional. The maximum number of photos to return. `pageSize` must be non-negative. If `pageSize` is zero or is not provided, the default page size of 100 is used. The number of photos returned in the response may be less than `pageSize` if the number of photos that belong to the user is less than `pageSize`.
schema:
format: int32
type: integer
- name: pageToken
in: query
required: false
description: Optional. The nextPageToken value returned from a previous ListPhotos request, if any.
schema:
type: string
- name: view
in: query
required: false
description: Required. Specifies if a download URL for the photos bytes should be returned in the Photos response.
schema:
enum:
- BASIC
- INCLUDE_DOWNLOAD_URL
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ListPhotosResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/streetviewpublish
- apiKey: []
tags:
- Street View Publish Photos
/v1/photos:batchUpdate:
post:
operationId: streetviewpublish.photos.batchUpdate
summary: Batch update photos
description: 'Updates the metadata of Photos, such as pose, place association, connections, etc. Changing the pixels of photos is not supported. Note that if BatchUpdatePhotos fails, either critical fields are missing or there is an authentication error. Even if BatchUpdatePhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchUpdatePhotosResponse.results. See UpdatePhoto for specific failures that can occur per photo. Only the fields specified in updateMask field are used. If `updateMask` is not present, the update applies to all fields. The number of UpdatePhotoRequest messages in a BatchUpdatePhotosRequest must not exceed 20. > Note: To update Pose.altitude, Pose.latLngPair has to be filled as well. Otherwise, the request will fail.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BatchUpdatePhotosRequest'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/BatchUpdatePhotosResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/streetviewpublish
- apiKey: []
tags:
- Street View Publish Photos
/v1/photos:batchDelete:
post:
operationId: streetviewpublish.photos.batchDelete
summary: Batch delete photos
description: Deletes a list of Photos and their metadata. Note that if BatchDeletePhotos fails, either critical fields are missing or there is an authentication error. Even if BatchDeletePhotos succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status in BatchDeletePhotosResponse.results. See DeletePhoto for specific failures that can occur per photo.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BatchDeletePhotosRequest'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/BatchDeletePhotosResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/streetviewpublish
- apiKey: []
tags:
- Street View Publish Photos
components:
schemas:
PhotoId:
type: object
description: Identifier for a Photo.
properties:
id:
description: A unique identifier for a photo.
type: string
BatchGetPhotosResponse:
description: Response to batch get of Photos.
properties:
results:
type: array
items:
$ref: '#/components/schemas/PhotoResponse'
description: List of results for each individual Photo requested, in the same order as the requests in BatchGetPhotos.
type: object
UpdatePhotoRequest:
description: Request to update the metadata of a Photo. Updating the pixels of a photo is not supported.
properties:
updateMask:
description: 'Required. Mask that identifies fields on the photo metadata to update. If not present, the old Photo metadata is entirely replaced with the new Photo metadata in this request. The update fails if invalid fields are specified. Multiple fields can be specified in a comma-delimited list. The following fields are valid: * `pose.heading` * `pose.lat_lng_pair` * `pose.pitch` * `pose.roll` * `pose.level` * `pose.altitude` * `connections` * `places` > Note: When updateMask contains repeated fields, the entire set of repeated values get replaced with the new contents. For example, if updateMask contains `connections` and `UpdatePhotoRequest.photo.connections` is empty, all connections are removed.'
format: google-fieldmask
type: string
photo:
$ref: '#/components/schemas/Photo'
description: Required. Photo object containing the new metadata.
type: object
Level:
type: object
description: Level information containing level number and its corresponding name.
properties:
number:
description: Optional. Floor number, used for ordering. 0 indicates the ground level, 1 indicates the first level above ground level, -1 indicates the first level under ground level. Non-integer values are OK.
type: number
format: double
name:
description: Required. A name assigned to this Level, restricted to 3 characters. Consider how the elevator buttons would be labeled for this level if there was an elevator.
type: string
ListPhotosResponse:
properties:
nextPageToken:
type: string
description: Token to retrieve the next page of results, or empty if there are no more results in the list.
photos:
description: List of photos. The pageSize field in the request determines the number of items returned.
items:
$ref: '#/components/schemas/Photo'
type: array
type: object
description: Response to list all photos that belong to a user.
BatchDeletePhotosRequest:
description: Request to delete multiple Photos.
properties:
photoIds:
description: 'Required. IDs of the Photos. HTTP GET requests require the following syntax for the URL query parameter: `photoIds=&photoIds=&...`.'
items:
type: string
type: array
type: object
BatchUpdatePhotosRequest:
properties:
updatePhotoRequests:
items:
$ref: '#/components/schemas/UpdatePhotoRequest'
description: Required. List of UpdatePhotoRequests.
type: array
type: object
description: Request to update the metadata of photos. Updating the pixels of photos is not supported.
BatchUpdatePhotosResponse:
properties:
results:
description: List of results for each individual Photo updated, in the same order as the request.
items:
$ref: '#/components/schemas/PhotoResponse'
type: array
type: object
description: Response to batch update of metadata of one or more Photos.
PhotoResponse:
properties:
status:
$ref: '#/components/schemas/Status'
description: The status for the operation to get or update a single photo in the batch request.
photo:
$ref: '#/components/schemas/Photo'
description: The Photo resource, if the request was successful.
description: Response payload for a single Photo in batch operations including BatchGetPhotos and BatchUpdatePhotos.
type: object
Photo:
description: Photo is used to store 360 photos along with photo metadata.
type: object
properties:
downloadUrl:
type: string
readOnly: true
description: Output only. The download URL for the photo bytes. This field is set only when GetPhotoRequest.view is set to PhotoView.INCLUDE_DOWNLOAD_URL.
pose:
$ref: '#/components/schemas/Pose'
description: Optional. Pose of the photo.
places:
type: array
items:
$ref: '#/components/schemas/Place'
description: Optional. Places where this photo belongs.
connections:
items:
$ref: '#/components/schemas/Connection'
type: array
description: Optional. Connections to other photos. A connection represents the link from this photo to another photo.
uploadReference:
$ref: '#/components/schemas/UploadRef'
description: Input only. Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
photoId:
$ref: '#/components/schemas/PhotoId'
description: Required. Output only. Required when updating a photo. Output only when creating a photo. Identifier for the photo, which is unique among all photos in Google.
thumbnailUrl:
type: string
description: Output only. The thumbnail URL for showing a preview of the given photo.
readOnly: true
shareLink:
readOnly: true
description: Output only. The share link for the photo.
type: string
captureTime:
type: string
format: google-datetime
description: Optional. Absolute time when the photo was captured. When the photo has no exif timestamp, this is used to set a timestamp in the photo metadata.
viewCount:
type: string
readOnly: true
description: Output only. View count of the photo.
format: int64
uploadTime:
format: google-datetime
type: string
description: Output only. Time when the image was uploaded.
readOnly: true
mapsPublishStatus:
description: Output only. Status in Google Maps, whether this photo was published or rejected.
readOnly: true
enum:
- UNSPECIFIED_MAPS_PUBLISH_STATUS
- PUBLISHED
- REJECTED_UNKNOWN
type: string
transferStatus:
readOnly: true
enum:
- TRANSFER_STATUS_UNKNOWN
- NEVER_TRANSFERRED
- PENDING
- COMPLETED
- REJECTED
- EXPIRED
- CANCELLED
- RECEIVED_VIA_TRANSFER
description: Output only. Status of rights transfer on this photo.
type: string
BatchDeletePhotosResponse:
type: object
description: Response to batch delete of one or more Photos.
properties:
status:
type: array
items:
$ref: '#/components/schemas/Status'
description: The status for the operation to delete a single Photo in the batch request.
LatLng:
description: An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
type: object
properties:
longitude:
type: number
description: The longitude in degrees. It must be in the range [-180.0, +180.0].
format: double
latitude:
type: number
format: double
description: The latitude in degrees. It must be in the range [-90.0, +90.0].
Connection:
properties:
target:
$ref: '#/components/schemas/PhotoId'
description: Required. The destination of the connection from the containing photo to another photo.
description: A connection is the link from a source photo to a destination photo.
type: object
Place:
properties:
name:
description: Output only. The name of the place, localized to the language_code.
readOnly: true
type: string
languageCode:
description: Output only. The language_code that the name is localized with. This should be the language_code specified in the request, but may be a fallback.
type: string
readOnly: true
placeId:
description: Place identifier, as described in https://developers.google.com/places/place-id.
type: string
type: object
description: Place metadata for an entity.
UploadRef:
description: Upload reference for media files.
properties:
uploadUrl:
type: string
description: 'An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"'
type: object
Pose:
properties:
roll:
type: number
description: Roll, measured in degrees. Value must be >= 0 and <360. A value of 0 means level with the horizon. NaN indicates an unmeasured quantity.
format: double
latLngPair:
$ref: '#/components/schemas/LatLng'
description: 'Latitude and longitude pair of the pose, as explained here: https://cloud.google.com/datastore/docs/reference/rest/Shared.Types/LatLng When creating a Photo, if the latitude and longitude pair are not provided, the geolocation from the exif header is used. A latitude and longitude pair not provided in the photo or exif header causes the photo process to fail.'
heading:
type: number
format: double
description: The following pose parameters pertain to the center of the photo. They match https://developers.google.com/streetview/spherical-metadata. Compass heading, measured at the center of the photo in degrees clockwise from North. Value must be >=0 and <360. NaN indicates an unmeasured quantity.
level:
$ref: '#/components/schemas/Level'
description: Level (the floor in a building) used to configure vertical navigation.
pitch:
description: Pitch, measured at the center of the photo in degrees. Value must be >=-90 and <= 90. A value of -90 means looking directly down, and a value of 90 means looking directly up. NaN indicates an unmeasured quantity.
type: number
format: double
accuracyMeters:
format: float
description: 'The estimated horizontal accuracy of this pose in meters with 68% confidence (one standard deviation). For example, on Android, this value is available from this method: https://developer.android.com/reference/android/location/Location#getAccuracy(). Other platforms have different methods of obtaining similar accuracy estimations.'
type: number
gpsRecordTimestampUnixEpoch:
description: Time of the GPS record since UTC epoch.
type: string
format: google-datetime
altitude:
type: number
description: Altitude of the pose in meters above WGS84 ellipsoid. NaN indicates an unmeasured quantity.
format: double
type: object
description: Raw pose measurement for an entity.
Status:
properties:
code:
description: The status code, which should be an enum value of google.rpc.Code.
type: integer
format: int32
details:
description: A list of messages that carry the error details. There is a common set of message types for APIs to use.
items:
type: object
additionalProperties:
description: Properties of the object. Contains field @type with type URL.
type: array
message:
description: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
type: string
description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'
type: object
GoogleRpcError:
type: object
description: The error envelope every Google API returns.
properties:
error:
type: object
properties:
code:
type: integer
message:
type: string
status:
type: string
details:
type: array
items:
type: object
securitySchemes:
apiKey:
type: apiKey
in: query
name: key
description: API key; accepted by methods that do not need user data.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/streetviewpublish: Publish and manage your 360 photos on Google Street View
externalDocs:
url: https://developers.google.com/streetview/publish/
x-provenance:
method: harvested
publisher: Google
source: https://streetviewpublish.googleapis.com/$discovery/rest?version=v1
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261110)