Multi-engine search. One ranked list. No flaky scrapers to write.
POST /v1/search·5 credits·Search & Discovery
By default it queries Bing, DuckDuckGo and Brave in parallel (Google joins at depth: "thorough" and "stealth", and depth: "fast" is Bing alone), dedups by URL, and re-ranks the merged set with an intent-aware scorer. You see one ranked list, not three. Every result carries a relevance score, position, and source attribution.
The hard part
If you've ever wired a scraper against a public search engine, you know the rhythm: blocked IPs, captchas, rate-limit windows, and a different result schema every other Tuesday. Going broader with multiple engines means multiple parsers to maintain. You ask once and get back one ranked feed.
SERP API: what you get
Pin up to 8 of the 13 engines yourself (Google, Bing, DuckDuckGo, Brave, the Bing News and DuckDuckGo News verticals, plus research and code sources) or let depth choose the mix.
Multi-engine attribution: every result lists the engines that surfaced it.
time_range=day|week|month|year for fresh-only results. A dated query drops Bing from the default mix, because Bing's results ignore the date filter.
page=2 returns the next batch with no repeats; a page past the last result is empty and free.
topic picks a vertical: news for current articles, research for papers with DOIs, code for GitHub, Stack Overflow, Hacker News and MDN.
SERP API use cases
Ground an AI agent
Give a model fresh results in one stable schema: title, URL, snippet, score and the engines that surfaced each URL.
Rank tracking and SEO checks
Run the same query on a schedule, read position and engines, and page past the first ten with page.
News and research monitoring
Use time_range or start_date for fresh results, topic: "news" for current articles and topic: "research" for papers.
Site-scoped search
Keep results on the sites you care about with include_domains and exclude_domains, up to 15 each, or site: in the query.
SERP API quickstart: Python, Node and curl
Install the SDK with pip install scrapenest (PyPI) or npm install scrapenest (npm), or send the raw HTTP call with your key in the Authorization: Bearer header. No key yet? Sign up free, verify your email, then create a key in your dashboard.
import os
from scrapenest import Client
client = Client(os.environ["SCRAPENEST_API_KEY"])
res = client.search("best wireless earbuds 2026", num_results=10, time_range="month")
for hit in res.results:
print(hit.position, hit.title, hit.url, hit.engines)
import { ScrapeNest } from "scrapenest";
const client = new ScrapeNest({ apiKey: process.env.SCRAPENEST_API_KEY });
const res = await client.search({
query: "best wireless earbuds 2026",
num_results: 10,
time_range: "month",
});
for (const hit of res.results) console.log(hit.position, hit.title, hit.url, hit.engines);
Fields with no value are left out of the JSON rather than sent as null, so read optional fields defensively.
SERP API pricing
5 credits per call. Cache hits bill at 1 credit. 0 credits when nothing is delivered. Image results add +5 (bing) / +40 (brave).
Pair with /v1/search/deep when you need the body text alongside the SERP: one round-trip instead of fanning out fetches yourself.
Plans and pay-as-you-go rates are on the pricing page.
SERP API limits
query: 1 to 400 characters. num_results: 1 to 50, default 10.
page: 1 to 20. The engines return at most 50 results for one query, so a page past the last result is empty and bills 0.
engines: 1 to 8 of the 13 accepted values. An explicit list is honoured exactly, with no other engine added or retried in its place.
timeout_seconds: 0.1 to 20, default 5 (6 at thorough and stealth). When no engine answers in time the call returns 200 with partial: true and 0 credits.
include_domains and exclude_domains: up to 15 each. country: an ISO 3166-1 alpha-2 code.
Rate limits follow your plan, from 30 requests a minute on Free to 600 on Scale.
SERP API error codes
HTTP
Code
Meaning
422
validation_error
A field is missing or out of range, such as an unknown engine or more than 8 of them; details[] names the field.
503
upstream_failed
The engines failed well inside the time budget. Not billed; retry with backoff.
200 (in body)
search_deadline_exceeded
Set as error when the budget ran out before any engine answered: empty results, partial: true, 0 credits.
Every endpoint can also return 401 unauthorized (missing or wrong key), 402 insufficient_credits (balance used up), 403 email_not_verified (an email signup must verify its address before its key works) and 429 rate_limited or concurrency_limit_exceeded. All errors share one JSON envelope; see the error reference.
questions
SERP API FAQ
Which search engines does the SERP API use?
At the default depth: "balanced", Bing, DuckDuckGo and Brave run in parallel and their results are merged into one ranked list. fast is Bing alone, and thorough and stealth add Google. A time_range drops Bing from the mix. Pass engines to choose the sources yourself from the 13 accepted values.
How much does a search cost?
5 credits per call. A repeat inside the cache window bills 1 credit, and a call that delivers nothing (no results, a page past the last result, or a deadline hit) bills 0. Image results add 5 credits for Bing images and 40 for Brave images, and only when that source returns at least one image.
Can I get more than 10 results per query?
Yes. num_results takes 1 to 50, and page (1 to 20) returns the next batch with no repeats. The engines return at most 50 results for one query, so a page past that comes back empty and free.
Can I search news, papers or code instead of the whole web?
Set topic: news searches the news vertical, research returns papers with DOIs, and code adds GitHub, Stack Overflow, Hacker News and MDN to the web engines. Left out, news is blended in automatically when a query reads like a current event, holding at most half of the results.
Does the response include the page text?
No, this endpoint returns the SERP only: titles, URLs, snippets, scores and engines. The Deep Search API (/v1/search/deep) adds the cleaned text of the top pages in the same call, and the AI Answer API writes a cited answer from them.