# API Reference


## Enumerations


Enum types


[ShoppingSearchEngine](ShoppingSearchEngine.md#serpapi_search_tools.ShoppingSearchEngine)  
Product indexes supported by `shopping_search()`.

[WebSearchEngine](WebSearchEngine.md#serpapi_search_tools.WebSearchEngine)  
General web indexes supported by `web_search()`.

[SearchResultFormat](SearchResultFormat.md#serpapi_search_tools.SearchResultFormat)  
Select the serialization returned by SerpApi and the tool.

[SearchResultMode](SearchResultMode.md#serpapi_search_tools.SearchResultMode)  
Control how much of a SerpApi response is returned to the agent.

[TravelClass](TravelClass.md#serpapi_search_tools.TravelClass)  
Cabin class shared by flight and travel-explore tools.


## Exceptions


Exception classes


[SerpApiSearchError](SerpApiSearchError.md#serpapi_search_tools.SerpApiSearchError)  
A sanitized failure raised while executing a search.


## Functions


Public functions


[images_search()](images_search.md#serpapi_search_tools.images_search)  
Create a Google Images tool for image URLs and metadata.

[maps_search()](maps_search.md#serpapi_search_tools.maps_search)  
Create a Google Maps search-mode tool for places and businesses.

[news_search()](news_search.md#serpapi_search_tools.news_search)  
Create a Google News query-mode tool for current articles and stories.

[shopping_search()](shopping_search.md#serpapi_search_tools.shopping_search)  
Create a multi-marketplace product search tool.

[videos_search()](videos_search.md#serpapi_search_tools.videos_search)  
Create a YouTube tool for videos, channels, and playlists.

[web_search()](web_search.md#serpapi_search_tools.web_search)  
Create a general-web search tool.

[flights_search()](flights_search.md#serpapi_search_tools.flights_search)  
Create a Google Flights tool for one-way and round-trip routes.

[hotels_search()](hotels_search.md#serpapi_search_tools.hotels_search)  
Create a Google Hotels tool with explicit stay dates.

[travel_explore_search()](travel_explore_search.md#serpapi_search_tools.travel_explore_search)  
Create a Google Travel Explore destination-discovery tool.
