Google logo

Google Maps Photos API

google_maps_photos
87.5% off

Retrieve public photos and photo categories for a Google Maps location.

Collect public image URLs and available photo categories for listing QA, location research, or media review.

TYPEPlace photosPRICE$0.003125 per requestRESPONSEStructured JSON

Google Maps Photos API Playground

Edit the JSON request and inspect the API response. Requests use your signed-in APINEED account and balance; no API key is needed here.

Request JSON
$0.003125 per requestSign in required. Failed requests are refunded.
Example response
{
  "request_id": "example_google_maps_photos",
  "tool": "google_maps_photos",
  "output": {
    "data": {
      "categories": [],
      "photos": [
        {
          "image": "https://example.com/photo.jpg",
          "thumbnail": "https://example.com/photo-thumb.jpg"
        }
      ]
    },
    "data_id": "example_data_id"
  },
  "usage": {
    "price_usd": "0.003125",
    "quota": 1563
  }
}
ExampleIllustrative data; no request sent or charge made.

Google Maps Photos API Pricing

Current pricing from the APINEED catalog. Failed requests are refunded; server usage records remain authoritative.

APINEED price$0.003125 per requestBilled from recorded usage
Billing policySuccessful requests onlyFailed requests are refunded
Account balanceOne shared balanceUse the same balance and API keys as your models

Quick Start

Invoke Google Maps Photos with one APINEED key and a JSON request body.

1

Use your APINEED API key

Reuse the same APINEED API key that your application already uses for LLM, image, and video APIs. Keep it server-side.

Create API key
export API_NEED_API_KEY=sk-apineed-v1-...
2

Send the request

POST the same input shown in the Playground to /v1/tools/google_maps_photos/invoke.

curl 'https://apineed.com/v1/tools/google_maps_photos/invoke' \
  -H "Authorization: Bearer $API_NEED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "data_id": "example_data_id",
  "language": "en"
}'
3

Read the response

Use output.data.photos for the result and usage.price_usd for the settled request price.

const data = response.output.data.photos;

Endpoint

This endpoint uses bearer-token authentication and returns a synchronous normalized JSON response.

POST/v1/tools/google_maps_photos/invoke
Authorization
Bearer $API_NEED_API_KEY
Content-Type
application/json
Billing
$0.003125 per request on successful invocation
Response
request_id, tool, output, usage

Google Maps Photos API Parameters

data_id is required and comes from Google Maps Search. Pagination or filtering fields are optional.

NameTypeRequirementValuesDescription
data_idstringRequired1–2048 charactersGoogle Maps location data ID returned by Maps Search.
category_idstringOptional1–2048 charactersOptional category ID returned by a previous photos response.
languagestringOptionalPattern: ^[A-Za-z]{2}$Optional two-letter result language. Defaults upstream to en.
next_page_tokenstringOptional1–8192 charactersOptional token returned by a previous photos response.

Google Maps Photos API Introduction

A practical guide to the request, response, billing, and application use cases.

Integration guide·Based on the live API catalog
01

Google Maps Photos API

Collect public image URLs and available photo categories for listing QA, location research, or media review.

02

Listing QA

Review public images associated with a location.

03

Visual research

Collect photo URLs for approved research and moderation workflows.

04

Request contract

Send a JSON object to /v1/tools/google_maps_photos/invoke. Use the required fields, supported optional parameters, and bounds listed above. Undocumented parameters are not guaranteed to be supported.

05

Response and usage

Read the tool result from output.data.photos and the settled charge from usage.price_usd. Keep request_id for troubleshooting. Preserve optional response fields rather than assuming they are always present.

Common Questions

Practical answers about authentication, parameters, pricing, and integration.

What does Google Maps Photos API do?

Collect public image URLs and available photo categories for listing QA, location research, or media review.

How do I authenticate?

Send a POST request to /v1/tools/google_maps_photos/invoke with your APINEED API key in the Authorization: Bearer header. The same key can be used for model APIs. Keep the key on your server, not in browser code.

Can I try this API without entering an API key?

Yes. The Playground uses your signed-in APINEED account and shared balance. Sign in to send a request, or add funds if your balance is insufficient.

Which input fields are required?

Required fields: data_id. Check the parameter table for types, allowed values, and limits.

Can I omit optional parameters?

Yes. Optional fields: category_id, language, next_page_token. Omitted fields are not sent. Explicit false and 0 values are preserved; use the defaults and limits documented in the parameter table.

How much does a request cost?

The current catalog price is $0.003125 per request. The final charge is recorded in usage.price_usd and your account usage logs. Failed requests are refunded.

How should I read the response?

A successful invocation returns request_id, tool, output, and usage. Read the result from output, preserve request_id for troubleshooting, and inspect usage for the settled charge. The Playground shows the returned JSON without changing it.