Skip to content

SerpApi

SerpApi

SerpApi provides a real-time API for structured search engine results, allowing developers to scrape, parse, and analyze SERP data for SEO and research. With the SerpApi integration in SquadOS, your agents can search Google, Bing, DuckDuckGo, Yahoo, YouTube, Google Maps, Google Scholar, eBay, Walmart, and many more engines, obtaining data ready for analysis without dealing with anti-bot blocks or HTML parsing.

This tool uses an API key (API_KEY) to connect.

You will need the following fields:

FieldRequiredDescription
api_keyYesYour SerpApi account API key, used to authenticate all search requests.
  1. Go to serpapi.com and click Sign Up to create an account.
  2. Confirm your email and log in to the dashboard at dashboard.serpapi.com.
  3. In the API Key section, copy the displayed key.
  1. Go to Tools in the side menu (/admin/tools).
  2. Open the Available tab and search for SerpApi.
  3. Click the card to open the details and hit Connect.
  4. You’re taken to the secure connection page hosted by Composio, where you enter the API key obtained above.
  5. Once done, you’re sent back to SquadOS with the account connected and the tool available to agents. (Connection-flow details in Organization Tools.)

SERPAPI_BAIDU_SEARCH

Search Baidu (Chinese search engine) and retrieve search results. Requires a search query string in the ‘q’ parameter. Returns organic search results, answer boxes, and pagination info in JSON format.

