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/successAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 88 calls
- Latency p50
- 2.4 sp95 7.4 s
- Last verified
- 29 sept. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.maps.photo_metadata?data_id=CIABIhAAQr6KrxiC_knILBjf2RxLBeta- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
gl | chaîne | Facultatif | Two-letter country code used to localize results. | us |
hl | chaîne | Facultatif | Language code such as en, en-GB, or de. | en |
data_id | chaîne | Obligatoire | 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 | nombre | Facultatif | 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 | chaîne | Facultatif | Google domain used for the request. | google.com |
- Paramètres de requête
glchaîneFacultatifTwo-letter country code used to localize results.
Exemple :
ushlchaîneFacultatifLanguage code such as en, en-GB, or de.
Exemple :
endata_idchaîneObligatoireRequired Google Maps photo ID. Follow a photo_meta_link from a Google Maps place response or copy the nested photo data_id.
Exemple :
CIABIhAAQr6KrxiC_knILBjf2RxLtimeoutnombreFacultatifOptional 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_domainchaîneFacultatifGoogle domain used for the request.
Exemple :
google.com
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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());Cette API de passerelle est en version Beta ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00015/success, frais de service inclus.