API Hop

Documentation

API Hop Docs

Yandex endpoint reference

Yandex: Web search.

Concurrency limit

AI and Data each share an account-wide pool of concurrent slots: 5 AI / 2 Data by default, adjusted by your subscription. Endpoint overrides still cannot exceed the category pool. Reaching either limit returns HTTP 429. Asynchronous tasks occupy a slot until execution ends.

GET /v1/yandex/search
Default limit: 2

Yandex: Web search.

Authentication and billing

The default price is $0.0003 (300 credits) per successful request. Use your API Hop API key. Availability depends on active gateways and key permissions. Check the current catalog and your account for the price per successful request; account-specific pricing takes precedence. Successful empty results are billable. Failed requests release the credit reservation. Requests time out after 60 seconds, with no automatic retry or pagination. Settlement failures never repeat the upstream request.

http
Authorization: Bearer YOUR_API_KEY

Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. JSON only; no automatic pagination or retries. Copy identifiers and continuation tokens from fresh responses. Examples are illustrative. Each completed lookup, including a confirmed empty or unavailable result, is billed separately. XOR means exactly one parameter; NOT means excluded; => means requires.

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

Request parameters

FieldTypeConstraintsExample
querystringText to search for on the selected service. At most 8,192 UTF-8 bytes.; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192coffee
pageintegerOne-based page number.; page: optional; min: 1; max: 1001
devicestringDevice presentation for the source request.; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanDo not archive source or parsed response artifacts.; zero_trace: optionaltrue
yandex_domainstringYandex marketplace domain; defaults to yandex.com.; yandex_domain: optional; yandex.com, yandex.ru, yandex.by, yandex.kz, yandex.uz, yandex.com.tryandex.com
family_modeintegerSafe search: 0 off, 1 moderate, 2 strict.; family_mode: optional; min: 0; max: 20
langstringYandex search language.; lang: optional; ru, en, be, kk, tr, ukru
lrintegerYandex geographic region ID.; lr: optional; min: 1; max: 21474836471
fix_typobooleanAllow automatic query spelling corrections.; fix_typo: optionaltrue
groups_on_pageintegerMaximum search result groups per page.; groups_on_page: optional; min: 1; max: 1001
sort_modestringSearch result order.; sort_mode: optional; relevance, daterelevance
periodstringSearch publication period.; period: optional; all, day, last_two_weeks, monthall

Validation rules

  • 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

Examples

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

Responses and errors

The native JSON response and numeric precision are preserved. The example below illustrates an empty successful result, not a live call. HTTP 400 means invalid input; 401 authentication required; 402 insufficient credit; 403 unavailable or unauthorized; 405 unsupported method; 429 rate limit; 5xx service or upstream failure. Keep X-Request-Id for diagnosis.

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