NameTypeRequiredDescription
fstringNoDefines the originating search type. (e.g., “8” is a normal search, “3” is from the suggestion list, and “1” is a related search.
qstringYesDefines the search query, including all Baidu search operators (e.g., inurl:, site:, intitle:, etc.).
bsstringNoDefines the previous search query.
ctstringNoDefines which language to restrict results. Available options: “1” (All languages), “2” (Simplified Chinese), “3” (Traditional Chinese).
oqstringNoDefines the original search query when navigated from a related search.
pnintegerNoDefines the result offset. It skips the given number of results. It’s used for pagination. (e.g., 0 (default) is the first page of results, 10 is the 2nd page of results, 20 is the 3rd page of results, etc.). Must be a non-negative integer.
q5stringNoSimilar to using inurl: or intitle:. (e.g., “1” to search by page title, “2” to search by web address.).
q6stringNoSimilar to using site:. (e.g., q6=serpapi.com to search for results only from the domain serpapi.com)
rnintegerNoParameter defines the maximum number of results to return, limited to 50. (e.g., 10 (default) returns 10 results, 30 returns 30 results, and 50 returns 50 results). This parameter is only available for desktop and tablet searches. Must be between 1 and 50.
gpcstringNoParameter defines the time period for results. (e.g., stf=1749303572,1749908372|stftype=1 only returns results from the past 7 days. First integer within the parameter, 1749303572 is Unix Timestamp for 7 days ago. Second integer, 1749908372 is Unix Timestamp for now.).
asyncbooleanNoParameter defines the way you want to submit your search to SerpApi. It can be set to false (default) to open an HTTP connection and keep it open until you got your search results, or true to just submit your search to SerpApi and retrieve them later. In this case, you’ll need to use our Searches Archive API to retrieve your results. async and no_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.
devicestringNoParameter defines the device to use to get the results. It can be set to “desktop” (default) to use a regular browser, “tablet” to use a tablet browser (currently using iPads), or “mobile” to use a mobile browser (currently using iPhones).
outputstringNoParameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
no_cachebooleanNoParameter will force SerpApi to fetch the Baidu results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false (default) to allow results from the cache, or true to disallow results from the cache. no_cache and async parameters should not be used together.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_BING_MAPS

Tool to scrape Bing Maps results using SerpApi. Use when you need to find local businesses, places, or get detailed location information including addresses, phone numbers, ratings, reviews, and more. Supports searching by query or specific place ID.

NameTypeRequiredDescription
qstringYesSearch query for Bing Maps (e.g., ‘coffee’, ‘restaurants’, ‘hotels near Times Square’). Use specific location queries for better results.
cpstringNoGPS coordinates formatted as ‘latitudelongitude’ (e.g., ‘40.7455096-74.0083012’). Specifies the center point for the search area.
countintegerNoNumber of results per page (maximum 30). Controls how many results are returned.
firstintegerNoResult offset for pagination (defaults to 0). Used to retrieve subsequent pages of results.
setlangstringNo2-character ISO 3166-1 language code for localization (e.g., ‘us’, ‘de’, ‘gb’). Sets the language for results.
no_cachebooleanNoSet to true to bypass cached results and force a fresh API call.
place_idstringNoUnique reference identifier for a specific location. Can be used independently of the q parameter to retrieve details about a specific place.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_BING_SEARCH

Retrieve Bing Search Engine Results via SerpAPI (requires active SerpAPI connection; if unavailable, use COMPOSIO_SEARCH_WEB or COMPOSIO_SEARCH_NEWS). Consumes SerpAPI credits per call; throttle to ~1–2 calls/second and apply exponential backoff on HTTP 429. Supports query, location, language, and device parameters. Set location, mkt, or cc explicitly when local relevance matters — result ranking is highly sensitive to localization.

NameTypeRequiredDescription
qstringYesThe search query string.
ccstringNoParameter defines the country to search from. It follows the 2-character ISO_3166-1 format. Example: ‘us’ for United States, ‘de’ for Germany, ‘gb’ for United Kingdom.
mktstringNoThe market where the results come from (e.g., ‘en-US’). Format: language code-country code (case insensitive). Example: ‘en-US’ for English in United States, ‘de-DE’ for German in Germany, ‘fr-FR’ for French in France.
firstintegerNoControls pagination offset. Defaults to 1.
devicestringNoDefines the device to use to get the results. Can be ‘desktop’ (default), ‘tablet’, or ‘mobile’.
filtersstringNoEnables complex filtering such as filtering by date range. Exact values can be constructed by using Bing search and copying the filters query parameter.
locationstringNoDefines the location to use for the search. It can be a city, a state, a country, or a zip code. Uses a canonicalized name for the location. Example: “Austin, Texas, United States”.
safeSearchstringNoFiltering levels for adult content. Can be ‘Off’, ‘Moderate’, or ‘Strict’.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_DUCK_DUCK_GO_LIGHT_SEARCH

Tool to access the world’s fastest DuckDuckGo Search API via SerpApi. Scrapes DuckDuckGo search results in JSON format with critical data for faster response times, without extra-rich results. Use when you need quick DuckDuckGo search results with essential information. Supports location-based searches, date filtering, and pagination (15 results per page).

NameTypeRequiredDescription
qstringYesSearch query for DuckDuckGo. Maximum 500 characters. Supports DuckDuckGo search syntax including inurl:, site:, intitle:, etc.
dfstringNoDate-based result filtering. Use ‘d’ (day), ‘w’ (week), ‘m’ (month), ‘y’ (year), or custom range format ‘YYYY-MM-DD..YYYY-MM-DD’.
klstringNoRegion code in country-language format (e.g., ‘us-en’, NOT ‘en-us’). Format: [country-code]-[language-code]. Examples: ‘us-en’ (US English), ‘uk-en’ (UK English), ‘fr-fr’ (France French), ‘ca-en’ (Canada English), ‘ca-fr’ (Canada French).
asyncbooleanNoSubmit search asynchronously. Default: false. Incompatible with Ludicrous Speed tier. Should not be used with no_cache parameter.
outputstringNoResponse format: ‘json’ (default) or ‘html’.
no_cachebooleanNoForce fresh results, bypassing cache. Default: false. Cache duration is 1 hour. Should not be used with async parameter.
zero_tracebooleanNoEnterprise feature to skip storing search data. Default: false. Requires enterprise account.
next_page_tokenstringNoPagination token for retrieving subsequent pages. Returns 15 results per page. Obtain from previous response’s serpapi_pagination object.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_DUCK_DUCK_GO_MAPS

Scrapes DuckDuckGo Maps results via SerpApi. Use when searching for location-based information like businesses, restaurants, or services in a specific geographic area. Returns structured data including ratings, reviews, addresses, operating hours, and contact information.

NameTypeRequiredDescription
qstringYesSearch query for DuckDuckGo Maps (e.g., ‘Coffee’, ‘Italian restaurants’, ‘Hotels’).
latnumberNoGPS latitude coordinate for the search center point. Must be used together with lon parameter. Cannot be used together with bbox parameter.
lonnumberNoGPS longitude coordinate for the search center point. Must be used together with lat parameter. Cannot be used together with bbox parameter.
bboxstringNoBounding box coordinates formatted as ‘latitude_tl,longitude_tl,latitude_br,longitude_br’ where tl=top-left and br=bottom-right. Cannot be used together with lat/lon parameters. Use this to constrain search results to a specific geographic area.
strict_bboxintegerNoControls strict bounding box adherence. Set to 1 (default/strict) to limit results strictly within the bbox, or 0 (off) to allow results outside the bbox boundaries. Only relevant when bbox parameter is used.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_DUCK_DUCK_GO_SEARCH

Performs a DuckDuckGo search via SerpApi to retrieve SERP data, including organic results, ads, and structured information. Requires a valid SerpApi connection configured in Composio. Results may be localized by region by default.

NameTypeRequiredDescription
querystringYesSearch term or phrase for the DuckDuckGo search.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_EBAY_SEARCH

Retrieve eBay Search Results via SerpApi (requires active SerpApi connected account). Supports parameters like nkw (query), location, etc. Returns product SERP data in JSON format. Listing prices and fees may be incomplete or inconsistent; verify total cost on the source page before comparing results.

NameTypeRequiredDescription
glstringNoCountry code for the search results.
hlstringNoLanguage for the search results.
nkwstringYesThe search query (keywords). This is a required parameter.
numintegerNoNumber of results per page. Valid options: 25, 50 (default), 100, 200.
pageintegerNoPage number for pagination. Starts at 1.
devicestringNoDevice type to simulate (e.g., desktop, mobile, tablet).
locationstringNoThe location for the search. Defines the location from where the search is performed.
ebay_domainstringNoThe specific eBay domain to search (e.g., ebay.com, ebay.co.uk).
ebay_buyer_countrystringNoThe country for which the results should be tailored.
ebay_marketplace_idstringNoThe eBay marketplace ID (e.g., EBAY-US, EBAY-GB, EBAY-DE).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_EVENT_SEARCH

Searches for events (e.g., concerts, festivals, conferences) by query, retrieving structured data from Google’s event search results via the SerpApi Google Events engine.

NameTypeRequiredDescription
querystringYesSearch query for events, specifying the topic, type, or name.
startintegerNoResult offset for pagination. Default: 0. Increment by 10 for each page.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_FINANCE_SEARCH

Retrieves structured financial information (e.g., company data, stock details, market trends, news) from Google Finance via SERP API based on a query. Requires active SerpApi credentials. Empty results for delisted, illiquid, or newly listed assets are valid ‘no data’ responses. High query volumes may trigger HTTP 429 rate limits; apply backoff on retries.

NameTypeRequiredDescription
querystringYesThe financial search query. This can be a company name, stock ticker symbol (e.g., ‘AAPL’, ‘GOOG’), or a broader financial topic (e.g., ‘US stock market trends’, ‘latest fintech news’). Prefer exchange-prefixed ticker symbols (e.g., ‘NASDAQ:AAPL’) over company names alone — name-only queries may return empty or generic results, and common names can match multiple entities, leading to misattributed data.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GET_AVAILABLE_LOCATION_OPTIONS_FOR_GOOGLE_SEARCHES

Tool to get available location options for Google searches. Returns location names, codes, and identifiers that can be used in the location parameter. Use when you need to find valid location values for search queries.

NameTypeRequiredDescription
qstringNoRestricts your search to locations that contain the supplied string. For example, ‘Austin’ will find ‘Austin, TX’, ‘The University of Texas at Austin’, etc. If not provided, returns general location options.
limitintegerNoLimits the number of locations returned. Must be between 1 and 10. If not specified, returns all matching locations up to the maximum of 10.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GET_FACEBOOK_PROFILE

Tool to retrieve public information from a Facebook profile or page using SerpAPI. Use when you need to fetch profile details, bio, photos, followers, ratings, or contact information.

NameTypeRequiredDescription
no_cachebooleanNoForce SerpAPI to fetch fresh results instead of returning cached data. Set to true to bypass cache and get the most up-to-date information.
profile_idstringYesFacebook Profile ID or username to retrieve information for. Can be a numeric ID (e.g., ‘100080376596424’) or a username (e.g., ‘Meta’). This is the unique identifier for the Facebook profile or page.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GET_GOOGLE_ABOUT_THIS_RESULT

Tool to get Google ‘About this result’ information for a website. Use when you need detailed information about a specific URL including company details, social profiles, web citations, and reviews.

NameTypeRequiredDescription
qstringYesURL of the website to get information about, formatted as ‘About <URL>’ (e.g., ‘About https://www.starbucks.com/‘)
asyncbooleanNoSubmit search asynchronously (true) or wait for results (false, default). Defaults to false.
enginestringNoMust be set to ‘google_about_this_result’ to use this engine.
outputstringNoOutput format: json (default) or html. When html is used, raw_html_content will be populated instead of structured results.
no_cachebooleanNoForce SerpApi to fetch fresh results even if a cached version is already present.
google_domainstringNoGoogle domain to use for the search. Defaults to google.com.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GET_GOOGLE_HOTELS_AUTOCOMPLETE_SUGGESTIONS

Tool to get autocomplete suggestions for Google Hotels destination searches. Use when users need to search for hotel destinations, properties, or locations before performing a full hotel search.

NameTypeRequiredDescription
qstringYesSearch query for destination autocomplete (e.g., ‘New York’, ‘Paris hotels’, ‘Bali resorts’). The API returns matching hotel destinations, properties, and location suggestions.
glstringNoCountry code to use for the autocomplete search. It’s a two-letter country code (e.g., ‘us’ for United States, ‘uk’ for United Kingdom, ‘fr’ for France). Default is ‘us’.
hlstringNoLanguage code for the autocomplete results. It’s a two-letter language code (e.g., ‘en’ for English, ‘es’ for Spanish, ‘fr’ for French). Default is ‘en’.
asyncbooleanNoSubmit search asynchronously and retrieve results later via Searches Archive API. Set to true for async mode.
currencystringNoCurrency code for pricing information (e.g., ‘USD’, ‘EUR’, ‘GBP’). Default is ‘USD’.
no_cachebooleanNoForces SerpAPI to fetch fresh results even if a cached version exists. Set to true to bypass cache.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GET_GOOGLE_IMAGES_RELATED_CONTENT

Get related content for a specific Google Images result. Requires a related_content_id obtained from a Google Images search. Use when you need to find similar images or related visual content for a particular image.

NameTypeRequiredDescription
qstringNoSearch query that matches the original Google Images search. Recommended to provide for better results.
glstringNoCountry code for the search results. Uses two-letter country codes.
hlstringNoLanguage code for the search results. Uses two-letter language codes.
asyncbooleanNoSubmit the search asynchronously and retrieve results later via Search Archive API. Set to true for async mode, false for synchronous (default).
outputstringNoResponse format: ‘json’ (default) for structured JSON results, or ‘html’ for raw HTML content.
no_cachebooleanNoForce fresh results by bypassing the SerpApi cache. Set to true to always fetch new results.
related_content_idstringYesUnique ID for retrieving the Related Content of an image. This ID is obtained from the Google Images API response (from the ‘related_content_id’ field of an image result).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GET_GOOGLE_PATENT_DETAILS

Tool to retrieve detailed information about a specific patent or scholar document from Google Patents via SerpApi. Use when you need patent details, claims, citations, inventors, assignees, legal events, or scholar publication information.

NameTypeRequiredDescription
asyncbooleanNoSubmit search asynchronously and retrieve results later via Search Archive API. Defaults to false.
outputstringNoOutput format. Only ‘json’ is supported.
no_cachebooleanNoForce SerpApi to fetch fresh results even if cached version exists. Cache expires after 1 hour. Defaults to false.
patent_idstringYesThe ID of the patent or scholar document to retrieve. Use format ‘patent/<publication_number>/<country_code>’ for patents (country code optional, e.g., ‘patent/US11734097B1/en’ or ‘patent/US11734097B1’) or ‘scholar/<scholar_id>’ for scholar documents.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GET_SEARCH_ARCHIVE

Tool to retrieve results from a previous async search using its search ID. Use when you need to fetch results from searches submitted with async=true. Searches can be retrieved up to 31 days after completion.

NameTypeRequiredDescription
search_idstringYesThe ID of the search to retrieve. This is returned from a previous async search (when async=true parameter was used). The search_id can be found in the search_metadata.id field of the async search response.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_DOMAINS_LIST

Retrieve the list of supported Google domains for search queries.

NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_FORUMS_SEARCH

Tool to scrape forum results from Google’s Forums Platform using SerpApi. Use when you need to search forum discussions, get forum titles, dates, links, answers with voting data, and related searches.

NameTypeRequiredDescription
qstringYesParameter defines the query you want to search in Google Forums.
glstringNoParameter defines the country to use for the Google Forums search. It’s a two-letter country code.
hlstringNoParameter defines the language to use for the Google Forums search interface. It’s a two-letter language code.
nfprintegerNoParameter defines whether to exclude results from an auto-corrected query that is spelled wrong. Set to 0 to exclude auto-corrected results, 1 to include them.
uulestringNoParameter is the Google encoded location you want to use for the search. uule and location parameters can’t be used together.
startintegerNoParameter defines the result offset for pagination. It skips the given number of results. It’s used for pagination.
devicestringNoParameter defines the device type to use for the search. Options are: desktop (default), tablet, or mobile.
enginestringNoSet parameter to google_forums to use the Google Forums API engine.
filterintegerNoParameter defines whether to enable or disable the similar/omitted results filter. Set to 0 to disable, 1 to enable.
outputstringNoParameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
locationstringNoParameter defines from where you want the search to originate. If several locations match the location requested, we’ll pick the most popular one. Cannot be used with uule parameter.
no_cachebooleanNoParameter will force SerpApi to fetch the Google Forums results even if a cached version is already present. Defaults to false.
async_reqbooleanNoParameter defines the way you want to submit your search to SerpApi. Set to true for asynchronous submission. Defaults to false.
zero_tracebooleanNoEnterprise only. Parameter enables ZeroTrace mode. It can be set to false (default) or true.
json_restrictorstringNoParameter allows you to restrict specific output fields in the JSON response.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_JOBS_SEARCH

Retrieve Google Jobs Search Results via SerpApi. Returns job SERP data in JSON; key attributes like work_from_home, posted_at, salary, and schedule_type are nested under detected_extensions per job object and are often absent — treat as optional. Results may include stale postings; verify recency via detected_extensions.posted_at. Supports pagination, location filtering, and remote-job filtering.

NameTypeRequiredDescription
qstringYesParameter defines the query you want to search.
glstringNoParameter defines the country to use for the Google search. It’s a two-letter country code.
hlstringNoParameter defines the language to use for the Google Jobs search. It’s a two-letter language code.
udsstringNoParameter enables to filter search. It’s a string provided by Google as a filter.
lradintegerNoDefines search radius in kilometers. Does not strictly limit the radius.
uulestringNoParameter is the Google encoded location you want to use for the search. uule and location parameters can’t be used together. Note: the resolved location_used in the response may differ from location_requested.
chipsstringNoParameter defines additional query conditions. Top of a job search page contains elements called chips, its values are extracted in order to be passed to chips parameter.
ltypeintegerNoParameter will filter the results by work from home. Set to 1 for work from home jobs.
enginestringNoSet parameter to google_jobs to use the Google Jobs API engine.
outputstringNoParameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
locationstringNoParameter defines from where you want the search to originate. If several locations match the location requested, we’ll pick the most popular one. It is recommended to specify location at the city level in order to simulate a real user’s search.
no_cachebooleanNoParameter will force SerpApi to fetch the Google Jobs results even if a cached version is already present.
async_reqbooleanNoParameter defines the way you want to submit your search to SerpApi.
zero_tracebooleanNoEnterprise only. Parameter enables ZeroTrace mode. It can be set to false (default) or true.
google_domainstringNoParameter defines the Google domain to use. It defaults to google.com.
next_page_tokenstringNoParameter defines the next page token. It is used for retrieving the next page of results. Up to 10 results are returned per page.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_LENS_SEARCH

Performs reverse image search using Google Lens to find visually similar images, products, and related content. Use when you need to identify objects, find similar products, or get information about images. Requires a publicly accessible image URL.

NameTypeRequiredDescription
qstringNoOptional search query to refine results. Works with ‘all’, ‘visual_matches’, or ‘products’ types.
hlstringNoTwo-letter language code for localized results (e.g., ‘en’, ‘es’, ‘fr’, ‘de’).
urlstringYesThe URL of an image to perform Google Lens visual search. Must be a publicly accessible image URL.
typestringNoSearch type to filter results. Options: ‘all’ (default), ‘products’ (shopping results), ‘exact_matches’ (identical images), ‘visual_matches’ (similar images).
countrystringNoTwo-letter country code for localized results (e.g., ‘us’, ‘uk’, ‘ca’).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_LIGHT_SEARCH

Retrieve Google Light Search Results via SerpApi. Requires an active SerpApi connection. Supports q, location, gl, hl, and other SERP parameters. Returns lightweight JSON SERP data; results are in organic_results (handle missing/empty gracefully). Snippets are shallow — follow citation URLs with BROWSER_TOOL_FETCH_WEBPAGE for full content. Rate limit: HTTP 429 under heavy use; keep to ~1–2 requests/sec with exponential backoff on retry.

NameTypeRequiredDescription
qstringYesParameter defines the query you want to search. You can use anything that you would use in a regular Google search.
glstringNoParameter defines the country to use for the Google search. It’s a two-letter country code. Example: “us” for United States.
hlstringNoParameter defines the language to use for the Google search. It’s a two-letter language code. Example: “en” for English.
lrstringNoParameter defines one or multiple languages to limit the search to. Example: “lang_fr|lang_de” for French or German.
numintegerNoParameter defines the maximum number of results to return. (e.g., 10 (default) returns 10 results, 40 returns 40 results, and 100 returns 100 results). Maximum value is 100.
nfprstringNoParameter defines the exclusion of results from an auto-corrected query when the original query is spelled wrong. It can be set to 1 to exclude results or 0 to include them. Defaults to 0.
safestringNoParameter defines the level of filtering for adult content. It can be set to active or off. active is the highest level of filtering. off turns off filtering. Defaults to off.
uulestringNoParameter is the Google encoded location you want to use for the search. Example: “w+CAIQICIHVG9yb250bw==” for Toronto.
startintegerNoParameter defines the result offset. It skips the given number of results. It’s used for pagination. (e.g., 0 (default) is the first page of results, 10 is the 2nd page of results, 20 is the 3rd page of results, etc.).
devicestringNoParameter defines the device to use to get the results. It can be set to desktop, tablet, or mobile. Defaults to desktop.
enginestringNoSet parameter to google_light to use the Google Light API engine.
filterstringNoParameter defines if the filters for ‘Similar Results’ and ‘Omitted Results’ are on or off. It can be set to 0 to turn off filtering or 1 to turn on filtering. Defaults to 1.
outputstringNoParameter defines the final output format. It can be set to ‘json’ (default) to get structured JSON results, or ‘html’ to get raw HTML retrieved from Google. When ‘html’ is used, the response will contain raw_html_content instead of structured search results.
locationstringNoParameter defines from where you want the search to originate. Example: “Austin, Texas, United States”.
no_cachebooleanNoParameter will force SerpApi to fetch the Google Light results even if a cached version is already present.
zero_tracebooleanNoEnterprise only. Parameter enables ZeroTrace mode. It can be set to true to enable ZeroTrace or false to disable it. Defaults to false.
async_parambooleanNoParameter defines the way you want to submit your search to SerpApi. It can be set to true to run the search asynchronously or false to run it synchronously. Defaults to false.
google_domainstringNoParameter defines the Google domain to use. It defaults to google.com.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_MAPS_POSTS

Scrapes Google Maps Posts for a business location via SerpApi. Extracts local posts published by business owners including titles, descriptions, links, images, and publication dates. Returns 10 posts per page with pagination support.

NameTypeRequiredDescription
data_idstringYesThe Google Maps data ID for the business location. This is required to identify which business’s posts to retrieve. Format: ‘0x89c258e28c304997:0xfcafe4e7ce35ee8c’
no_cachebooleanNoForce fresh results by bypassing cached data. Default is false. Note: Cached results don’t consume monthly search quotas.
next_page_tokenstringNoToken for pagination to retrieve subsequent result pages. Each page contains 10 posts. Use the token from serpapi_pagination in the previous response.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_MAPS_SEARCH

Performs a Google Maps search via SERP API. Takes a query, optionally using specific GPS coordinates and pagination, returning structured location data.

NameTypeRequiredDescription
qstringYesSearch query for Google Maps (e.g., ‘coffee shops’, ‘restaurants near Central Park’).
llstringNoGPS coordinates for the search, formatted as ‘@latitude,longitude,zoom_level’. Required when using pagination (start parameter). If unspecified and start is not provided, search may be less geographically specific or use a default location. Results are strictly viewport-bound to the area defined by the coordinates and zoom level; adjust coordinates and paginate via start to cover adjacent areas.
startintegerNoStarting result index for pagination, used to get subsequent pages of results. When start is provided, ll parameter becomes required. For the first page, omit start (or use start=0 only if ll is also provided).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_PLAY_PRODUCT

Tool to retrieve detailed Google Play product information using SerpApi. Supports apps, movies, TV shows, audiobooks, and books. Use when you need product details, ratings, reviews, or media for Google Play Store items.

NameTypeRequiredDescription
glstringNoTwo-letter country code for localization. Defaults to ‘us’.
hlstringNoTwo-letter language code for localization. Defaults to ‘en’.
numintegerNoMaximum number of reviews per search. Max 199, default 40.
asyncbooleanNoSubmit search asynchronously. Defaults to false.
storestringYesStore type: ‘apps’, ‘movies’, ‘tv’, ‘books’, or ‘audiobooks’.
enginestringNoSet parameter to google_play_product to use the Google Play Product API engine.
outputstringNoResponse format: ‘json’ (default) or ‘html’.
ratingintegerNoFilter reviews by star rating (1-5).
sort_byintegerNoSort reviews: 1 (relevant), 2 (newest), 3 (rating).
no_cachebooleanNoBypass cache and force fresh results. Defaults to false.
platformstringNoFilter reviews by device type: ‘phone’, ‘tablet’, ‘watch’, ‘chromebook’, or ‘tv’.
season_idstringNoSeason ID when store is ‘tv’. Only applicable for TV store.
product_idstringYesProduct ID to query (e.g., ‘com.google.android.youtube’ for apps).
all_reviewsbooleanNoRetrieve all reviews (true/false). Set to true to fetch all available reviews.
next_page_tokenstringNoPagination token for retrieving additional review results.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_SCHOLAR_AUTHOR

Scrapes full Google Scholar Author page including articles, citations, metrics, and co-authors. Use when you need detailed information about a specific researcher’s publications and academic profile.

NameTypeRequiredDescription
hlstringNoTwo-letter language code for the interface language (e.g., ‘en’ for English, ‘es’ for Spanish).
numintegerNoNumber of results per page. Maximum 100, defaults to 20.
sortstringNoSort articles by ‘title’ or ‘pubdate’. Default is by citation count.
startintegerNoResult offset for pagination. Defaults to 0.
view_opstringNoView specific sections. Use ‘view_citation’ to view a specific citation or ‘list_colleagues’ to list colleagues.
no_cachebooleanNoForce fresh results, ignoring cached data. Set to true to bypass cache.
author_idstringYesUnique identifier of the author from Google Scholar. Required to fetch the author’s profile.
citation_idstringNoRequired when view_op=‘view_citation’. Unique identifier for the specific citation to view.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_SCHOLAR_CITE

Scrapes full Google Scholar Citations with multiple citation formats. Retrieves MLA, APA, Chicago, Harvard, and Vancouver style citations along with download links for BibTeX, EndNote, RefMan, and RefWorks. Use when you need formatted citations for a specific research paper identified by its Google Scholar ID.

NameTypeRequiredDescription
qstringYesThe ID of an individual Google Scholar organic search result. This is required to fetch citation information for a specific paper.
hlstringNoTwo-letter language code for localization (e.g., ‘en’ for English, ‘es’ for Spanish, ‘fr’ for French).
no_cachebooleanNoForce fresh results, ignoring cached data. Set to true to bypass cache (cache expires after 1 hour).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_GOOGLE_VIDEOS_LIGHT

Tool to scrape Google Videos results using SerpApi’s ultra-fast Google Videos Light API. Use when you need video titles, links, thumbnails, snippets, upload dates, and durations from Google Videos search. This lighter version excludes rich results for faster response times.

NameTypeRequiredDescription
qstringYesSearch query for Google Videos. Supports advanced operators like inurl:, site:, intitle:.
glstringNoTwo-letter country code to define the country for the search.
hlstringNoTwo-letter language code to define the language for the search interface.
lrstringNoLanguage restrictions using lang_{code} format, delimited by pipe |.
tbsstringNoAdvanced search parameters for filtering by video duration, upload date, quality, or source.
nfprintegerNoExclude auto-corrected results. Set to 1 to exclude, 0 to include. Defaults to 0.
safestringNoAdult content filter. Set to ‘active’ to filter adult content or ‘off’ to disable.
uulestringNoGoogle-encoded location parameter. Cannot be used with location parameter.
startintegerNoResult offset for pagination. Use 0 for page 1, 10 for page 2, etc.
devicestringNoDevice type for the search. Options: desktop (default), tablet, mobile.
enginestringNoSet parameter to google_videos_light to use the Google Videos Light API engine.
filterintegerNoControl Similar Results filter. Set to 1 to enable (default), 0 to disable.
outputstringNoOutput format. Set to json (default) for structured JSON or html for raw HTML.
locationstringNoGeographic location for the search origin. Recommended to specify at city level. Cannot be used with uule parameter.
no_cachebooleanNoForce fresh results even if cached version exists. Defaults to false.
async_reqbooleanNoEnable asynchronous submission mode. Defaults to false (maintains connection).
zero_tracebooleanNoEnterprise only. Enable ZeroTrace mode. Defaults to false.
google_domainstringNoGoogle domain to use for the search. Defaults to google.com.
json_restrictorstringNoRestrict specific output fields in the JSON response for smaller payload size.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_HOTEL_SEARCH

Retrieve Google Hotel Search Results. Supports parameters like q (query), location, etc. Returns hotel SERP data in JSON format.

NameTypeRequiredDescription
qstringYesParameter defines the search query. You can use anything that you would use in a regular Google Hotels search.
glstringNoParameter defines the country to use for the Google Hotels search. It’s a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France)
hlstringNoParameter defines the language to use for the Google Hotels search. It’s a two-letter language code. (e.g., en for English, es for Spanish, or fr for French).
asyncbooleanNoParameter defines the way you want to submit your search to SerpApi.
adultsintegerNoParameter defines the number of adults. Default to 2.
outputstringNoParameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
ratingintegerNoParameter is used for filtering the results to certain rating.
sort_bystringNoParameter is used for sorting the results. Default is sort by Relevance.
bedroomsintegerNoParameter defines the minimum number of bedrooms. Default to 0.
childrenintegerNoParameter defines the number of children. Default to 0.
currencystringNoParameter defines the currency of the returned prices. Default to USD.
no_cachebooleanNoParameter will force SerpApi to fetch the Google Hotels results even if a cached version is already present.
amenitiesstringNoParameter defines to include only results that offer specified amenities.
bathroomsintegerNoParameter defines the minimum number of bathrooms. Default to 0.
max_priceintegerNoParameter defines the upper bound of price range.
min_priceintegerNoParameter defines the lower bound of price range.
zero_tracebooleanNoEnterprise only. Parameter enables ZeroTrace mode.
check_in_datestringYesParameter defines the check-in date. The format is YYYY-MM-DD.
children_agesstringNoParameter defines the ages of children. The age range is from 1 to 17, with children who haven’t reached 1 year old being considered as 1.
eco_certifiedbooleanNoParameter defines to show results that are eco certified.
check_out_datestringYesParameter defines the check-out date. The format is YYYY-MM-DD.
property_tokenstringNoParameter is used to get property details which consists of name, address, phone, prices, nearby places, and etc.
property_typesstringNoParameter defines to include only certain type of property in the results.
special_offersbooleanNoParameter defines to show results that have special offers.
next_page_tokenstringNoParameter defines the next page token. It is used for retrieving the next page results.
vacation_rentalsbooleanNoParameter defines to search for Vacation Rentals results. Default search is for Hotels.
free_cancellationbooleanNoParameter defines to show results that offer free cancellation.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_IMAGE_SEARCH

Searches Google Images via SERP API for a given query, returning structured image results. Requires a valid SerpAPI authenticated connection. The number of results can be controlled using the ‘num’ parameter (1-100). If not specified, it defaults to 20 results.

NameTypeRequiredDescription
numintegerNoNumber of image results to return. Defaults to 20 if not specified. Google typically returns up to 100 results.
querystringYesQuery to find images; be specific about the topic or subject. Avoid single-word or vague queries; combine subject, style, context, and audience details for precise results.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_NAVER_SEARCH

Tool to search Naver (South Korea’s leading search engine) for Korean web results and content. Use when searching for Korean-language content, news, videos, images, or shopping results. Supports various search categories and filtering options including time periods and sorting.

NameTypeRequiredDescription
numintegerNoMaximum results per page (1-100, default 50). Only available for Images API. Use when limiting image search results.
pageintegerNoPage number (starts at 1). Automatically calculates the start parameter. Use for easier pagination instead of manually calculating start offset.
asyncbooleanNoSubmit search asynchronously when true. Retrieve results later via Search Archive API. Cannot be used with no_cache or on accounts with Ludicrous Speed enabled.
querystringYesSearch query string supporting operators like NOT, OR, site:, filetype:, near:, ip:, loc:, feed:. Use when searching Naver for Korean web results and content.
startintegerNoResults offset for pagination. Defaults to 1. Formula: (page * 10) - 9 for most searches; (page * 15) - 29 for web results. Use when fetching subsequent pages.
wherestringNoSearch category to use. Options: ‘nexearch’ (integrated search, default), ‘web’, ‘video’, ‘news’, ‘image’. Use ‘nexearch’ for comprehensive results or specify category for targeted searches.
devicestringNoDevice type to simulate. Options: ‘desktop’ (default), ‘tablet’, or ‘mobile’. Use to get device-specific search results.
outputstringNoOutput format. Options: ‘json’ (default, structured data) or ‘html’ (raw HTML). Use json for programmatic access.
periodstringNoTime period filter. Options: ‘all’ (default), ‘1h’, ‘1d’, ‘1w’, ‘1m’, ‘3m’, ‘6m’, ‘1y’, or custom format ‘fromYYYYMMDDtoYYYYMMDD’. Use when searching for recent content.
sort_bystringNoSort order for results. Options: ‘r’ (relevance, default) or ‘dd’ (latest/date descending). Use ‘dd’ when freshness matters.
no_cachebooleanNoForce fresh results when true, bypassing 1-hour cache. Cached searches are free. Set to true only when latest data is critical. Cannot be used with async parameter.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_NEWS_SEARCH

Searches Google News (via SerpApi, tbm=nws) for articles matching a query; precise key-phrase queries yield best results. Auth is handled via SerpApi connection — do not pass api_key as a parameter. Results returned under news_results field (~10 items/page). Rate-limited: throttle to ~1 req/s; HTTP 429 on bursts — apply exponential backoff (1s, 2s, 4s). Covers news content only; pair with SERPAPI_SEARCH for broader web sources. Headlines/snippets only — use EXA_GET_CONTENTS_ACTION for full article text.

NameTypeRequiredDescription
numintegerNoMaximum number of results to return per page. Default is 10, maximum is 100.
querystringYesSearch query for finding relevant news articles. Overly long or overly specific queries may return empty results; simplify to key phrases and split multi-concept searches into separate queries.
startintegerNoResult offset for pagination. Use 0 for the first page (default), 10 for the second page, 20 for the third, etc.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_OPEN_TABLE_REVIEWS

Tool to scrape OpenTable restaurant reviews using SerpApi. Retrieves user reviews, ratings, restaurant responses, images, and AI-generated summaries. Use when you need detailed review data for OpenTable restaurants.

NameTypeRequiredDescription
pageintegerNoPage number for pagination (1-based indexing).
asyncbooleanNoSubmit search asynchronously. Defaults to false.
outputstringNoResponse format: ‘json’ (default) or ‘html’.
no_cachebooleanNoForce fresh results by bypassing cache. Defaults to false.
place_idstringYesOpenTable restaurant ID (e.g., ‘central-park-boathouse-new-york-2’). Found in the OpenTable URL after /r/.
zero_tracebooleanNoEnterprise feature to skip storing search data. Defaults to false.
json_restrictorstringNoRestrict output fields for smaller responses (e.g., ‘reviews’).
open_table_domainstringNoOpenTable domain to use. Defaults to ‘www.opentable.com’.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_PLAY_SEARCH

Retrieve Google Play Store Search Results. Supports parameters like q (query), gl, hl, etc. Returns app SERP data in JSON format.

NameTypeRequiredDescription
qstringNoParameter defines the query you want to search in Google Play Apps Store.
hlstringNoParameter defines the language to use for the Google Play search. It’s a two-letter language code. (e.g., en (default) for English, es for Spanish, or fr for French).
agestringNoParameter defines age subcategory. age works, and should only be used with apps_category=FAMILY (Kids Apps)
chartstringNoParameter is used for showing top charts. It can return up to 50 results.
storestringNoParameter defines the country to use for the Google Play search. It’s a two-letter country code. (e.g., us (default) for the United States, uk for United Kingdom, or fr for France).
enginestringNoSet parameter to google_play to use the Google Play API engine.
outputstringNoParameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
no_cachebooleanNoParameter will force SerpApi to fetch the Google Play results even if a cached version is already present.
async_parambooleanNoParameter defines the way you want to submit your search to SerpApi.
store_devicestringNoParameter defines the device for sorting results. This parameter cannot be used with apps_category or q parameters.
apps_categorystringNoParameter defines the apps store category.
see_more_tokenstringNoParameter defines the see more token used for retrieving the pagination results from individual sections.
next_page_tokenstringNoParameter defines the next page token. It is used for retrieving the next page results.
section_page_tokenstringNoParameter defines the section page token used for retrieving the pagination results from individual sections.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_SCHOLAR_SEARCH

Searches Google Scholar via SerpApi for academic literature, papers, articles, and citations based on a query. Response results may include inline_links.cited_by and resources (PDF links), but these fields are not guaranteed; check for their existence and type before accessing.

NameTypeRequiredDescription
numintegerNoMaximum number of results to return per page. Default is 10, maximum is 20.
querystringYesThe search query for Google Scholar. This can be an academic topic, paper title, author name, or specific keywords.
startintegerNoResult offset for pagination. Use 0 for the first page (default), 10 for the second page, 20 for the third, etc.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_SEARCH

Performs a real-time Google search via the SerpAPI connection (must be active; if unavailable, use COMPOSIO_SEARCH_WEB or other COMPOSIO_SEARCH_* tools). Returns ~10 organic results per page nested under results.organic_results — not a flat list; handle missing/empty arrays. Paginate via start offset or serpapi_pagination.next; max num=100; stop when domains plateau to avoid quota exhaustion. Rate-limited: throttle to 1–2 req/s; HTTP 429 on bursts — apply exponential backoff (1s, 2s, 4s). Derive result rank from array index (absolute rank = start + index; no explicit rank field). Lacks date-bound controls — embed recency terms in query or use SERPAPI_NEWS_SEARCH for time-sensitive queries. Results may include ads and sponsored content; prefer authoritative domains. Use vertical tools (SERPAPI_IMAGE_SEARCH, SERPAPI_NEWS_SEARCH, SERPAPI_YOU_TUBE_SEARCH, SERPAPI_GOOGLE_JOBS_SEARCH) for specialized query types.

NameTypeRequiredDescription
querystringYesUser’s search query; should be a clear, concise question or keyword phrase.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_SEARCH_APPLE_APP_STORE

Tool to search Apple App Store for iOS and Mac apps. Returns app details including ratings, reviews, descriptions, and developer information. Use when you need to find apps on the Apple App Store or get information about specific apps.

NameTypeRequiredDescription
numintegerNoMaximum number of results to return. Use to limit or paginate results.
termstringYesSearch query term for Apple App Store apps.
asyncbooleanNoSubmit search asynchronously.
devicestringNoDevice type to filter results: ‘desktop’, ‘tablet’, or ‘mobile’.
countrystringNoCountry code for the search (e.g., ‘us’, ‘uk’, ‘fr’).
languagestringNoLanguage code for the search (e.g., ‘en-us’, ‘fr-fr’, ‘es-es’).
no_cachebooleanNoForce fresh results, bypassing cache.
propertystringNoSearch property. Set to ‘developer’ to search by developer name.
category_idstringNoFilter by category ID (e.g., ‘6014’ for Games).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_SEARCH_GOOGLE_IMAGES_LIGHT

Tool to scrape Google Images results using SerpApi’s Google Images Light API. Use when you need fast image search with thumbnails, titles, sources, and original image URLs from Google Images. This lightweight version provides faster response times compared to the full Google Images API.

NameTypeRequiredDescription
qstringYesSearch query for Google Images. Supports Google search operators like inurl:, site:, intitle:.
glstringNoTwo-letter country code to define the country for the search.
hlstringNoTwo-letter language code to define the language for the search interface.
imgarstringNoAspect ratio filter. Options: s (square), t (tall), w (wide), xw (extra wide).
imgszstringNoImage size filter. Options: l (large), m (medium), i (icon), etc.
startintegerNoResult offset for pagination. Must be between 0 and 999.
devicestringNoDevice type for the search. Options: desktop (default), tablet, mobile.
enginestringNoSet parameter to google_images_light to use the Google Images Light API engine.
end_datestringNoEnd date for filtering images by upload date. Format: YYYYMMDD.
locationstringNoGeographic location for the search origin. Specify at city level for best results.
start_datestringNoStart date for filtering images by upload date. Format: YYYYMMDD.
image_colorstringNoColor filter for images. Options: bw (black and white), red, blue, green, yellow, orange, pink, white, gray, black, teal, brown.
period_unitstringNoTime period unit for filtering by upload date. Options: s (second), n (minute), h (hour), d (day), w (week), m (month), y (year). Must be used with period_value.
period_valueintegerNoTime period value to use with period_unit. Specifies how many units back to search.
google_domainstringNoGoogle domain to use for the search. Defaults to google.com.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_SEARCH_GOOGLE_LOCAL_SERVICES

Search Google Local Services for service providers like electricians, plumbers, HVAC technicians, and more. Use when you need to find local service professionals with Google’s guaranteed badge and verified business information.

NameTypeRequiredDescription
qstringYesParameter defines the service you want to search for (e.g., ‘electrician’, ‘plumber’, ‘hvac repair’).
hlstringNoParameter defines the language to use for the search. It’s a two-letter language code (e.g., ‘en’ for English, ‘es’ for Spanish, ‘fr’ for French).
bidstringNoUnique business identifier. Used together with cid and pid parameters to identify a specific business.
cidstringNoUnique business place ID from API response. Used to get details for a specific business.
pidstringNoUnique place identifier. Used together with cid and bid parameters to identify a specific business.
asyncbooleanNoParameter defines the way you want to submit your search to SerpApi. Set to true to submit the search asynchronously.
outputstringNoParameter defines the final output format. Can be set to ‘json’ (default) to get structured JSON results, or ‘html’ to get raw HTML.
data_cidstringYesGoogle customer identifier for location. This is a unique identifier that specifies the geographic area for the search.
job_typestringNoParameter defines the service subcategory or specific job type within the main service category (e.g., ‘restore_power’ for electrician searches).
no_cachebooleanNoParameter will force SerpApi to fetch the Google Local Services results even if a cached version is already present. Set to true to get fresh results.
zero_tracebooleanNoEnterprise only. Parameter enables ZeroTrace mode to skip storing search metadata. Set to true to enable.
json_restrictorstringNoParameter restricts the output fields to reduce response size. Specify field paths to include in the response.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_SEARCH_YELP

Tool to search Yelp for businesses and places using SerpApi. Returns business listings with ratings, reviews, hours, contact information, and location details. Use when you need to find local businesses, restaurants, services, or read customer reviews.

NameTypeRequiredDescription
attrsstringNoAttribute filters to refine search (e.g., ‘HotAndNew’ for new businesses, ‘Deals’ for businesses with offers). Can be comma-separated for multiple filters.
startintegerNoResult offset for pagination. Use to fetch additional results beyond the first page. Each page typically contains 10 results.
sortbystringNoSort order for results. ‘recommended’ shows Yelp’s recommended matches, ‘rating’ shows highest-rated first, ‘review_count’ shows most-reviewed first.
find_locstringYesLocation to search in (e.g., ‘San Francisco, CA’, ‘New York, NY’, ‘10001’). Can be a city, state, address, or ZIP code.
no_cachebooleanNoSet to true to force fresh results from Yelp, bypassing SerpApi’s cache. Useful when you need real-time data.
find_descstringYesSearch query describing what to find (e.g., ‘pizza’, ‘coffee shop’, ‘italian restaurant’). This is the business type or service you’re looking for.
yelp_domainstringNoYelp domain to search on (e.g., ‘yelp.com’ for US, ‘yelp.ca’ for Canada, ‘yelp.co.uk’ for UK). Defaults to yelp.com if not specified.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_SHOPPING_SEARCH

Searches Google Shopping via SerpAPI for a specific product, returning structured listings in results.shopping_results. Requires an active SerpAPI connection. Response fields such as rating, review_count, extracted_price, and extracted_old_price may be absent; null-check before ranking or computing discounts. Discount percentages in listings may reflect aggregate promotional claims, not per-item pricing.

NameTypeRequiredDescription
numintegerNoMaximum number of results to return per page. Default is 10, maximum is 100.
querystringYesProduct or item to search for on Google Shopping.
startintegerNoResult offset for pagination. Use 0 for the first page (default), 10 for the second page, 20 for the third, etc.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_TRENDS_SEARCH

Fetches Google Trends data; returns relative 0–100 interest indices (not absolute volumes) meaningful only when comparing queries within the same request. The query’s format (single/multiple terms) must comply with the selected data_type.

NameTypeRequiredDescription
querystringYesSearch query/queries for Google Trends (use comma for multiple). Format (single vs. multiple terms) is dictated by data_type.
data_typestringNoSpecifies Google Trends search type, dictating query format (single term or comma-separated multiple terms). Options: - TIMESERIES: Interest over time; single/multiple queries. - GEO_MAP: Regional comparison; multiple queries. - GEO_MAP_0: Regional interest; single query. - RELATED_TOPICS: Related topics; single query. - RELATED_QUERIES: Related queries; single query.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_WALMART_PRODUCT_REVIEWS

Tool to scrape full Walmart product reviews using SerpApi’s Walmart Product Reviews API. Retrieves ratings, review text, user information, and helpful votes for a specific product. Use when you need detailed customer feedback and sentiment analysis for Walmart products.

NameTypeRequiredDescription
pageintegerNoPage number for pagination. Starts at 1. Use this to retrieve additional pages of reviews.
sortstringNoSort order for reviews. Options: ‘relevancy’ (default), ‘helpful’ (most helpful first), ‘submission-desc’ (newest first), ‘submission-asc’ (oldest first), ‘rating-desc’ (highest rating first), ‘rating-asc’ (lowest rating first).
asyncbooleanNoSet to true for asynchronous search submission. When true, the search is queued and returns immediately with a search_id for later retrieval. Defaults to false.
outputstringNoResponse format: ‘json’ (default, structured data) or ‘html’ (raw HTML response).
ratingintegerNoFilter reviews by star rating. Must be an integer between 1 and 5.
no_cachebooleanNoSet to true to bypass cached results and force fresh data. Defaults to false. Note: Using this may increase response time and count against your SerpApi quota.
product_idstringYesUnique Walmart product identifier (us_item_id) to retrieve reviews for. This is the unique identifier for a specific Walmart product.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_WALMART_SEARCH

Retrieve Walmart Search Results. Supports parameters like query, location, store ID, etc. Returns product SERP data in JSON format.

NameTypeRequiredDescription
qstringYesThe search query term or phrase.
pageintegerNoPage number for pagination. Starts at 1.
sortstringNoSorting option for results. Available options: best_match, best_seller, price_low, price_high, rating_high, new.
typestringNoDefines the type of search. Can be ‘search’, ‘deals’, ‘store’, ‘question’. Default is ‘search’.
locationstringNoDefines the location to use for the search. It can be a city, region, or country. Uses a canonicalized name from the SerpApi locations API.
store_idstringNoStore ID to filter results. Can be found using the Walmart Store Finder API.
max_pricenumberNoMaximum price filter.
min_pricenumberNoMinimum price filter.
min_ratingnumberNoMinimum rating filter (1-5).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_YAHOO_SEARCH

Retrieve Yahoo! Search Engine Results. Supports query, location, language, and device parameters.

NameTypeRequiredDescription
bintegerNoParameter defines the result offset. It skips the given number of results. It’s used for pagination.
dstringNoParameter specifies the destination for related topics.
pstringYesParameter defines the search query. You can use anything that you would use in a regular Yahoo! search.
vcstringNoParameter defines the country to use for the Yahoo! search. It’s a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France)
vfstringNoall formats or specific file format like pdf or txt.
vlstringNoParameter defines language to limit the search to. It uses lang_{two-letter language code} to specify languages.
vmstringNoParameter defines the level of filtering for adult content. Strict: r, Moderate: i, Off: p
vsstringNoFilter results by top-level domains separated by ’,’. (e.g., .com,.org)
fr2stringNoParameter is responsible for rendering positions and expansions for some elements.
devicestringNoParameter defines the device to use to get the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser, or mobile to use a mobile browser.
outputstringNoParameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
no_cachebooleanNoParameter will force SerpApi to fetch the Yahoo! results even if a cached version is already present.
yahoo_domainstringNoParameter defines the Yahoo! domain to use. It defaults to search.yahoo.com. If specified domain is allowed, it will be prepended to the domain (e.g., fr.search.yahoo.com).
async_requestbooleanNoParameter defines the way you want to submit your search to SerpApi.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_YAHOO_VIDEOS

