Get Google Maps photo metadata
litescrape.google.maps.photo_metadataReturns the contributor, place, coordinates, type and date of one Google Maps photo
- Price
- $0.00015/successPelo preço do provedor
- Success rate
- 100%Last 30 days · 88 calls
- Latency p50
- 2.4 sp95 7.4 s
- Last verified
- 29 de set. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.maps.photo_metadata?data_id=CIABIhAAQr6KrxiC_knILBjf2RxLPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
gl | string | Opcional | Two-letter country code used to localize results. | us |
hl | string | Opcional | Language code such as en, en-GB, or de. | en |
data_id | string | Obrigatório | Required Google Maps photo ID. Follow a photo_meta_link from a Google Maps place response or copy the nested photo data_id. | CIABIhAAQr6KrxiC_knILBjf2RxL |
timeout | número | Opcional | Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline. | |
google_domain | string | Opcional | Google domain used for the request. | google.com |
- Parâmetros de consulta
glstringOpcionalTwo-letter country code used to localize results.
Exemplo:
ushlstringOpcionalLanguage code such as en, en-GB, or de.
Exemplo:
endata_idstringObrigatórioRequired Google Maps photo ID. Follow a photo_meta_link from a Google Maps place response or copy the nested photo data_id.
Exemplo:
CIABIhAAQr6KrxiC_knILBjf2RxLtimeoutnúmeroOpcionalOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
google_domainstringOpcionalGoogle domain used for the request.
Exemplo:
google.com
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.google.maps.photo_metadata?data_id=CIABIhAAQr6KrxiC_knILBjf2RxL' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.google.maps.photo_metadata?data_id=CIABIhAAQr6KrxiC_knILBjf2RxL",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.google.maps.photo_metadata?data_id=CIABIhAAQr6KrxiC_knILBjf2RxL", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.00015/success, incluindo a taxa de serviço.