API Hop

문서

API Hop 문서

Yandex API 참조

Yandex: 웹 검색.

동시 실행 한도

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

GET /v1/yandex/search
기본 한도: 2

Yandex: 웹 검색.

인증 및 요금

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

http
Authorization: Bearer YOUR_API_KEY

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

GET https://api.apihop.ai/v1/yandex/search

매개변수

필드유형제약예시
querystring검색어; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192coffee
pageinteger페이지 번호, 1부터; page: optional; min: 1; max: 1001
devicestring기기; device: optional; desktop, mobile, tabletdesktop
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue
yandex_domainstring검색 엔진 도메인 (yandex_domain); yandex_domain: optional; yandex.com, yandex.ru, yandex.by, yandex.kz, yandex.uz, yandex.com.tryandex.com
family_modeinteger결과 필터 (family_mode); family_mode: optional; min: 0; max: 20
langstring언어 필터 (lang); lang: optional; ru, en, be, kk, tr, ukru
lrinteger언어 필터 (lr); lr: optional; min: 1; max: 21474836471
fix_typoboolean결과 필터 (fix_typo); fix_typo: optionaltrue
groups_on_pageinteger결과 필터 (groups_on_page); groups_on_page: optional; min: 1; max: 1001
sort_modestring정렬 모드 (sort_mode); sort_mode: optional; relevance, daterelevance
periodstring기간 (period); period: optional; all, day, last_two_weeks, monthall

검증

  • 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/yandex/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=coffee"

응답 및 오류

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

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