Serpapi
Learn how to use Serpapi with Composio
Overview
Enum
SERPAPI
Description
SerpApi provides a real-time API for structured search engine results, allowing developers to scrape, parse, and analyze SERP data for SEO and research
Authentication Details
API_KEY
Actions
SERPAPI_EVENT_SEARCH
The eventsearch class allows you to scrape serp results from a google events search query. it performs an event search using the serp api, fetching event-related information such as concerts, festivals, and other happenings based on the input query.
Action Parameters
Action Response
SERPAPI_SHOPPING_SEARCH
The shoppingsearch class performs a product search using the serp api.it specifically target shopping results related to the given query. by utilizing the google shopping search engine through the serp api, it fetches the most relevant product listings based on the input query. the shoppingsearch
class is particularly useful for applications that need to retrieve and display the latest product listings and shopping results for a specific item. it leverages the powerful search capabilities of google’s shopping search engine, ensuring that the returned results are current and relevant.
Action Parameters
Action Response
SERPAPI_SEARCH
Perform a google search using the serp api.
Action Parameters
Action Response
SERPAPI_IMAGE_SEARCH
The imagesearch class performs an image search using the serp api, to target image data and information. it uses the google images search engine through the serp api to fetch relevant image information based on the input query.
Action Parameters
Action Response
SERPAPI_SCHOLAR_SEARCH
Scholar api allows you to scrape serp results from a google scholar search query. the scholarsearch class performs an academic search using the serp api, academic papers and scholarly articles. it uses the google scholar search engine through the serp api to fetch relevant academic information based on the input query.
Action Parameters
Action Response
SERPAPI_NEWS_SEARCH
The newssearch class performs a news-specific search using the serp api. this class extends the functionality of the base action class to specifically target news articles related to the given query. by utilizing the google news search engine through the serp api, it fetches the most relevant news articles based on the input query. the newssearch
class is particularly useful for applications that need to retrieve and display the latest news articles about a specific topic. it leverages the powerful search capabilities of google’s news search engine, ensuring that the returned results are current and relevant.
Action Parameters
Action Response
SERPAPI_DUCK_DUCK_GO_SEARCH
Duckduckgo api allows you to scrape serp results from a duckduckgo search query. the duckduckgosearch class performs a search using the serp api, targeting web information and details. it uses the duckduckgo search engine through the serp api to fetch relevant web information based on the input query.
Action Parameters
Action Response
SERPAPI_FINANCE_SEARCH
The financesearch class performs a financial search using the serp api, to target financial data and stock information. it uses the google finance search engine through the serp api to fetch relevant financial information based on the input query.
Action Parameters
Action Response
SERPAPI_GOOGLE_MAPS_SEARCH
The googlemapssearch class performs a location-specific search using the serp api. this class extends the functionality of the base action class to specifically target locations related to the given query. by utilizing the google maps search engine through the serp api, it fetches the most relevant location data based on the input query. the googlemapssearch
class is particularly useful for applications that need to retrieve and display location information about a specific area. it leverages the powerful search capabilities of google’s maps search engine, ensuring that the returned results are accurate and relevant.
Action Parameters
Action Response
SERPAPI_TRENDS_SEARCH
The trendssearch class performs a trend search using the serp api, to target trend data and information. it uses the google trends search engine through the serp api to fetch relevant trend information based on the input query.
Action Parameters
Action Response