Serper
App · Web Search · 14 actions
Run Google searches from a workflow and get the results as data: web results, images, news, videos, places, Google Maps and its reviews, shopping, Scholar papers, patents, Google Lens matches for an image, and search suggestions. Read any web page as text or markdown.
Actions
| Action | What it does |
|---|---|
| Get a Google Maps place | Look one place up on Google Maps by its Place ID or CID and get its address, categories, phone number, website, rating, and coordinates. |
| Get place reviews | Read the Google reviews of a place, newest, best, worst or most relevant first, optionally about one topic, and page through them. |
| Get search suggestions | Get the search suggestions Google would offer for a partial query, the way its search box does. |
| Scrape a web page | Read any public web page and get its text, optionally as markdown, along with the page's title and description tags and its structured data. |
| Search by image with Google Lens | Give Google Lens the address of an image and get back the pages it matched to it: a reverse image search. |
| Search Google | Run a Google search and get the organic results back as data, along with the knowledge panel, answer box, 'People also ask' questions, and related searches when Google shows them. |
| Search Google Images | Search Google Images and get each picture's full-size and thumbnail address, its dimensions, and the page it came from. |
| Search Google Maps around a point | Search Google Maps around a point you choose, the way you would by moving the map and typing, and get each place's address, categories, phone number, website, rating, coordinates, and Place ID. |
| Search Google Maps places | Find local businesses and places on Google Maps, with their address, category, phone number, website, rating, and coordinates. |
| Search Google News | Search Google News and get the matching articles with their headline, publisher, publication date, and link. |
| Search Google Patents | Search Google Patents and get each patent's number, inventor, assignee, priority, filing, grant and publication dates, a PDF of it, and its drawings. |
| Search Google Scholar | Search academic literature on Google Scholar and get each paper's publication details, citation count, and PDF link where one is available. |
| Search Google Shopping | Search Google Shopping and get the matching products with their price, seller, delivery terms, and rating. |
| Search Google Videos | Search Google Videos and get the matching videos with their title, channel, length, and link. |
Get a Google Maps place
Look one place up on Google Maps by its Place ID or CID and get its address, categories, phone number, website, rating, and coordinates. Costs 3 Serper credits.
Inputs
- Place ID
place_idtext - The place's Google Place ID, such as ChIJVZZL0gFZwokR3LhSTVPHh8U, from 'Search Google Maps around a point'. Fill in this or the CID; when both are filled in, the Place ID is used.
- CID
cidtext - Google's CID for the place, a long number such as 14233564307921221852. Both place searches return one.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
Outputs
credits_usednumber- How many Serper credits this step spent.
foundtrue/false- Whether Google Maps has a place by that id.
placeobject- The place, or null if Google has none by that id.
Example output
{
"credits_used": 3,
"found": true,
"place": {
"address": "521 5th Ave, New York, NY 10175",
"booking_links": [],
"cid": "14233564307921221852",
"description": "Chain with on-trend fashions and accessories.",
"fid": "0x89c259014c5cc8d5:0xc587c7534d52b8dc",
"latitude": 40.7541314,
"longitude": -73.9798826,
"opening_hours": {
"Monday": "10 AM\u20139 PM",
"Sunday": "11 AM\u20138 PM"
},
"phone_number": "(212) 867-4107",
"place_id": "ChIJVZZL0gFZwokR3LhSTVPHh8U",
"position": 1,
"rating": 4.1,
"rating_count": 1900,
"thumbnail_url": "https://lh3.googleusercontent.com/p/urban.jpg",
"title": "Urban Outfitters",
"type": "Clothing store",
"types": [
"Clothing store",
"Shoe store"
],
"website": "https://www.urbanoutfitters.com/"
}
}Get place reviews
Read the Google reviews of a place, newest, best, worst or most relevant first, optionally about one topic, and page through them. Identify the place by the Place ID or CID a place search returned.
Inputs
- Place ID
place_idtext - The place's Google Place ID, such as ChIJVZZL0gFZwokR3LhSTVPHh8U, from 'Search Google Maps around a point'. Fill in this or the CID; when both are filled in, the Place ID is used.
- CID
cidtext - Google's CID for the place, a long number such as 14233564307921221852. Both place searches return one.
- FID
fidtext - Google's feature id for the place, such as 0x89c259a9b3117469:0xd134e199a405a163, as Google Maps steps return it. Only needed when you have neither a Place ID nor a CID.
- Sort by
sort_bytext - Which reviews come first.One of:
mostRelevant(Most relevant),newest,highestRating(Highest rating),lowestRating(Lowest rating). Default:mostRelevant. - Review topic
topic_idtext - Only return reviews about one topic, such as the service or the prices: the id of a topic an earlier 'Get place reviews' step listed under topics.
- Next page token
next_page_tokentext - To read the next page of reviews, the next_page_token an earlier 'Get place reviews' step returned. Leave blank for the first page.
- Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
Outputs
credits_usednumber- How many Serper credits this step spent.
next_page_tokentext- Pass this to the next 'Get place reviews' step to read the next page. Null when there are no more.
review_countnumber- How many reviews were returned.
reviewslist- This page of reviews, in the order asked for.
topicslist- The topics Google groups the place's reviews by.
Example output
{
"credits_used": 1,
"next_page_token": "CAESY0NBRVFDaG9xRlFvVE1qQXlOQzB3TlMweE5TQXhPVG8w",
"review_count": 1,
"reviews": [
{
"date": "2 weeks ago",
"rating": 5,
"snippet": "Great espresso and friendly staff.",
"user": {
"name": "Sam Rivera"
}
}
],
"topics": [
{
"id": "espresso",
"keyword": "espresso",
"mentions": 42
}
]
}Get search suggestions
Get the search suggestions Google would offer for a partial query, the way its search box does. Useful for keyword research and for expanding a topic into the phrasing people actually search for.
Inputs
- Search query
querytextRequired - The partial query to get suggestions for, such as 'best coffee grinder for'.
- Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
- Location
locationtext - Search from a specific place, which changes the local results Google shows. Write it the way Google does, most specific part first.
Outputs
credits_usednumber- How many Serper credits this step spent.
suggestion_countnumber- How many suggestions were returned.
suggestionslist- The suggested searches, most likely first.
Example output
{
"credits_used": 1,
"suggestion_count": 2,
"suggestions": [
"best coffee grinder for espresso",
"best coffee grinder for french press"
]
}Scrape a web page
Read any public web page and get its text, optionally as markdown, along with the page's title and description tags and its structured data. Most pages cost 2 Serper credits; pages that are hard to read can cost 6 or 10.
Inputs
- Page address
urltextRequired - The web address of the page to read, starting with https://.
- Include markdown
include_markdowntrue/false - Also return the page as markdown, which keeps its headings, lists and links. The plain text always comes back.Default:
false.
Outputs
credits_usednumber- How many Serper credits this step spent.
json_ldlist- The page's structured data (JSON-LD), such as a product's price or an article's author. Empty when the page has none.
markdowntext- The page as markdown. Only when 'Include markdown' is on.
metadataobject- The tags in the page's head, such as its title, description and social sharing image, by name.
texttext- The page's readable text.
urltext- The address that was scraped.
Example output
{
"credits_used": 2,
"json_ld": [],
"markdown": null,
"metadata": {
"title": "Example Domain"
},
"text": "Example Domain\nThis domain is for use in documentation examples.",
"url": "https://example.com/"
}Search by image with Google Lens
Give Google Lens the address of an image and get back the pages it matched to it: a reverse image search. Useful for finding where a picture appears online, identifying what it shows, or tracing its source. Costs 3 Serper credits.
Inputs
- Image address
image_urltextRequired - The web address of the image to look up, such as a .jpg or .png link. Google has to be able to open it, so it must be public.
- Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
Outputs
credits_usednumber- How many Serper credits this step spent.
match_countnumber- How many matches were returned.
matcheslist- The pages Google Lens matched, best first.
Example output
{
"credits_used": 3,
"match_count": 1,
"matches": [
{
"imageUrl": "https://upload.wikimedia.org/lion.jpg",
"link": "https://en.wikipedia.org/wiki/Lion",
"source": "Wikipedia",
"title": "Lion - Wikipedia"
}
]
}Search Google
Run a Google search and get the organic results back as data, along with the knowledge panel, answer box, 'People also ask' questions, and related searches when Google shows them.
Inputs
- Search query
querytextRequired - What to search for. Google's own operators work here, such as site:example.com or "an exact phrase".
- Number of results
num_resultsnumber - How many results to ask for, from 1 to 100. Defaults to 10. Google now serves most searches ten results to a page, so you may get only 10 back whatever you ask for; use Page to read further.From 1 to 100. Default:
10. - Page
pagenumber - Which page of results to return. 1 (the default) is the first page.At least 1. Default:
1. - Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
- Location
locationtext - Search from a specific place, which changes the local results Google shows. Write it the way Google does, most specific part first.
- Published within
date_rangetext - Only return results published recently. Leave blank for any time.One of:
qdr:h(Past hour),qdr:d(Past 24 hours),qdr:w(Past week),qdr:m(Past month),qdr:y(Past year). - Correct spelling
autocorrecttrue/false - Let Google fix an apparent typo in the query. Turn this off when the query is a product code, a surname, or anything else Google would 'correct' into the wrong thing.Default:
true.
Outputs
answer_boxobject- The direct answer Google showed above the results, or null if there was none.
credits_usednumber- How many Serper credits this step spent.
knowledge_graphobject- The knowledge panel Google showed beside the results, or null if there was none.
people_also_asklist- The 'People also ask' questions and their answers.
related_searcheslist- Related searches Google suggested.
result_countnumber- How many organic results were returned.
resultslist- The organic results, most relevant first.
Example output
{
"answer_box": null,
"credits_used": 1,
"knowledge_graph": {
"attributes": null,
"description": "Coffee is a beverage brewed from roasted coffee beans.",
"description_link": "https://en.wikipedia.org/wiki/Coffee",
"description_source": "Wikipedia",
"image_url": null,
"title": "Coffee",
"type": "Beverage",
"website": null
},
"people_also_ask": [
{
"link": "https://example.com/coffee-health",
"question": "Is coffee good for you?",
"snippet": "In moderation, coffee is fine for most adults.",
"title": "Coffee and health"
}
],
"related_searches": [
"coffee beans",
"types of coffee"
],
"result_count": 1,
"results": [
{
"attributes": null,
"date": null,
"link": "https://en.wikipedia.org/wiki/Coffee",
"position": 1,
"sitelinks": [],
"snippet": "Coffee is a beverage brewed from roasted coffee beans.",
"title": "Coffee - Wikipedia"
}
]
}Search Google Images
Search Google Images and get each picture's full-size and thumbnail address, its dimensions, and the page it came from.
Inputs
- Search query
querytextRequired - What kind of image to search for.
- Number of results
num_resultsnumber - How many results to ask for, from 1 to 100. Defaults to 10. Google now serves most searches ten results to a page, so you may get only 10 back whatever you ask for; use Page to read further.From 1 to 100. Default:
10. - Page
pagenumber - Which page of results to return. 1 (the default) is the first page.At least 1. Default:
1. - Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
- Location
locationtext - Search from a specific place, which changes the local results Google shows. Write it the way Google does, most specific part first.
- Published within
date_rangetext - Only return results published recently. Leave blank for any time.One of:
qdr:h(Past hour),qdr:d(Past 24 hours),qdr:w(Past week),qdr:m(Past month),qdr:y(Past year).
Outputs
credits_usednumber- How many Serper credits this step spent.
image_countnumber- How many images were returned.
imageslist- The images, in Google's order.
Example output
{
"credits_used": 1,
"image_count": 1,
"images": [
{
"image_height": 1080,
"image_url": "https://example.com/coffee.jpg",
"image_width": 1920,
"link": "https://example.com/coffee",
"position": 1,
"source": "Example",
"thumbnail_url": "https://example.com/coffee-thumb.jpg",
"title": "A cup of coffee"
}
]
}Search Google Maps around a point
Search Google Maps around a point you choose, the way you would by moving the map and typing, and get each place's address, categories, phone number, website, rating, coordinates, and Place ID. Costs 3 Serper credits.
Inputs
- Search query
querytextRequired - What to look for on the map, such as 'coffee' or 'hardware store', the way you would type it into Google Maps.
- Latitude
latitudenumberRequired - The latitude of the point to center the map on, such as 40.7504. A place from 'Search Google Maps places' has one, and so does any Google Maps link: it is the first number after the @.From -90 to 90.
- Longitude
longitudenumberRequired - The longitude of the point to center the map on, such as -73.9825: the second number after the @ in a Google Maps link.From -180 to 180.
- Zoom
zoomnumber - How far the map is zoomed in, from 3 (the whole world) to 21 (a single building). Defaults to 14. Only places on the visible map are found, so zoom out to search a wider area.From 3 to 21. Default:
14. - Page
pagenumber - Which page of results to return. 1 (the default) is the first page.At least 1. Default:
1. - Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
Outputs
credits_usednumber- How many Serper credits this step spent.
place_countnumber- How many places were returned.
placeslist- The places on the map, in Google's order.
Example output
{
"credits_used": 3,
"place_count": 1,
"places": [
{
"address": "521 5th Ave, New York, NY 10175",
"booking_links": [],
"cid": "14233564307921221852",
"description": "Chain with on-trend fashions and accessories.",
"fid": "0x89c259014c5cc8d5:0xc587c7534d52b8dc",
"latitude": 40.7541314,
"longitude": -73.9798826,
"opening_hours": {
"Monday": "10 AM\u20139 PM",
"Sunday": "11 AM\u20138 PM"
},
"phone_number": "(212) 867-4107",
"place_id": "ChIJVZZL0gFZwokR3LhSTVPHh8U",
"position": 1,
"rating": 4.1,
"rating_count": 1900,
"thumbnail_url": "https://lh3.googleusercontent.com/p/urban.jpg",
"title": "Urban Outfitters",
"type": "Clothing store",
"types": [
"Clothing store",
"Shoe store"
],
"website": "https://www.urbanoutfitters.com/"
}
]
}Search Google Maps places
Find local businesses and places on Google Maps, with their address, category, phone number, website, rating, and coordinates. Say where in words, such as a city; to search around a point on the map, use 'Search Google Maps around a point'.
Inputs
- Search query
querytextRequired - What kind of place to look for, such as 'coffee shop' or 'emergency dentist'.
- Number of results
num_resultsnumber - How many results to ask for, from 1 to 100. Defaults to 10. Google now serves most searches ten results to a page, so you may get only 10 back whatever you ask for; use Page to read further.From 1 to 100. Default:
10. - Page
pagenumber - Which page of results to return. 1 (the default) is the first page.At least 1. Default:
1. - Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
- Location
locationtext - Search from a specific place, which changes the local results Google shows. Write it the way Google does, most specific part first.
Outputs
credits_usednumber- How many Serper credits this step spent.
place_countnumber- How many places were returned.
placeslist- The places, in Google's order.
Example output
{
"credits_used": 1,
"place_count": 1,
"places": [
{
"address": "401 Congress Ave #100c, Austin, TX 78701",
"category": "Coffee shop",
"cid": "11265938073076301333",
"latitude": 30.266216,
"longitude": -97.743065,
"phone_number": "+1 512-394-6051",
"position": 1,
"rating": 4.5,
"rating_count": 1200,
"title": "Houndstooth Coffee",
"website": "https://example.com"
}
]
}Search Google News
Search Google News and get the matching articles with their headline, publisher, publication date, and link.
Inputs
- Search query
querytextRequired - What to look for in the news.
- Number of results
num_resultsnumber - How many results to ask for, from 1 to 100. Defaults to 10. Google now serves most searches ten results to a page, so you may get only 10 back whatever you ask for; use Page to read further.From 1 to 100. Default:
10. - Page
pagenumber - Which page of results to return. 1 (the default) is the first page.At least 1. Default:
1. - Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
- Location
locationtext - Search from a specific place, which changes the local results Google shows. Write it the way Google does, most specific part first.
- Published within
date_rangetext - Only return results published recently. Leave blank for any time.One of:
qdr:h(Past hour),qdr:d(Past 24 hours),qdr:w(Past week),qdr:m(Past month),qdr:y(Past year).
Outputs
article_countnumber- How many articles were returned.
articleslist- The news articles, in Google's order.
credits_usednumber- How many Serper credits this step spent.
Example output
{
"article_count": 1,
"articles": [
{
"date": "2 hours ago",
"image_url": "https://example.com/coffee-news.jpg",
"link": "https://example.com/coffee-prices",
"position": 1,
"snippet": "Arabica futures climbed again this week.",
"source": "Example News",
"title": "Coffee prices hit a record high"
}
],
"credits_used": 1
}Search Google Patents
Search Google Patents and get each patent's number, inventor, assignee, priority, filing, grant and publication dates, a PDF of it, and its drawings.
Inputs
- Search query
querytextRequired - What the patents should be about, such as 'wireless charging pad', or an inventor or company name.
- Number of results
num_resultsnumber - How many results to ask for, from 1 to 100. Defaults to 10. Google now serves most searches ten results to a page, so you may get only 10 back whatever you ask for; use Page to read further.From 1 to 100. Default:
10. - Page
pagenumber - Which page of results to return. 1 (the default) is the first page.At least 1. Default:
1.
Outputs
credits_usednumber- How many Serper credits this step spent.
patent_countnumber- How many patents were returned.
patentslist- The patents, in Google's order.
Example output
{
"credits_used": 1,
"patent_count": 1,
"patents": [
{
"assignee": "Google Llc",
"figures": [
{
"image_url": "https://patentimages.storage.googleapis.com/US10678858-D00001.png",
"thumbnail_url": "https://patentimages.storage.googleapis.com/US10678858-D00001-thumb.png"
}
],
"filing_date": "2017-03-17",
"grant_date": "2020-06-09",
"inventor": "Brian Rakowski",
"language": "en",
"link": "https://patents.google.com/patent/US10678858B2/en",
"pdf_url": "https://patentimages.storage.googleapis.com/US10678858.pdf",
"position": 1,
"priority_date": "2008-09-01",
"publication_date": "2020-06-09",
"publication_number": "US10678858B2",
"snippet": "Embodiments for presenting search content.",
"thumbnail_url": "https://patentimages.storage.googleapis.com/US10678858-D00000.png",
"title": "Method and system for generating search shortcuts"
}
]
}Search Google Scholar
Search academic literature on Google Scholar and get each paper's publication details, citation count, and PDF link where one is available.
Inputs
- Search query
querytextRequired - The topic, paper title, or author to search for.
- Number of results
num_resultsnumber - How many results to ask for, from 1 to 100. Defaults to 10. Google now serves most searches ten results to a page, so you may get only 10 back whatever you ask for; use Page to read further.From 1 to 100. Default:
10. - Page
pagenumber - Which page of results to return. 1 (the default) is the first page.At least 1. Default:
1. - Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
Outputs
article_countnumber- How many papers were returned.
articleslist- The papers, in Scholar's order.
credits_usednumber- How many Serper credits this step spent.
Example output
{
"article_count": 1,
"articles": [
{
"cited_by": 412,
"id": "paper-123",
"link": "https://example.com/paper",
"pdf_url": "https://example.com/paper.pdf",
"position": 1,
"publication_info": "A Researcher, B Researcher - Journal of Examples, 2019",
"snippet": "We review 42 randomized trials of caffeine.",
"title": "The effects of caffeine on alertness",
"year": 2019
}
],
"credits_used": 1
}Search Google Shopping
Search Google Shopping and get the matching products with their price, seller, delivery terms, and rating.
Inputs
- Search query
querytextRequired - The product to search for.
- Number of results
num_resultsnumber - How many results to ask for, from 1 to 100. Defaults to 10. Google now serves most searches ten results to a page, so you may get only 10 back whatever you ask for; use Page to read further.From 1 to 100. Default:
10. - Page
pagenumber - Which page of results to return. 1 (the default) is the first page.At least 1. Default:
1. - Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
- Location
locationtext - Search from a specific place, which changes the local results Google shows. Write it the way Google does, most specific part first.
Outputs
credits_usednumber- How many Serper credits this step spent.
product_countnumber- How many products were returned.
productslist- The products, in Google's order.
Example output
{
"credits_used": 2,
"product_count": 1,
"products": [
{
"delivery": "Free delivery",
"image_url": "https://example.com/product.jpg",
"link": "https://example.com/product",
"offers": "12 offers",
"position": 1,
"price": "$13.86",
"product_id": "1234567890",
"rating": 4.6,
"rating_count": 16000,
"source": "Example Store",
"title": "Folgers Classic Roast Ground Coffee"
}
]
}Search Google Videos
Search Google Videos and get the matching videos with their title, channel, length, and link.
Inputs
- Search query
querytextRequired - What kind of video to search for.
- Number of results
num_resultsnumber - How many results to ask for, from 1 to 100. Defaults to 10. Google now serves most searches ten results to a page, so you may get only 10 back whatever you ask for; use Page to read further.From 1 to 100. Default:
10. - Page
pagenumber - Which page of results to return. 1 (the default) is the first page.At least 1. Default:
1. - Country
countrytext - Search as if from this country, as a two-letter country code. Defaults to the United States.
- Language
languagetext - Return results in this language, as a two-letter language code. Defaults to English.
- Published within
date_rangetext - Only return results published recently. Leave blank for any time.One of:
qdr:h(Past hour),qdr:d(Past 24 hours),qdr:w(Past week),qdr:m(Past month),qdr:y(Past year).
Outputs
credits_usednumber- How many Serper credits this step spent.
video_countnumber- How many videos were returned.
videoslist- The videos, in Google's order.
Example output
{
"credits_used": 1,
"video_count": 1,
"videos": [
{
"channel": "Example Channel",
"date": "1 week ago",
"duration": "8:12",
"image_url": "https://example.com/video-thumb.jpg",
"link": "https://example.com/watch",
"position": 1,
"snippet": "A short guide to grind size and water temperature.",
"source": "Example Video",
"title": "How to brew better coffee"
}
]
}