Account
Policy
Privay & Security
Billing & Pricing
Usage Monitor
FAQs
SERP API
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.
curl -v --compressed --proxy brd.superproxy.io:22225 \
--proxy-user brd-customer-{ACCOUNT_ID}-zone-{ZONE}:{PASSWORD} \
"https://www.google.com/searchbyimage?image_url={TARGET_IMAGE_URL}"
See the rest of our Google Image SERP features.
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 dates
When 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.
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 or skip the SSL validation.
Here are sample code on how to send HTTPS requests:
curl "https://www.google.com/search?q=pizza&lum_json=1" \
-v --insecure--compressed
--proxy brd.superproxy.io:22225 \
--proxy-user brd-customer-<ACCOUNT_ID>-zone-<ZONE>:<PASSWORD> \
Shell
Java
Other Programming Languages
Use the cacert
flag followed by the certificate file path:
curl "https://www.google.com/search?q=pizza&lum_json=1" \
-v --compressed --cacert “{cert file path}“ \
--proxy brd.superproxy.io:22225 \
--proxy-user brd-customer-{ACCOUNT_ID}-zone-{ZONE}:{PASSWORD}
Please refer to this article: Parsing Search Results
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.
Conditions:
- Supported only for a zone with asynchronous requests enabled
- Supported only for Google Search
- Limited to 2 requests
- Billed as 2 requests
Use Case:
multi:[
{
"keyword": "pizza",
"num": 20
},
{
"keyword": "pizza",
"num": 100
}
]
Sample Code:
curl -v --compressed "https://brightdata.com/api/serp/req" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {API_TOKEN}" \
-d "{\"country\":\"us\",\"multi\":[{\"keyword\":\"pizza\",\"num\":20},{\"keyword\":\"pizza\",\"num\":100}]}"
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.
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.
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
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
CPM pricing (price per 1k requests) allows for this so 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.