data_idstring필수
Required Google Maps photo ID. Follow a photo_meta_link from a Google Maps place response or copy the nested photo data_id.
https://api.sandbase.ai/v1/api/google-maps/photo-metadataContributor, place, coordinates, type and date of one Google Maps photo by its data ID.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
This API returns metadata for one Google Maps photo: who posted it, which place it shows, the place coordinates, the place type and the date. It needs the photo data_id.
latitude and longitude.user.user_id.curl -X POST "https://api.sandbase.ai/v1/api/google-maps/photo-metadata" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data_id": "CIABIhAAQr6KrxiC_knILBjf2RxL"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
data_id | string | Yes | Required Google Maps photo ID. Follow a photo_meta_link from a Google Maps place response or copy the nested photo data_id. |
gl | string | No | Two-letter country code used to localize results. |
google_domain | string | No | Google domain used for the request. |
hl | string | No | Language code such as en, en-GB, or de. |
timeout | number | No | 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 cal |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"date": "26-3-2026",
"location": {
"latitude": 40.72944593032069,
"longitude": -73.98683525580137,
"name": "La Cabra",
"type": "Bakery"
},
"user": {
"image": "https://lh3.googleusercontent.com/a-/ALV-UjVPLf0Gyu4SEyq8ENXI8cKfcPKUZzGV8mdrVW4…",
"link": "https://maps.google.com/maps/contrib/114005753829907698777",
"name": "Bryan Barber",
"user_id": "114005753829907698777"
}
}
| Field | Meaning |
|---|---|
date | Date of the photo as a day-month-year string, for example 26-3-2026. |
location.name | Name of the place the photo is attached to. |
location.type | Category of the place, for example Bakery. |
location.latitude / location.longitude | Coordinates of the place as decimal degrees. |
user.name | Display name of the contributor who posted the photo. |
user.user_id | Numeric ID of the contributor on Google Maps. |
user.link | Link to the contributor's Google Maps profile. |
user.image | URL of the contributor's profile picture. |
data_id by following a photo_meta_link in a Google Maps place response, or copy the nested photo data_id.date value is not zero padded, so 26-3-2026 reads as day, month, year.hl, gl and google_domain to change the language and country used for the request.$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/google-maps/photo-metadata" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hl": "en",
"data_id": "CIABIhAAQr6KrxiC_knILBjf2RxL",
"google_domain": "google.com"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
data_idstring필수Required Google Maps photo ID. Follow a photo_meta_link from a Google Maps place response or copy the nested photo data_id.
hlstringLanguage code such as en, en-GB, or de.
기본값: "en"
glstringTwo-letter country code used to localize results.
google_domainstringGoogle domain used for the request.
기본값: "google.com"
timeoutnumberOptional 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 an
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Google Maps | $0.00015 / 호출 | JSON |
Google Maps | $0.01 / 호출 | JSON |
Google Maps | $0.00015 / 호출 | 비동기 JSON |
Google Maps | $0.01 / 호출 | JSON |
Google Maps | $0.01 / 호출 | JSON |
Google Maps | $0.01 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/google-maps/photo-metadata에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.00015, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: data_id (string). 선택: hl (string), gl (string), google_domain (string) 및 timeout (number). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Google Maps Photo Metadata은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Google Maps API 액세스를 별도로 신청할 필요는 없습니다.