Search
The first page of Google results for a search: rank, title, link, domain, snippet and date of each result, plus related searches.
Try it in the dashboard 100 free credits when you sign up, no card.
GET/v1/google/search
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
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. |
Example request
curl "https://pipefetch.com/v1/google/search?q=best+crm+software" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/google/search?q=best+crm+software', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/google/search",
params={"q": "best crm software"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]Example response
A real answer to the request above. Long texts and lists are shortened here, and the people who wrote comments, reviews or posts are replaced by a stand-in.
{
"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
}
}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.
Errors
Every error has the same shape, and none of them is charged. The full list is in the error reference.
Looking for an overview and use cases? See the Google Search API page.