Scraper APIs SERP Google Search API

Google Search API

Scrape Google search data at scale with a single API call. Just insert the URL or query term and get all the info you need, such as organic results, ads, images, links, and other relevant details, in a well-structured format.

No credit card required

Last updated 16 days ago

Supported Query Parameters

Parameter Type Default Description
url string <uri> - The full Google Search URL for which results should be extracted. Example: https://www.google.com/search?q=web+scraping.
tld string .com The top-level domain of the Google website. Supported examples: .com, .ca, .co.uk, …
country string - The originating country for the search. Example: country=es.

Code Sample

Endpoint Description
https://serp.api.zenrows.com/v1/targets/google/search?url={url}&apikey=YOUR_ZENROWS_API_KEY Replace {url} with the full Google Search URL and YOUR_ZENROWS_API_KEY with your API key.
Terminal
# pip install requests
import requests

apikey = "<YOUR_ZENROWS_API_KEY>"
params = {
    'apikey': apikey,
}

response = requests.get('https://serp.api.zenrows.com/v1/targets/google/search/iphone', params=params)
print(response.text)

Turn URL or Query Into a Well-Structured Data

Input
Output
{
    "query": "Iphone 15",
    "ad_results": [
        {
            "link": "https:\/\/www.google.com\/aclk?sa=l&ai=DChcSEwito4Hkgt-LAxUeFq0GHQFdHpcYABAMGgJwdg&co=1&gclid=EAIaIQobChMIraOB5ILfiwMVHhatBh0BXR6XEAMYASAKEgLeUvD_BwE&sig=AOD64_2-rD7ChmHltpxpySf-6eV5Vo4ihg&q=&ved=2ahUKEwi6lfzjgt-LAxVMOTQIHdbNHRQQh78CegQIFBAB&adurl=",
            "title": "iPhone 15 | Apple Official Site",
            "snippet": "As amazing as ever. Buy iPhone 15 from $699 before trade-in. Save when you trade in the device you have for the one you want. Learn more and shop now. Payment options available.",
            "displayed_link": "https:\/\/www.apple.com",
            "sitelinks_inline": [
                "https:\/\/www.google.com\/aclk?sa=l&ai=DChcSEwito4Hkgt-LAxUeFq0GHQFdHpcYABAMGgJwdg&co=1&gclid=EAIaIQobChMIraOB5ILfiwMVHhatBh0BXR6XEAMYASAKEgLeUvD_BwE&sig=AOD64_2-rD7ChmHltpxpySf-6eV5Vo4ihg&q=&ved=2ahUKEwi6lfzjgt-LAxVMOTQIHdbNHRQQh78CegQIFBAB&adurl=",
                "https:\/\/www.apple.com\/us\/shop\/go\/buy_iphone\/iphone_15\/?",
                "https:\/\/www.apple.com\/us\/shop\/go\/trade_in?",
                "https:\/\/www.apple.com\/us\/shop\/go\/iphone\/buy\/?"
            ]
        }
    ],
    "pagination": {
        "next_page": "https:\/\/www.google.com\/search?q=Iphone+15&sca_esv=fc28f3849faf5ac3&udm=14&ei=7dG9Z_rqIczy0PEP1pv3oAE&start=10&sa=N&sstk=Af40H4WpfvmEDUjQoXtfENnYutVFxQQlkpP-_k0Zymoux5wN6VloL_rC83ItgDtbgHrc-rh7rkHuby9lVk6cI6hAd4wKerWvTXfk1g&ved=2ahUKEwi6lfzjgt-LAxVMOTQIHdbNHRQQ8NMDegQIBhAW"
    },
    "organic_results": [
        {
            "link": "https:\/\/www.apple.com\/shop\/buy-iphone\/iphone-15",
            "title": "Buy iPhone 15 and iPhone 15 Plus",
            "snippet": "Get $40 - $630 off a new iPhone 15 or iPhone 15 Plus when you trade in an iPhone 8 or newer. 0% financing available. Buy now with free shipping.",
            "displayed_link": "https:\/\/www.apple.com \u203a iPhone \u203a iPhone 15"
        },
        {
            "link": "https:\/\/www.t-mobile.com\/cell-phone\/apple-iphone-15",
            "title": "Apple iPhone 15: Prices, 3 Colors, Sizes, Features & Specs",
            "snippet": "Order the new Apple iPhone 15 with T-Mobile and take advantage of our best deals. Explore the latest features & specs, colors, prices, and more!",
            "displayed_link": "https:\/\/www.t-mobile.com \u203a Phones \u203a Apple"
        },
        {
            "link": "https:\/\/www.apple.com\/iphone\/",
            "title": "iPhone",
            "snippet": "Designed for Apple Intelligence. Discover the new iPhone 16e along with iPhone 16 Pro, iPhone 16, and iPhone 15.",
            "displayed_link": "https:\/\/www.apple.com \u203a iphone"
        },
        {
            "link": "https:\/\/www.reddit.com\/r\/iphone\/comments\/1ivjwq3\/iphone_16e_the_same_price_as_an_iphone_15\/",
            "title": "iPhone 16e the same price as an iPhone 15",
            "snippet": "The 15 has better hardware features like ultra wideband for precise tracking of airtags, camera sensor shift image stabilization, ultra wide cam ...",
            "displayed_link": "70+ comments  \u00b7  2 days ago"
        },
        {
            "link": "https:\/\/en.wikipedia.org\/wiki\/IPhone_15",
            "title": "iPhone 15",
            "snippet": "The iPhone 15 and iPhone 15 Plus are smartphones developed and marketed by Apple. They are the seventeenth generation of iPhones, succeeding the iPhone 14 ...",
            "displayed_link": "https:\/\/en.wikipedia.org \u203a wiki \u203a IPhone_15"
        },
        {
            "link": "https:\/\/apple.slashdot.org\/story\/25\/02\/20\/2150209\/apple-is-bringing-visual-intelligence-to-the-iphone-15-pro",
            "title": "Apple Is Bringing Visual Intelligence To the iPhone 15 Pro",
            "snippet": "4 days ago \u2014",
            "displayed_link": "https:\/\/apple.slashdot.org \u203a story \u203a apple-is-bringing-vis..."
        },
        {
            "link": "https:\/\/www.cnet.com\/tech\/mobile\/apple-iphone-15-and-15-plus-review-a-big-leap-from-older-iphones\/",
            "title": "Apple iPhone 15 and 15 Plus Review: A Big Leap From ...",
            "snippet": "Sep 19, 2023 \u2014",
            "displayed_link": "https:\/\/www.cnet.com \u203a Tech \u203a Mobile"
        },
        {
            "link": "https:\/\/www.apple.com\/newsroom\/2023\/09\/apple-debuts-iphone-15-and-iphone-15-plus\/",
            "title": "Apple debuts iPhone 15 and iPhone 15 Plus",
            "snippet": "Sep 12, 2023 \u2014",
            "displayed_link": "https:\/\/www.apple.com \u203a newsroom \u203a 2023\/09 \u203a apple-d..."
        },
        {
            "link": "https:\/\/www.reddit.com\/r\/samsunggalaxy\/comments\/1ixrwj4\/iphone_16e_vs_iphone_15_vs_samsung_s24_which_one\/",
            "title": "iPhone 16e vs iPhone 15 vs Samsung S24 \u2013 Which One ...",
            "snippet": "I'm planning to buy a new phone in India and I'm stuck between three options: iPhone 16e, iPhone 15, and Samsung Galaxy S24.",
            "displayed_link": "4 comments  \u00b7  3 hours ago"
        },
        {
            "link": "https:\/\/www.bestbuy.com\/site\/iphone\/shop-iphone-15-models\/pcmcat1694621185359.c?id=pcmcat1694621185359",
            "title": "iPhone 15 Models: 15, 15 Plus, 15 Pro & 15 Pro Max",
            "snippet": "Choose an iPhone 15 model at Best Buy. Select an iPhone 15, iPhone 15 Plus, iPhone 15 Pro or iPhone 15 Pro Max model.",
            "displayed_link": "https:\/\/www.bestbuy.com \u203a Cell Phones \u203a iPhone"
        }
    ]
}
Pass the URL Place the URL in the builder.
Generate Code Generate the code snipped for your programming language.
Integrate Integrate with just a few lines.

