Discover how to effectively use Bright Data’s SERP API with detailed FAQs on setup, troubleshooting, and advanced search techniques, including Google Image and hotel data scraping.
Use this file to discover all available pages before exploring further.
Why should I use Bright Data's SERP API?
The Bright Data SERP API solution allows you to focus on what matters most, the data. It provides you with a 3-in-1 proxy unlocking solution that autonomously takes care of the proxy management (which proxy to use and when), unlocking logic (captcha solving, fingerprinting, retries, best headers, etc), and scraping functionality.
Easy to integrate
In your code its as easy as swapping out the 1 line of your regular proxy network request with this 1 line SERP API request
Pay only for success
You only pay for successful requests.
Stable and predictable Billing
Because pricing is done according to number of pages (price per 1k requests), the bandwidth of your request doesn’t matter.
Accuracy
Use real user devices with laser-focused geotargeting (including city-level) to collect accurate Search Engine Result Pages (SERPs) from major search engines as a real user.
Built for volume and scale
Bright Data can support your growing traffic needs and peak periods with high success rates and exceptional response time (under 5 seconds), regardless of your request volume.
Reduce costs
Save money on data extraction engineers and IT professionals, without worrying about server maintenance.
Avoid operational headaches
Each request is sent from a different IP ensuring no IP is flagged or banned.
Structured data response
Get parsed or unparsed responses in JSON or HTML format for easy integration with any system.
Highly customized
Bright Data supports a wide variety of tailored parameters to answer your search requirements including different search types, different devices, results per page, etc.
Real Residential IPs
Access 72 million+ real user IPs in all geolocations.
How to use SERP API for "Google Search By Image"?
With Bright Data’s SERP API, it’s easy to collect Google Search by Image data.Google reverse image search (officially “Google Search by Image”), is a service provided by Google that allows users to search for images using an image as the starting point, rather than a written or spoken search query.
The JSON response includes the image in base64 encoding.
Bright Data’s SERP API makes it easy to collect hotel data, like prices, availability, reviews, and more.There are two ways to collect hotel data:
Google Search Hotel Knowledge
Google Travel Hotel page
Provides limited info per specific hotel on pricing and datesWhen you search for a specific hotel using Google Search, its details and reviews appear in the knowledge graph/widget that you can see on the right side below:You can set arrival and departure dates, the number of guests, and compare pricing..With SERP API, you can set these fields to collect different price combinations using dedicated parameters. See the full set of hotel parameters and features within our API documentation.
Provides full details on hotels, pricing, and datesSERP API also lets you target the hotel page in Google Travel (Google.*/travel/hotels/…), where you can find more prices and search by additional parameters (including arrival and departure dates, the number of adults and children, the children’s ages, and whether or not it has free cancellation) to collect more price combinations.
Only //Google.*/travel/hotels/… URLs are supported.
Go to the control panel API Guide for an explanation of how to target this page and the dedicated parameters you can use or see our API documentation.
How to send SERP API HTTPS requests without SSL Certificate?
When targeting HTTPS, URL data is encrypted. Therefore, for SERP API to decrypt the data and return the result, you will need to download and install the Bright Data Certificate.Here are sample code on how to send HTTPS requests:
How to send multiple queries in an identical API request?
SERP API supports sending 2 parallel query requests with one API request using the multi parameter.These parallel requests use the same peer IP and session and can be used for collecting additional data, comparison tests, etc. - e.g., making a pair of requests with different parameters/values. They use the same IP and session.
I saw that Google is making some changes to SERP results. Are you going to continue to support the SERP 'num' parameter?
Absolutely!Bright Data has developed a backup feature for the ‘num’ parameter which will kick in, in the event that Google stops supporting the ‘num’ parameter in the future.Our new feature will seamlessly compensate for any ‘num’ parameter limitations found in the initial SERP response data and send 9 additional requests (10 results each), combine them together, and return the full 100 results to you as a consolidated and comprehensive response. This new response will have the identical appearance and functionality of a response with the ‘ num=100’ parameter working flawlessly.
So, will there be any change to pricing due to this new feature?
Nope! Despite the additional requests involved in this new feature and providing the combined responses, there will be no change in pricing and this request will count for you as a single regular request for billing purposes. We understand the importance of maintaining costs and will absorb any additional costs here without passing them on to our customers.
If you having issues with the ‘num’ parameter please reach out to your Bright Data account manager, and we will activate the feature for you.
What are common use cases for SERP API?
Organic Keyword Tracking
Mapping a company’s ranking for various keywords in different locations
Brand Protection
Track top results for company brands and trademarks
Price Comparison
Search for products on online shopping websites and compare prices between different vendors
Market Research
Collect information about companies, contacts, locations, and more
Detect Copyright Infringements
Search for images or other copyright-protected content
Ad Intelligence
See which ads are showing for keywords in different countries, including double-click & Google ad services
How to query Microsoft Bing with dates filter?
In the following article, we will analyze the different options for date-specific search queries on Bing and how to use them effectively
Determining the Sequence String for “Exact Match” Query
To perform an Exact match date search, you need to calculate the sequence string for your desired date range. Follow these steps to determine the sequence string.
1
Use known sequence as a “Starting Point”
Use January 1, 2024 as the starting point with known sequence: 19723
2
Calculate StartDateSequence
Count the days from January 1 to your desired starting date.
Add the number of days counted to the sequence number of January 1 to get the StartDateSequence.
With the above, you can construct URLs to query Bing for any specific date range.
Why am I getting the error: "400 this endpoint is not supported"?
SERP API supports a select number of generic domains/endpoints related to search engines, some specific subdomains or endpoints, may not be supported - example: https://trends.google.com/trends Is not supported while https://trends.google.com/trends/explore Is supported.To see a list of working examples of domains and paths that are supported, we highly recommend that you check the SERP Playground and the SERP Documentation.
How can I see more ads in Google search results using the SERP API?
If you’re monitoring ads in Google search results and want to maximize visibility, consider using our Enhanced Ads feature for Google.com SERP API requests.Default SERP Behavior:
Retrieves both organic search results and ads across a broad geographical scope.
With Enhanced Ads Enabled:
Expands the range of search results and ads, simulating an incognito browsing experience without cookies.
To activate this feature, navigate to your SERP API zone in the control panel and enable it from the configuration tab.Learn More