Scrape Yahoo! Videos results with position, title, thumbnail, link, preview, source, duration, date and more. Use when you need to search for video content on Yahoo! Videos.

NameTypeRequiredDescription
bintegerNoParameter defines the result offset for pagination. It skips the given number of results.
pstringYesParameter defines the search query. You can use anything that you would use in a regular Yahoo! Videos search.
dursstringNoParameter filters results by video duration. Options: ‘short’ (under 5 minutes), ‘medium’ (5-20 minutes), ‘long’ (over 20 minutes).
vagestringNoParameter filters results by upload date. Options: ‘day’ (past 24 hours), ‘week’ (past week), ‘month’ (past month), ‘year’ (past year).
vresstringNoParameter filters results by video resolution. Options: ‘360p’, ‘480p’, ‘720p’, ‘1080p’.
asyncbooleanNoParameter defines the way you want to submit your search to SerpApi. It can be set to false (default) to open an HTTP connection and keep it open until you got your search results, or true to just submit your search to SerpApi and retrieve them later.
vsitestringNoParameter filters results by video source platform. Options: ‘youtube’, ‘dailymotion’, ‘vimeo’, ‘mtv’, ‘cbsnews’, ‘foxnews’, ‘cnn’, ‘msn’.
devicestringNoParameter defines the device to use to get the results. It can be set to desktop (default), tablet, or mobile.
outputstringNoParameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
no_cachebooleanNoParameter will force SerpApi to fetch the Yahoo! Videos results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h.
zero_tracebooleanNoEnterprise only. Parameter enables ZeroTrace mode. It can be set to false (default) or true. Enable this mode to skip storing search parameters, search files, and search metadata on our servers.
yahoo_domainstringNoParameter defines the Yahoo! domain to use. It defaults to search.yahoo.com.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_YANDEX_IMAGES_SEARCH

