API Hop Docs
Yahoo Search endpoint reference
Yahoo: 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/yahoo-search/search Yahoo: 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.
Authorization: Bearer YOUR_API_KEYSend 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.
Yahoo: Web search
GET https://api.apihop.ai/v1/yahoo-search/search
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
query | string | Text to search for on the selected service. At most 8,192 UTF-8 bytes.; query: REQUIRED; minLength: 1; UTF-8 bytes: 8192 | coffee |
page | integer | One-based page number.; page: optional; min: 1; max: 100 | 1 |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
b | integer | One-based result offset. Cannot be combined with a page after page 1.; b: optional; min: 1; max: 10000 | 1 |
vc | string | Two-letter country to search.; vc: optional; ^[A-Za-z]{2}$ | - |
vl | string | Result language using lang_ followed by a language code.; vl: optional; ^lang_[A-Za-z]{2,3}$ | - |
vm | string | Adult-content filter: r for strict, i for moderate, p for off.; vm: optional; r, i, p | r |
vs | string | Comma-separated top-level domains, such as .com,.org.; vs: optional; ^\.[A-Za-z]{2,}(,\.[A-Za-z]{2,})*$ | - |
vf | string | Document format, such as pdf or txt.; vf: optional; all, html, pdf, xls, ppt, doc, txt | all |
fr2 | string | Native result expansion control returned in Yahoo navigation links.; fr2: optional | - |
d | string | Related-topic destination JSON from a Yahoo result.; d: optional | - |
yahoo_domain | string | Yahoo regional domain prefix; search.yahoo.com selects the default domain.; yahoo_domain: optional; search.yahoo.com, espanol, be, fr, br, ca, de, es, in, id, ... 34 | search.yahoo.com |
Validation rules
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedboolean = true OR false; integer: safe integer; unknown, repeated, empty or invalid query values: rejected
Examples
curl --get "https://api.apihop.ai/v1/yahoo-search/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.
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}