API Hop

문서

API Hop 문서

Google Search API 참조

Google Search: 웹 검색 · AI Mode 답변 · AI 요약 · 경량 검색 · 검색 제안 · 관련 질문 · 포럼 검색 · 검색 광고 · 출처 정보 · 광고 소재 검색 · 광고 소재 상세 정보.

동시 실행 한도

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

GET /v1/google-search/search
기본 한도: 2
GET /v1/google-search/ai-mode
기본 한도: 2
GET /v1/google-search/ai-overview
기본 한도: 2
GET /v1/google-search/light
기본 한도: 2
GET /v1/google-search/autocomplete
기본 한도: 2
GET /v1/google-search/related-questions
기본 한도: 2
GET /v1/google-search/forums
기본 한도: 2
GET /v1/google-search/ads
기본 한도: 2
GET /v1/google-search/about-this-result
기본 한도: 2
GET /v1/google-search/ads-transparency
기본 한도: 2
GET /v1/google-search/ads-transparency-details
기본 한도: 2

Google Search: 웹 검색 · AI Mode 답변 · AI 요약 · 경량 검색 · 검색 제안 · 관련 질문 · 포럼 검색 · 검색 광고 · 출처 정보 · 광고 소재 검색 · 광고 소재 상세 정보.

인증 및 요금

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

http
Authorization: Bearer YOUR_API_KEY

쿼리만 허용하며 본문은 사용하지 않습니다. 알 수 없거나 중복된 값, 빈 값, 잘못된 값은 거부합니다. JSON만 지원하며 자동 페이지 조회나 재시도는 없습니다. ID와 토큰은 최신 응답에서 복사하세요. 예시는 설명용입니다. 확인된 빈 결과나 사용 불가 결과를 포함하여 완료된 조회마다 별도 과금됩니다. XOR = 하나만, NOT = 제외, => = 필요.

GET https://api.apihop.ai/v1/google-search/search

매개변수

