Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Google Maps Photo Metadata

API 문서
https://api.sandbase.ai/v1/api/google-maps/photo-metadata

Contributor, place, coordinates, type and date of one Google Maps photo by its data ID.

가격
$0.00015USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 4개

Playground

입력
Required Google Maps photo ID. Follow a photo_meta_link from a Google Maps place response or copy the nested photo data_id.
Language code such as en, en-GB, or de.
Two-letter country code used to localize results.
Google domain used for the request.
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 an
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Google Maps Photo Metadata API

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.

Use cases

  • Credit the contributor of a Google Maps photo by reading the name and profile link.
  • Check which place a photo belongs to before you show it in a listing.
  • Place a photo on a map using the returned latitude and longitude.
  • Group photos by contributor with user.user_id.

Request

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.

Parameters

NameTypeRequiredDescription
data_idstringYesRequired Google Maps photo ID. Follow a photo_meta_link from a Google Maps place response or copy the nested photo data_id.
glstringNoTwo-letter country code used to localize results.
google_domainstringNoGoogle domain used for the request.
hlstringNoLanguage code such as en, en-GB, or de.
timeoutnumberNoOptional 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

Example response

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"
  }
}

Response fields

FieldMeaning
dateDate of the photo as a day-month-year string, for example 26-3-2026.
location.nameName of the place the photo is attached to.
location.typeCategory of the place, for example Bakery.
location.latitude / location.longitudeCoordinates of the place as decimal degrees.
user.nameDisplay name of the contributor who posted the photo.
user.user_idNumeric ID of the contributor on Google Maps.
user.linkLink to the contributor's Google Maps profile.
user.imageURL of the contributor's profile picture.

Notes

  • Get data_id by following a photo_meta_link in a Google Maps place response, or copy the nested photo data_id.
  • The date value is not zero padded, so 26-3-2026 reads as day, month, year.
  • Use hl, gl and google_domain to change the language and country used for the request.

Pricing

$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 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

가이드:Best Google Maps API in 2026: Pricing Compared

질문

FAQ

Google Maps Photo Metadata API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/google-maps/photo-metadata에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Google Maps Photo Metadata API 비용은 얼마인가요?

호출당 $0.00015, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Google Maps Photo Metadata API는 어떤 매개변수를 받나요?

필수: data_id (string). 선택: hl (string), gl (string), google_domain (string) 및 timeout (number). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Google Maps Photo Metadata API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Google Maps 개발자 계정이나 API 키가 필요한가요?

아니요. Google Maps Photo Metadata은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Google Maps API 액세스를 별도로 신청할 필요는 없습니다.