AptlyStar

Google Search

Search the web

Google Search is the world's most widely used web search engine, making it easy to find information, discover new content, and answer questions in real time.

With the Google Search integration in Aptlystar, you can:

  • Search the web: Perform queries using Google's Custom Search API and retrieve structured search results with titles, snippets, and URLs

In Aptlystar, the Google Search integration allows your agents to search the web and retrieve live information as part of automated workflows. This enables use cases such as automated research, fact-checking, knowledge synthesis, and dynamic content discovery.

Usage Instructions

Integrate Google Search into the workflow. Can search the web.

Tools

Search the web with the Custom Search API

Input

ParameterTypeRequiredDescription
querystringYesThe search query to execute
searchEngineIdstringYesCustom Search Engine ID
numstringNoNumber of results to return (1-10, default 10)
startnumberNoIndex of the first result (1-based, for pagination; start + num must be <= 100)
dateRestrictstringNoRestrict results by recency: d[n] days, w[n] weeks, m[n] months, y[n] years
fileTypestringNoRestrict to a file extension (e.g., pdf, doc)
safestringNoSafeSearch level: "active" or "off" (default off)
searchTypestringNoSet to "image" to perform an image search
siteSearchstringNoA site to include or exclude from results
siteSearchFilterstringNoWhether to include ("i") or exclude ("e") the siteSearch site
lrstringNoRestrict to a language, e.g. "lang_en"
glstringNoTwo-letter country code to boost geographically relevant results
sortstringNoSort expression, e.g. "date"
apiKeystringYesGoogle API key

Output

ParameterTypeDescription
itemsarrayArray of search results from Google
↳ titlestringTitle of the search result
↳ htmlTitlestringTitle of the search result with HTML markup
↳ linkstringURL of the search result
↳ displayLinkstringDisplay URL (abbreviated form)
↳ snippetstringSnippet or description of the search result
↳ htmlSnippetstringSnippet of the search result with HTML markup
↳ formattedUrlstringDisplay URL shown beneath the result
↳ mimestringMIME type of the result
↳ fileFormatstringFile format of the result
↳ cacheIdstringID of Google's cached version
↳ pagemapobjectPageMap information for the result (structured data)
↳ imageobjectImage metadata (present when searchType is image)
↳ contextLinkstringURL of the page hosting the image
↳ heightnumberImage height in pixels
↳ widthnumberImage width in pixels
↳ byteSizenumberImage file size in bytes
↳ thumbnailLinkstringThumbnail image URL
↳ thumbnailHeightnumberThumbnail height in pixels
↳ thumbnailWidthnumberThumbnail width in pixels
searchInformationobjectInformation about the search query and results
↳ totalResultsstringTotal number of search results available
↳ searchTimenumberTime taken to perform the search in seconds
↳ formattedSearchTimestringFormatted search time for display
↳ formattedTotalResultsstringFormatted total results count for display
nextPageStartIndexnumberStart index for the next page of results (null if no further results)

On this page