필드유형제약예시
urlstring전체 HTTPS 검색 주소 (url); url: optional; maxLength: 32768https://www.google.com/search?q=coffee%20beans&hl=en&gl=us
device_osstring모바일 운영 체제 (device_os); device_os: optional; android, iosios
querystring검색어; query: optional; minLength: 1; maxLength: 24576; UTF-8 bytes: 8192coffee
query_encodedbooleanURL 인코딩된 검색어 (query_encoded); query_encoded: optionaltrue
uulestring지역 (uule); uule: optional; minLength: 3; maxLength: 4096; ^[wa]\+(?:[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}$w+CAIQICIaQXVzdGluLFRleGFzLFVuaXRlZCBTdGF0ZXM
rewrite_linksbooleanHTML 리디렉션 링크 해석 (rewrite_links); rewrite_links: optionaltrue
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
devicestring기기; device: optional; mobile, tablet, desktopmobile
safestring결과 필터 (safe); safe: optional; active, offactive
color_schemestring색상 테마 (color_scheme); color_scheme: optional; light, darklight
ludocidstring검색 모드 또는 원본 선택값 (ludocid); ludocid: optional; maxLength: 20-
lsigstring검색 모드 또는 원본 선택값 (lsig); lsig: optional; maxLength: 2048-
kgmidstring검색 모드 또는 원본 선택값 (kgmid); kgmid: optional; maxLength: 131-
sistring검색 모드 또는 원본 선택값 (si); si: optional; maxLength: 8192-
ibpstring검색 모드 또는 원본 선택값 (ibp); ibp: optional; maxLength: 2048-
udsstring검색 모드 또는 원본 선택값 (uds); uds: optional; maxLength: 8192-
pwsinteger결과 필터 (pws); pws: optional; 0, 10
nfprinteger결과 필터 (nfpr); nfpr: optional; 0, 10
filterinteger결과 필터 (filter); filter: optional; 0, 10
lrstring언어 필터 (lr); lr: optional; ^lang_[a-z]{2,3}(\|lang_[a-z]{2,3})*$lang_fr
crstring국가 필터 (cr); cr: optional; ^country[A-Za-z]{2}(\|country[A-Za-z]{2})*$countryFR
startinteger결과 오프셋; start: optional; min: 010
google_domainstring검색 엔진 도메인 (google_domain); google_domain: optional; google.com, google.ad, google.ae, google.com.af, google.com.ag, google.al, google.am, google.co.ao, google.com.ar, google.as, ... 186google.co.uk
glstring국가 필터 (gl); gl: optional; ad, ae, af, ag, ai, al, am, an, ao, aq, ... 252ad
hlstring언어 필터 (hl); hl: optional; af, sq, am, ar, hy, az, bn, bg, my, ca, ... 76af
locationstring검색 위치; 출처; location: optional; minLength: 1Austin,Texas,United States
coordinatesstringJSON 좌표 (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
radiusinteger반경 (미터) (radius); radius: optional; min: 1; max: 1000150
tbsstring기간 (tbs); tbs: optionalqdr:h
tbmstring검색 모드 또는 원본 선택값 (tbm); tbm: optional; nws, vid, isch, shop, lcl, bksnws
udminteger검색 모드 또는 원본 선택값 (udm); udm: optional; 1, 2, 6, 7, 12, 14, 28, 36, 502

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)
  • radius => coordinates; NOT uule; desktop radius <= 199 meters, mobile/tablet radius <= 1000 meters
  • device_os => device = mobile OR tablet
  • query XOR url; tbm XOR udm when selecting a search tab
  • query: <= 8192 UTF-8 bytes after decoding; query_encoded=true => URL-encoded query value, not a URL or q= prefix
  • url: HTTPS Google /search with nonempty q or as_q; only device, device_os, zero_trace and rewrite_links may accompany url
  • ludocid: nonzero unsigned 64-bit decimal string; preserve numeric precision

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=coffee"

Google Search: AI Mode 답변

GET https://api.apihop.ai/v1/google-search/ai-mode

매개변수

필드유형제약예시
querystring검색어; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192how do solar panels work
countrystring국가 필터 (country); country: optional; ^[A-Za-z]{2}$-
languagestring언어; language: optional-
devicestring기기; device: optional; desktop, mobile, tabletdesktop
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
locationstring검색 위치; location: optional-
coordinatesstringJSON 좌표 (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
uulestring지역 (uule); uule: optional; maxLength: 4096-
image_urlstring공개 HTTPS 이미지 주소 (image_url); image_url: optional; maxLength: 2048-
continuableboolean후속 질문 토큰 활성화 (continuable); continuable: optionaltrue
subsequent_request_tokenstring최신 응답의 토큰 (subsequent_request_token); subsequent_request_token: optional; maxLength: 24576-

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)
  • continuable=true: return a conversation token; subsequent_request_token: new query, optional image_url, same original locale/location; token expires after 15 minutes or earlier at the source
  • image_url: public HTTPS image URL; no credentials, fragment or port

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/ai-mode" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=how do solar panels work"

Google Search: AI 요약

GET https://api.apihop.ai/v1/google-search/ai-overview

매개변수

필드유형제약예시
querystring검색어; query: optional; minLength: 1; UTF-8 bytes: 8192how do solar panels work
countrystring국가 필터 (country); country: optional; ^[A-Za-z]{2}$-
languagestring언어; language: optional-
devicestring기기; device: optional; desktop, mobile, tabletdesktop
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
page_tokenstring최신 응답의 토큰 (page_token); page_token: optional; maxLength: 24576-

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • query XOR page_token; page_token: copy from a fresh search response; preserve original query and locale
  • page_token: use within one minute; valid page without AI Overview => feature_available=false

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/ai-overview" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=how do solar panels work"

GET https://api.apihop.ai/v1/google-search/light

매개변수

필드유형제약예시
querystring검색어; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192coffee
countrystring국가 필터 (country); country: optional; ^[A-Za-z]{2}$-
languagestring언어; language: optional-
pageinteger페이지 번호, 1부터; page: optional; min: 1; max: 10001
locationstring검색 위치; location: optional-
safestring결과 필터 (safe); safe: optional; active, offactive
time_rangestring기간 (time_range); time_range: optional-
devicestring기기; device: optional; desktop, mobile, tabletdesktop
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
coordinatesstringJSON 좌표 (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
uulestring지역 (uule); uule: optional; maxLength: 4096-
google_domainstring검색 엔진 도메인 (google_domain); google_domain: optional-
lrstring언어 필터 (lr); lr: optional; ^lang_[a-z]{2,3}(?:\&#124;lang_[a-z]{2,3})*$-
nfprinteger결과 필터 (nfpr); nfpr: optional; 0, 10
filterinteger결과 필터 (filter); filter: optional; 0, 10
startinteger결과 오프셋; start: optional; min: 0; max: 10000

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/light" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=coffee"

Google Search: 검색 제안

GET https://api.apihop.ai/v1/google-search/autocomplete

매개변수

필드유형제약예시
querystring검색어; query: REQUIRED; minLength: 1; maxLength: 100; UTF-8 bytes: 8192coffee
countrystring국가 필터 (country); country: optional; ^[A-Za-z]{2}$-
languagestring언어; language: optional-
limitinteger결과 수 제한; limit: optional; min: 1; max: 201
devicestring기기; device: optional; desktop, mobile, tabletdesktop
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
clientstring검색 모드 또는 원본 선택값 (client); client: optional; chrome, chrome-omni, gws-wiz, safari, firefox, psy-ab, toolbar, youtube, gws-wiz-localchrome
cpinteger커서 위치 (cp); cp: optional; min: 0; max: 81920

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/autocomplete" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=coffee"

GET https://api.apihop.ai/v1/google-search/related-questions

매개변수

필드유형제약예시
querystring검색어; query: optional; minLength: 1; UTF-8 bytes: 8192how do solar panels work
countrystring국가 필터 (country); country: optional; ^[A-Za-z]{2}$-
languagestring언어; language: optional-
devicestring기기; device: optional; desktop, mobile, tabletdesktop
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
next_page_tokenstring최신 응답의 토큰 (next_page_token); next_page_token: optional; minLength: 1; maxLength: 24576-

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • next_page_token: copy from a fresh response; keep original query, localization and filters; do not fabricate tokens
  • query OR next_page_token: required; result tokens expand an individual question

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/related-questions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=how do solar panels work"

GET https://api.apihop.ai/v1/google-search/forums

매개변수

필드유형제약예시
querystring검색어; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192best coffee grinder
countrystring국가 필터 (country); country: optional; ^[A-Za-z]{2}$-
languagestring언어; language: optional-
pageinteger페이지 번호, 1부터; page: optional; min: 1; max: 10001
locationstring검색 위치; location: optional-
safestring결과 필터 (safe); safe: optional; active, offactive
time_rangestring기간 (time_range); time_range: optional-
devicestring기기; device: optional; desktop, mobile, tabletdesktop
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
coordinatesstringJSON 좌표 (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
uulestring지역 (uule); uule: optional; maxLength: 4096-
nfprinteger결과 필터 (nfpr); nfpr: optional; 0, 10
filterinteger결과 필터 (filter); filter: optional; 0, 10
startinteger결과 오프셋; start: optional; min: 0; max: 10000
tbsstring기간 (tbs); tbs: optional; maxLength: 512-
period_unitstring기간 (period_unit); period_unit: optional; s, n, h, d, w, m, ys
period_valueinteger기간 (period_value); period_value: optional; min: 1; max: 21474836471
start_datestring날짜 경계 (start_date); start_date: optional; ^[0-9]{8}$-
end_datestring날짜 경계 (end_date); end_date: optional; ^[0-9]{8}$-

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/forums" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=best coffee grinder"

Google Search: 검색 광고

GET https://api.apihop.ai/v1/google-search/ads

매개변수

필드유형제약예시
querystring검색어; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192car insurance
countrystring국가 필터 (country); country: optional; ^[A-Za-z]{2}$-
languagestring언어; language: optional-
locationstring검색 위치; location: optional-
devicestring기기; device: optional; desktop, mobile, tabletdesktop
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
coordinatesstringJSON 좌표 (latitude, longitude) (coordinates); coordinates: optional{"latitude":30.2672,"longitude":-97.7431}
safestring결과 필터 (safe); safe: optional; active, offactive
nfprinteger결과 필터 (nfpr); nfpr: optional; 0, 10

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • coordinates: JSON object {"latitude":number,"longitude":number}; latitude -90..90; longitude -180..180; NOT (location AND coordinates); NOT (uule AND location); NOT (uule AND coordinates)
  • valid page without ads => ads_available=false; this endpoint reads ads and does not create campaigns

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/ads" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=car insurance"

Google Search: 출처 정보

GET https://api.apihop.ai/v1/google-search/about-this-result

매개변수

필드유형제약예시
querystring검색어 (website URL; query XOR req_token); query: optional; minLength: 1; UTF-8 bytes: 8192https://www.starbucks.com/
req_tokenstring최신 응답의 토큰 (req_token); req_token: optional; maxLength: 16384; ^[A-Za-z0-9_-]+={0,2}$-
countrystring국가 필터 (country); country: optional; ^[A-Za-z]{2}$-
languagestring언어; language: optional-
google_domainstring검색 엔진 도메인 (google_domain); google_domain: optional-
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • query XOR req_token; query: website URL; req_token: copy from a fresh About This Result selector

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/about-this-result" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=https://www.starbucks.com/"

GET https://api.apihop.ai/v1/google-search/ads-transparency

매개변수

필드유형제약예시
querystring검색어; query: optional; minLength: 1; UTF-8 bytes: 8192nike.com
countrystring국가 필터 (country); country: optional; ad, ae, af, ag, ai, al, am, ao, aq, ar, ... 244; ^[A-Za-z]{2}$ad
languagestring언어; language: optional-
limitinteger결과 수 제한; limit: optional; min: 1; max: 1001
idstring원본 식별자 (id); id: optional-
categorystring검색 모드 또는 원본 선택값 (category); category: optional; image, text, videoimage
next_page_tokenstring최신 응답의 토큰 (next_page_token); next_page_token: optional; minLength: 1; maxLength: 24576-
devicestring기기; device: optional; desktop, mobile, tabletdesktop
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
advertiser_idstring원본 식별자 (advertiser_id); advertiser_id: optional; maxLength: 3499-
platformstring검색 모드 또는 원본 선택값 (platform); platform: optional; PLAY, MAPS, SEARCH, SHOPPING, YOUTUBEPLAY
political_adsboolean결과 필터 (political_ads); political_ads: optionaltrue
get_advertiserboolean광고주 상세 정보 (get_advertiser); get_advertiser: optionaltrue
regionstring지역 (region); 예시: US=2840; region: optional; anywhere, 2004, 2008, 2010, 2012, 2016, 2020, 2024, 2028, 2031, ... 245; maxLength: 8anywhere
start_datestring날짜 경계 (start_date); start_date: optional; ^[0-9]{8}$-
end_datestring날짜 경계 (end_date); end_date: optional; ^[0-9]{8}$-
creative_formatstring검색 모드 또는 원본 선택값 (creative_format); creative_format: optional; image, text, videoimage

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • next_page_token: copy from a fresh response; keep original query, localization and filters; do not fabricate tokens
  • exactly one of query, id, advertiser_id; category XOR creative_format when selecting a creative format
  • id, advertiser_id: AR-prefixed IDs, comma-separated, up to 100; get_advertiser=true => exactly one advertiser ID
  • political_ads=true => explicit country or region other than anywhere; start_date < end_date; dates must exist

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/ads-transparency" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=nike.com"

Google Search: 광고 소재 상세 정보

GET https://api.apihop.ai/v1/google-search/ads-transparency-details

매개변수

필드유형제약예시
advertiser_idstring원본 식별자 (advertiser_id); advertiser_id: REQUIRED; maxLength: 34; ^AR[0-9]{1,32}$${ADVERTISER_ID}
creative_idstring원본 식별자 (creative_id); creative_id: REQUIRED; maxLength: 34; ^CR[0-9]{1,32}$${CREATIVE_ID}
regionstring지역 (region); region: optional; anywhere, 2004, 2008, 2010, 2012, 2016, 2020, 2024, 2028, 2031, ... 245anywhere
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue

검증

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • boolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
  • advertiser_id AND creative_id: copy from a fresh ads-transparency response; sample identifiers do not prove availability

예시

bash
curl --get "https://api.apihop.ai/v1/google-search/ads-transparency-details" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "advertiser_id=${ADVERTISER_ID}" \
  --data-urlencode "creative_id=${CREATIVE_ID}"

응답 및 오류

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

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}