Every plan is 38 to 40% below ScrapingBee for the same credits, and price locked for life. See the comparison

Search API

Google Search API

Google search results as JSON from one GET request: organic results with the destination URL of every link, top and bottom ads, People also ask questions and related searches. 10 credits a search, and a failed search costs nothing.

Try a Google search Full reference

Quick start

curl "https://api.webfetch.io/v1/google?search=car+insurance+quotes" \
  -H "Authorization: Bearer wfk_your_key"

JavaScript (npm install @tuxxin/webfetch)

const r = await client.google('car insurance quotes');
r.organic_results[0].url;

Python (pip install webfetch-io)

r = client.google("car insurance quotes")
r["organic_results"][0]["url"]

PHP (composer require tuxxin/webfetch)

$r = $client->google('car insurance quotes');
$r['organic_results'][0]['url'];

Also served at https://webfetch.io/api/v1/google and at ScrapingBee's older path, /api/v1/store/google. The key goes in the Authorization header, or in api_key. AI agents can run the same search with the MCP server's search_web tool.

How it works

  1. You send the query and the options below. The search goes out through our proxy network from the country you pick, never from our own servers.
  2. Every Google search loads in a real browser. A light request skips images, fonts and media; a regular request loads the page in full.
  3. If Google answers with a bot check, the search is retried on another exit, up to three times within 90 seconds, and the exit that was blocked rests for a while.
  4. The page is read into JSON in a fixed shape: every key is present on every response, lists are ranked from position 1, and result links are the destination pages.
  5. A results page is billed, including one with no results. Anything else is not.

Parameters

ParameterDefaultWhat it does
searchrequiredThe query, as typed in the search box. Operators such as site: work.
country_codeusTwo-letter country to search from.
languageenInterface language, such as de.
page1Results page, 1 to 50. 10 results a page.
light_requesttrue10 credits when true, 15 when false.
search_typeclassicclassic for the full results page, ads for the ads only.
add_htmlfalseAlso return the page's HTML, in html.
tagnoneYour own label, echoed back in Wf-Tag.
nfprfalseTurn off Google's spelling auto-correction.
extra_paramsnoneExtra Google URL parameters, limited to filter, fpstate, locale, nfpr, safe, safe_search, tbm, tbs and udm.

Response

A real Google search for "car insurance quotes" from US, first results only. Empty lists are always present, so a client never checks whether a key exists.

{
    "meta_data": {
        "url": "https://www.google.com/search?q=car%20insurance%20quotes&hl=en&gl=us&sei=Z3zRatnpMpbMkPIPrtev0Qc",
        "number_of_results": null,
        "location": null,
        "number_of_organic_results": 9,
        "number_of_ads": 0,
        "number_of_page": 1,
        "zero_results_for_original_query": false
    },
    "organic_results": [
        {
            "position": 1,
            "title": "Car Insurance | Get An Auto Insurance Quote",
            "url": "https://www.allstate.com/auto-insurance",
            "displayed_url": "https://www.allstate.com \u203a auto-insurance",
            "description": "What do I need to get a car insurance quote? \u00b7 Personal information, including your name, address and phone number \u00b7 The year, make and model of your vehicle ...",
            "domain": "www.allstate.com",
            "date": null,
            "date_utc": null,
            "rich_snippet": [],
            "sitelinks": []
        },
        {
            "position": 2,
            "title": "Compare Cheap Car Insurance Quotes from 120+ Top Insurers",
            "url": "https://insurify.com/",
            "displayed_url": "https://insurify.com",
            "description": "Compare Car Insurance Rates From $45/mo. (Updated October 2026). Find the lowest car insurance rates from 120+ insurers and save up to $1,100* annually with ...",
            "domain": "insurify.com",
            "date": null,
            "date_utc": null,
            "rich_snippet": [],
            "sitelinks": []
        }
    ],
    "top_ads": [],
    "bottom_ads": [],
    "related_queries": [
        {
            "position": 1,
            "title": "Full coverage car insurance quotes",
            "url": "https://www.google.com/search?sca_esv=7c1e84b1a6318645&hl=en&gl=us&sxsrf=APpeQnsBxF4x7TLa1oybhj3AfHdjCGJnug:1792113768386&q=Full+coverage+car+insurance+quotes&sa=X&ved=2ahUKEwjmsb6EsL2XAxX8N0QIHVK6ETAQ1QJ6BAgvEAE"
        },
        {
            "position": 2,
            "title": "Car insurance quotes online",
            "url": "https://www.google.com/search?sca_esv=7c1e84b1a6318645&hl=en&gl=us&sxsrf=APpeQnsBxF4x7TLa1oybhj3AfHdjCGJnug:1792113768386&q=Car+insurance+quotes+online&sa=X&ved=2ahUKEwjmsb6EsL2XAxX8N0QIHVK6ETAQ1QJ6BAgwEAE"
        }
    ],
    "related_searches": [
        {
            "position": 1,
            "query": "Full coverage car insurance quotes",
            "link": "https://www.google.com/search?sca_esv=7c1e84b1a6318645&hl=en&gl=us&sxsrf=APpeQnsBxF4x7TLa1oybhj3AfHdjCGJnug:1792113768386&q=Full+coverage+car+insurance+quotes&sa=X&ved=2ahUKEwjmsb6EsL2XAxX8N0QIHVK6ETAQ1QJ6BAgvEAE",
            "type": "standard"
        },
        {
            "position": 2,
            "query": "Car insurance quotes online",
            "link": "https://www.google.com/search?sca_esv=7c1e84b1a6318645&hl=en&gl=us&sxsrf=APpeQnsBxF4x7TLa1oybhj3AfHdjCGJnug:1792113768386&q=Car+insurance+quotes+online&sa=X&ved=2ahUKEwjmsb6EsL2XAxX8N0QIHVK6ETAQ1QJ6BAgwEAE",
            "type": "standard"
        }
    ],
    "questions": [
        {
            "position": 1,
            "text": "Who's got the cheapest car insurance right now?",
            "answer": null
        },
        {
            "position": 2,
            "text": "Who has the lowest rate for auto insurance?",
            "answer": null
        }
    ],
    "knowledge_graph": [],
    "local_results": [],
    "top_stories": [],
    "news_results": [],
    "images": [],
    "map_results": [],
    "hotel_results": [],
    "ai_overviews": []
}

