Google API

Google Search API

Send a search and get the first page of Google's results back as JSON: every result with its rank, title, link, domain, snippet and date, and the related searches Google suggests.

  • 100 free credits
  • No card needed
  • No scraper to build or maintain
curl "https://pipefetch.com/v1/google/search?q=best+crm+software" \
  -H "x-api-key: YOUR_API_KEY"
The response

What you get

  • The organic results of the first page, about 10, each with its position
  • The title, link and domain of every result, and its breadcrumb as Google displays it
  • The snippet, and the date Google shows with a result when it shows one
  • The related searches Google suggests, each with its Google link
  • The country and interface language of the search, and the address of the same search on Google
200 OK · application/json
{
  "data": {
    "search": {
      "query": "best crm software",
      "correctedQuery": null,
      "country": "US",
      "language": "en",
      "url": "https://www.google.com/search?q=best+crm+software&hl=en&gl=us"
    },
    "results": [
      {
        "position": 1,
        "title": "Choosing The Best CRM Software In 2026 - Salesforce",
        "url": "https://www.salesforce.com/crm/best-crm/",
        "displayedUrl": "www.salesforce.com › crm › best-crm",
        "domain": "salesforce.com",
        "description": "Salesforce is consistently named the #1 CRM by IDC for providing world-class apps for every team and a unified platform that connects data, AI, and ap…",
        "date": null,
        "dateText": null
      },
      {
        "position": 2,
        "title": "The 11 best CRM software in 2026 - Zapier",
        "url": "https://zapier.com/blog/best-crm-app/",
        "displayedUrl": "zapier.com › App picks › Best apps",
        "domain": "zapier.com",
        "description": "Best CRM for versatility HubSpot (Web, iOS, Android) Zoho CRM (Web, iOS, Android) power to save some money. Predictive analytics: Pipedrive ( ...",
        "date": "2026-06-22T00:00:00.000Z",
        "dateText": "Jun 22, 2026"
      }
    ],
    "relatedSearches": [
      {
        "query": "top 10 crm software",
        "url": "https://www.google.com/search?q=top+10+crm+software&hl=en&gl=us"
      },
      {
        "query": "best crm software free",
        "url": "https://www.google.com/search?q=best+crm+software+free&hl=en&gl=us"
      }
    ]
  },
  "credits": {
    "used": 1,
    "remaining": 99
  }
}
Reference

One GET request

Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.

GET/v1/google/search

Costs 1 credit per request. Only requests that return data are charged.

Parameters

NameTypeDescription
qrequired string The search, up to 200 characters. Google's operators work: site:, "an exact phrase", a minus before a word, OR, intitle:.
countryoptional string Two-letter code of the country whose Google results you want, such as US, GB or DE. Without it: the United States.
langoptional string Language of Google's interface and of the snippets, such as en, de or pt-BR. Without it: the main language of the country.

Good to know

  • One request is the first page of results: about 10 organic results, in Google's order. There are no further pages.
  • The page read is the light results page Google serves to clients without JavaScript, not the full page a desktop browser gets. Its organic results and related searches are returned. Not included: ads, AI Overview, People also ask, the featured snippet, the places block, top stories, the knowledge panel, videos and images.
  • date is the date Google shows with a result, when it shows one. A relative one, such as "5 days ago", is worked out from the time of the request. dateText is the date as Google shows it.
  • Results are for a country, not for a city, and for a visitor who is not signed in. When Google answers for another spelling of the search than the one you sent, search.correctedQuery holds the search the results are for; otherwise it is null.
  • Google sometimes refuses a search. The request then answers 502 upstream_error, costs nothing and can be sent again. A search with no results answers 404 no_results and costs nothing.

Open the reference

Use cases

What people build with it

  • Rank tracking

    Search for a keyword on a schedule and store where your pages and your competitors' pages stand on the first page.

  • Web search for AI agents

    An agent gets current results for a question in one tool call, with links it can read and cite.

  • SEO and content research

    See which pages and domains Google ranks for a topic, and which related searches it suggests.

  • Finding pages of one kind

    Operators such as site: and intitle: narrow a search to one website or to pages with a word in their title.

Pricing

Buy credits once. Use them whenever.

This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.

5,000credits a month
5005,00050,000250,000
5,000requests at 1 credit

A request costs 1 credit. Requests that return nothing are free.

Best fit
Builder pack
12,000 credits, one-time payment
$29once
  • $2.42 per 1,000 credits
  • About $12.08 a month at this pace
  • Lasts about 2.4 months at this pace
  • Credits never expire
Start with 100 free credits

See all packs and what a credit buys

FAQ

Questions and answers

Is this the official Google Search API?

No. Pipefetch is an independent service and is not affiliated with Google. It returns what Google shows for a search, read at the moment of your request.

Which part of the results page do I get?

The organic results of the first page and the related searches. The endpoint reads the light results page Google serves to clients without JavaScript, not the full page a desktop browser gets. Ads, AI Overview, People also ask, the featured snippet, the places and map block, top stories, the knowledge panel, videos and images are not included.

Can I get the second page, or more than 10 results?

No. One request is the first page, which has about 10 organic results. Further pages are not available.

Do Google's search operators work?

Yes. q goes to Google as you write it, so site:, quotes around an exact phrase, a minus before a word, OR and intitle: work as they do on Google.

Are the results the same as in my browser?

They are the results for the country and interface language you ask for (the United States when you leave the country out), for a visitor who is not signed in. A browser also uses the searcher's city and search history, and it gets Google's full page, so what you see there can differ.

What if Google refuses the search?

Google sometimes refuses automated searches for a while. The request then answers 502 upstream_error, costs nothing, and can be sent again. A search with no results answers 404 no_results and costs nothing either.

What does a request cost?

One request costs 1 credit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 100 free credits without a card.

Guides

Step-by-step guides

Free tools

Free tools for the same data

More

More Google APIs

Also on the same key

Other sources

Make your first request in a minute

Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.