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/09/29Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.maps.photo_metadata?data_id=CIABIhAAQr6KrxiC_knILBjf2RxLBeta- 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 は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00015/success です。サービス料を含みます。