Scraping Bot Animated

scrapingbot

Search Engine Scraper API

Retrieve Google and Bing search results through one API. Send a search query, choose the engine, country, language and response format, then receive JSON or HTML in the same request. Google also provides search types for Maps, Trends and Reviews, with options for Shopping and Jobs.

Start for freeRead the documentation1,000 free credits included
Data format
JSON / HTML
Credits per call
30
Request
synchronous POST
Free credits
1,000

Every API in this category

Choose an engine and search type. These are request options for one endpoint, not separate scraper names.

Engine / modeAPI / integrationReturns
Googleengine: googlesearch, maps, trends, reviews
Bingengine: bingWeb search results
Google optionsshopping / jobOffersShopping or Jobs results; format restrictions apply

Fields depend on the target and request context. A dedicated guide is not a guarantee that every field is available on every page.

Use the Search Engine API in your workflow

This category page is the complete Search Engine API guide. Choose an engine, query and locale below, then send one synchronous request.

Start with 1,000 free creditsTest representative targets and inspect the returned data before scaling your requests.

Create an account

How a Search Engine API call works

Search Engine requests are synchronous: submit a query with its engine and localization settings, then read the requested result format from the same response.

STEP 1Send the engine, query, search type, output format and localization parameters. Authenticate with your username and API key.

curl --request POST 'https://api.scraping-bot.io/scrape/search-engine' \
  --user "YOUR_USERNAME:YOUR_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "engine": "google",
  "search": "web scraping API",
  "searchType": "search",
  "format": "json",
  "domainCountry": "US",
  "resultLang": "EN",
  "page": 1
}'

This example searches Google’s US results in English. Change the engine, query and localization for your use case.

STEP 2Read JSON or HTML according to the requested format, then interpret result sections in the context of the engine, query and locale.

Returned dataResult links and search-specific sections; schema depends on engine, searchType and format

Request parameters

ParameterRequirementPurpose
engineRequiredgoogle or bing
searchRequiredYour search query
searchTypeRequiredsearch; Google also accepts maps, trends and reviews
formatRequiredjson, json-html or html; Google Jobs requires HTML-compatible output
domainCountry / resultLangRequiredCountry and language codes, such as US and EN
pageOptionalResult page to retrieve

See the documentation for the complete request and response examples.

Credits, refunds and limits

ScenarioResponseCredits
Successful requestRequested JSON or HTML formatConsumed at the applicable plan and option rate
Handled scraping failureError; inspect the response before retryingRefunded by the failure handler

Search Engine calls cost 30 credits on current plans and 16 credits on legacy plans. The proxy/rendering cost table for URL-based APIs does not apply to this endpoint.

Request limits depend on your plan. Respect rate-limit responses, avoid uncontrolled retries and check target-specific proxy requirements. Additional targeting or special-domain rules can affect costs; confirm your configuration in the pricing plans and documentation.

Search Engine API or Raw HTML scraper?

Search Engine API

Choose Search Engine for query-based results with explicit engine and localization parameters.

  • Google and Bing through a query-based endpoint
  • JSON, json-html or HTML depending on the request
  • Use Raw HTML for URL-based page retrieval and your own parser
Raw HTML

Retrieve page markup and define your own parsing logic.

Questions about the Search Engine API

Which engines are available?
The active API route supports Google and Bing. Google offers search, maps, trends and reviews; Bing supports web search.
Why do results differ between requests?
Search results depend on the query, country, language, page and time of retrieval. Keep those parameters consistent for comparisons.
Can I retrieve Google Jobs as JSON?
The backend requires html or json-html when jobOffers is enabled. The standard json format is not supported for that option.
Do I send a URL or a scraper name?
Neither is needed for a standard search request. Send engine, search, searchType, format, domainCountry and resultLang to /scrape/search-engine.
4.9
★★★★★

133 Google reviews

★★★★★
I've tested dozens of web scraping tools in my life, and they all had annoying limitations. With Scraping Bot, I don't have to worry about getting blocked or not having specialized technical knowledge! Highly recommend it :)
Orphée de Bouard

Other categories

Start scraping search engine today

Try ScrapingBot with 1,000 free credits. No card required.