Tool to search Yandex Images for image results with advanced filters. Use when searching for images on Yandex with filters like size, color, type, or performing reverse image search.

NameTypeRequiredDescription
pintegerNoPage number (starts at 0, returns up to 30 results per page).
tabstringNoTab to use for reverse image search - about or similar.
urlstringNoImage URL for reverse image search.
cropstringNoCrop coordinates for reverse search (format: left;top;right;bottom, values 0-1).
sitestringNoFilter by source domain (e.g., www.shutterstock.com).
textstringYesSearch query - anything you would use in regular Yandex Images search.
asyncbooleanNoSet to true for asynchronous submission.
colorstringNoColor filter - color, gray, red, orange, yellow, cyan, green, blue, violet, white, or black.
widthintegerNoImage width in pixels; must be used with height parameter.
heightintegerNoImage height in pixels; must be used with width parameter.
outputstringNoResponse format - json (default) or html.
recentbooleanNoShows images from the last 7 days when set to true.
crop_idstringNoFilter by specific image section (Yandex-hosted images only).
no_cachebooleanNoSet to true to bypass cached results.
file_typestringNoImage format - jpg, png, or gifan.
image_typestringNoImage type - photo, clipart, lineart, demotivator, or face.
zero_tracebooleanNoEnterprise feature for privacy mode.
orientationstringNoImage orientation - horizontal, vertical, or square.
yandex_domainstringNoYandex Images domain to use for the search (default: yandex.com).
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_YANDEX_SEARCH

