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/success제공업체 원가
- Success rate
- 100%Last 30 days · 88 calls
- Latency p50
- 2.4 sp95 7.4 s
- Last verified
- 2026. 9. 29.Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.maps.photo_metadata?data_id=CIABIhAAQr6KrxiC_knILBjf2RxLPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
gl | 문자열 | 선택 | Two-letter country code used to localize results. | us |
hl | 문자열 | 선택 | Language code such as en, en-GB, or de. | en |
data_id | 문자열 | 필수 | 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 | 숫자 | 선택 | 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 | 문자열 | 선택 | Google domain used for the request. | google.com |
- 쿼리 파라미터
gl문자열선택Two-letter country code used to localize results.
예시:
ushl문자열선택Language code such as en, en-GB, or de.
예시:
endata_id문자열필수Required Google Maps photo ID. Follow a photo_meta_link from a Google Maps place response or copy the nested photo data_id.
예시:
CIABIhAAQr6KrxiC_knILBjf2RxLtimeout숫자선택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문자열선택Google domain used for the request.
예시:
google.com
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
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());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.00015/success이며 서비스 수수료가 포함되어 있습니다.