API Hop

문서

API Hop 문서

Google Maps 검색 API

Google Maps에서 지역 업체와 장소를 검색하거나 장소 ID로 조회합니다. 장소 리뷰 · 장소 사진 · 사진 메타데이터 · 업체 게시물 · 경로 안내 · 장소 자동 완성 · 기여자 리뷰 · 지역 검색 · 지역 서비스 · 이벤트.

동시 실행 한도

AI와 Data는 각각 계정 전체의 동시 실행 슬롯을 공유합니다. 기본값은 AI 5 / Data 2이며 구독에 따라 달라집니다. 엔드포인트별 한도도 카테고리 전체 한도를 초과할 수 없습니다. 어느 한도든 도달하면 HTTP 429를 반환합니다. 비동기 작업은 실행이 끝날 때까지 슬롯을 차지합니다.

GET /v1/google-maps/search
기본 한도: 2
GET /v1/google-maps/reviews
기본 한도: 2
GET /v1/google-maps/photos
기본 한도: 2
GET /v1/google-maps/photos/meta
기본 한도: 2
GET /v1/google-maps/posts
기본 한도: 2
GET /v1/google-maps/directions
기본 한도: 2
GET /v1/google-maps/autocomplete
기본 한도: 2
GET /v1/google-maps/contributor/reviews
기본 한도: 2
GET /v1/google-maps/local
기본 한도: 2
GET /v1/google-maps/local/services
기본 한도: 2
GET /v1/google-maps/events
기본 한도: 2

Google Maps에서 지역 업체와 장소를 검색하거나 장소 ID로 조회합니다. 장소 리뷰 · 장소 사진 · 사진 메타데이터 · 업체 게시물 · 경로 안내 · 장소 자동 완성 · 기여자 리뷰 · 지역 검색 · 지역 서비스 · 이벤트.

  • Google Maps 장소 검색: GET https://api.apihop.ai/v1/google-maps/search
  • 장소 리뷰: GET https://api.apihop.ai/v1/google-maps/reviews
  • 장소 사진: GET https://api.apihop.ai/v1/google-maps/photos
  • 사진 메타데이터: GET https://api.apihop.ai/v1/google-maps/photos/meta
  • 업체 게시물: GET https://api.apihop.ai/v1/google-maps/posts
  • 경로 안내: GET https://api.apihop.ai/v1/google-maps/directions
  • 장소 자동 완성: GET https://api.apihop.ai/v1/google-maps/autocomplete
  • 기여자 리뷰: GET https://api.apihop.ai/v1/google-maps/contributor/reviews
  • 지역 검색: GET https://api.apihop.ai/v1/google-maps/local
  • 지역 서비스: GET https://api.apihop.ai/v1/google-maps/local/services
  • 이벤트: GET https://api.apihop.ai/v1/google-maps/events

인증 및 요금

기본 요금은 성공한 요청당 $0.0003(300 credits)입니다. API Hop API 키를 사용합니다. 접근은 활성 게이트웨이와 권한에 따라 결정됩니다. 성공한 요청 요금은 카탈로그와 계정을 확인하세요. 계정별 요금이 우선하며 성공한 빈 결과도 과금됩니다. 실패하면 예약 금액을 해제합니다. 제한 시간은 60초이며 자동 재시도와 페이지 처리가 없습니다. 정산 오류도 공급자 요청을 반복하지 않습니다.

http
Authorization: Bearer YOUR_API_KEY

Google Maps API 참조

예시

bash
curl --get "https://api.apihop.ai/v1/google-maps/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=coffee shop" \
  --data-urlencode "latitude=30.2672" \
  --data-urlencode "longitude=-97.7431" \
  --data-urlencode "start=0"
bash
curl --get "https://api.apihop.ai/v1/google-maps/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "data_cid=2982629209513831130" \
  --data-urlencode "hl=en"

응답 및 오류

원본 JSON과 숫자 정밀도를 유지합니다. 예시는 성공한 빈 결과입니다. HTTP 400: 입력; 401: 인증; 402: 잔액; 403: 접근; 405: 메서드; 429: 제한; 5xx: 서비스. X-Request-Id를 보관하세요.

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "search_parameters": {
        "q": "coffee shop",
        "type": "maps",
        "engine": "google_maps"
      },
      "has_next_page": false,
      "results": []
    }
  }
}