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.
- 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 / mode | API / integration | Returns |
|---|---|---|
engine: google | search, maps, trends, reviews | |
| Bing | engine: bing | Web search results |
| Google options | shopping / jobOffers | Shopping 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.
Read the API documentation
Request options and integration examples
Try your target in the live test
Inspect a response before writing your parser
Start with 1,000 free creditsTest representative targets and inspect the returned data before scaling your requests.
Create an accountHow 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.
Request parameters
| Parameter | Requirement | Purpose |
|---|---|---|
engine | Required | google or bing |
search | Required | Your search query |
searchType | Required | search; Google also accepts maps, trends and reviews |
format | Required | json, json-html or html; Google Jobs requires HTML-compatible output |
domainCountry / resultLang | Required | Country and language codes, such as US and EN |
page | Optional | Result page to retrieve |
See the documentation for the complete request and response examples.
Credits, refunds and limits
| Scenario | Response | Credits |
|---|---|---|
| Successful request | Requested JSON or HTML format | Consumed at the applicable plan and option rate |
| Handled scraping failure | Error; inspect the response before retrying | Refunded 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?
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
Retrieve page markup and define your own parsing logic.
- HTML response, synchronous POST
- Optional JavaScript rendering and premium proxies
- Explore the Raw HTML API
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.
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 :)
Other categories
Start scraping search engine today
Try ScrapingBot with 1,000 free credits. No card required.