Ads only

With search_type=ads the response has the same keys, with the ads filled in and the other lists empty. Each ad has its position, its landing page in url, and Google's click URL in tracking_url. A page with no ads returns empty lists. Same price as a full search.

{
    "meta_data": {
        "url": "https://www.google.com/search?q=car+insurance+quotes&hl=en&gl=gb",
        "number_of_results": null,
        "location": null,
        "number_of_organic_results": 0,
        "number_of_ads": 4,
        "number_of_page": 1,
        "zero_results_for_original_query": false
    },
    "organic_results": [],
    "top_ads": [
        {
            "position": 1,
            "title": "Compare Cheap Car Insurance UK - Up To \u00a3483 Cheaper - Start...",
            "url": "https://www.moneysupermarket.com/",
            "tracking_url": "https://www.google.com/aclk?sa=L&ai=DChsSEwjfvoewoL2XAxUnlIMHHbT2K9QYACICCAEQAhoCZWY&co=1&gclid=EAIaIQobChMI376HsKC9lwMVJ5SDBx209ivUEAAYASAAEgLLYfD_BwE&sig=AOD64_3w8gvBJRSHqXJRhecTrBE1qsq-FA&q&adurl",
            "visual_url": "https://www.moneysupermarket.com",
            "domain": "www.moneysupermarket.com",
            "description": "Start Your Car Insurance Quote Now & Find Cheap Cover Today With MoneySuperMarket",
            "snippet": null,
            "sitelinks": []
        },
        {
            "position": 2,
            "title": "Saga\u00ae Car Insurance - For People Over 50",
            "url": "https://www.saga.co.uk/",
            "tracking_url": "https://www.google.com/aclk?sa=L&ai=DChsSEwjfvoewoL2XAxUnlIMHHbT2K9QYACICCAEQAxoCZWY&co=1&gclid=EAIaIQobChMI376HsKC9lwMVJ5SDBx209ivUEAAYAiAAEgLtkfD_BwE&sig=AOD64_3bnTC3X47TYw_9XsJfdTCZFOz3Jw&q&adurl",
            "visual_url": "https://www.saga.co.uk \u203a car-insurance",
            "domain": "www.saga.co.uk",
            "description": "All Saga Car Insurance Cover Levels Are Which? Best Buys. Get A Quote Now. Read more",
            "snippet": null,
            "sitelinks": []
        }
    ],
    "bottom_ads": []
}

Questions

Is it compatible with ScrapingBee?

Yes. The path (/api/v1/google, and the older /api/v1/store/google), the parameter names and defaults, the response keys and the credit costs match ScrapingBee's Google Search API, so an integration switches by changing the host and the key.

What does a search cost?

10 credits for a light request (the default) and 15 for a regular one. An ads-only search costs the same. Credits come from your plan's monthly allowance, or from the free credit balance.

Do failed searches cost credits?

No. A search Google blocks, one that times out, or one that returns a page that is not a results page is never billed. A blocked search is retried on another exit first, up to three times.

Which countries can I search from?

9 right now: United States, Australia, Brazil, Canada, Germany, Italy, South Korea, Spain, United Kingdom. Set country_code; a country we cannot search from is refused rather than answered from somewhere else.

Why does it need the robots.txt opt-out?

Google's robots.txt disallows automated access to its result pages, and webfetch honors robots.txt unless you turn the opt-out on in your key portal. Turning it on records your acceptance of the acceptable use policy. Paid plans turn it on themselves; free accounts request it in the key portal, and a person approves each request.

More