Collect Ready-to-Use Structured Data

Search Results

Ads

Images

News

Products

Flights

Maps Results

Jobs

Videos

Related Questions

Easy Integration

Our API works flawlessly with any programming language you prefer.

PYTHON
NODE
JAVA
PHP
GO
RUBY
C-SHARP

Fixed Price Per Request

Know exactly what you'll pay for every request, with transparent per-URL pricing. No hidden costs.

For any company size
Cancel anytime, no questions asked!
Free 14 day trial
$0
Scraper APIs BETA
1,000 protected results
Universal Scraper API
1,000 basic results
40 protected results
Scraping Browser
100 MB
Developer
$69 /month
66.7K protected results
  • AI support and documentation
  • Standard analytics
you also get
Universal Scraper API
Scraping Browser
Residential Proxies
Startup
$129 /month
130K protected results
Everything from Developer plan
  • Chat support
you also get
Universal Scraper API
Scraping Browser
Residential Proxies
Most Popular
Business
$299 /month
315.8K protected results
Everything from Startup plan
  • Alerts & notifications
  • Advanced analytics
you also get
Universal Scraper API
Scraping Browser
Residential Proxies
Subscription can be spent on any product
Custom
Enterprise
  • Account Manager
  • Premium SLAs
  • Flexible Pricing Package
  • Priority Premium Support
  • Advanced Analytics
  • Custom concurrent requests
Not sure which plan suits you?
Try ZenRows for FREE with up to 1000 URLs.
No credit card required

Unmatched Support and Documentation

Quick Integration

Implemented in minutes with our beginner-tested documentation and ready code samples.

24/7 Developer Support

Get questions answered with support 24/7. Find developers on the other side of the line.

“The api itself is flexible and the large amount of documentation made it easy to follow along and combine it with pre-existing projects I had written.”

Ryan C.

Related Scrapers

Google Image API

Get rich visual data, including original images, thumbnails, source details, licensing information, and related metadata.

Google Maps API

Access Google Maps details about places, including addresses, reviews, photos, opening hours, and more, through a single reliable endpoint.

Google Shopping API

Extract product listings and retail data from Google Shopping results, such as detailed product information, pricing, seller details, and more.

Extract Structured Google Data at Scale

Up to 1,000 URLs for free are waiting for you