Retrieve Yandex Search Results. Supports parameters like text (query), location, etc. Returns SERP data in JSON format.

NameTypeRequiredDescription
pintegerNoDefines the page number for pagination. Starts from 0.
numintegerNoDefines the number of results to return per page. Maps to ‘groups_on_page’ in Yandex API. Default is 20.
langstringNoDefines the language to use for the search. (e.g., ‘ru’ for Russian, ‘en’ for English).
textstringYesThe search query string.
locationstringNoDefines the location to use for the search. It can be a city name, a region, or a country. SerpApi will convert this to the appropriate Yandex location code.
yandex_domainstringNoDefines the Yandex domain to use. Defaults to yandex.com.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not

SERPAPI_YOU_TUBE_SEARCH

Retrieve YouTube Search Results. Supports parameters like search_query, location, etc. Returns video SERP data in JSON format.

NameTypeRequiredDescription
glstringNoParameter defines the country to use for the Google search. It’s a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France). Head to the Google countries page for a full list of supported Google countries.
hlstringNoParameter defines the language to use for the Youtube search. It’s a two-letter language code. (e.g., en for English, es for Spanish, or fr for French). Head to the Google languages page for a full list of supported Google languages.
spstringNoParameter can be used for pagination. Youtube uses continous pagination and the next page token can be found in the SerpApi JSON response serpapi_pagination -> next_page_token and pagination -> next_page_token fields. Parameter can also be used to filter the search results by Upload date (CAI%3D), 4K (EgJwAQ%3D%3D), etc. It can also be used for forcing the exact search query spelling by setting the sp value to QgIIAQ%3D%3D. Pagination tokens can expire; limit pagination depth to 3–5 pages.
asyncbooleanNoParameter defines the way you want to submit your search to SerpApi. It can be set to false (default) to open an HTTP connection and keep it open until you got your search results, or true to just submit your search to SerpApi and retrieve them later. In this case, you’ll need to use our Searches Archive API to retrieve your results. async and no_cache parameters should not be used together.
outputstringNoParameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.
no_cachebooleanNoParameter will force SerpApi to fetch the YouTube results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false (default) to allow results from the cache, or true to disallow results from the cache. no_cache and async parameters should not be used together.
zero_tracebooleanNoEnterprise only. Parameter enables ZeroTrace mode. It can be set to false (default) or true. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.
search_querystringYesParameter defines the search query. You can use anything that you would use in a regular YouTube search.
NameTypeRequiredDescription
datastringYesData from the action execution
errorstringNoError if any occurred during the execution of the action
successfulbooleanYesWhether or not the action execution was successful or not