Call it
curl https://api.peume.com/v1/call/google-maps-list-place-photos \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"data_id": "your data id"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-maps-list-place-photos", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"data_id": "your data id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-maps-list-place-photos",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"data_id": "your data id"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-maps-list-place-photos.
Parameters
hlstringThe language to use for the Google Maps Photos search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).
category_idstringThe ID of a category. The number, and the type of categories can vary between places, and a search returns no results for a category the place doesn't have. Common categories: `CgIgAQ` - All (default) `CgIgARICGAI` - Latest `CgIgARICCAQ` - Videos `CgIgARICEAE` - By owner `CgIgARICEAI` - From visitors `CgIgARICCAI` - Street View & 360° `CgIYIQ` - Menu `CgIYIA` - Food & drink `CgIYIg` - Vibe `CgIYEA` - Rooms `CgIYFA` - Amenities `CgIYEw` - Exterior `CgIYEg` - Inside Other category IDs are supported as well.
next_page_tokenstringThe next page token. It is used for retrieving the next page results. `10` results are returned per page.
data_idRequiredstringThe Google Maps data ID. Find the data ID of a place using our Google Maps API.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
