# SerpApi

> Search Google, Maps, News, Images, Shopping, Jobs, Trends, Flights, Hotels, Patents, Amazon, Walmart, eBay, Bing, Yahoo, Yandex, and more via SerpApi.

Lets an agent run real-time searches across Google and other engines through
SerpApi and read back structured JSON results.

## What it can do

| Method | What it does |
| --- | --- |
| `serpapi_google_search` | Google web search - organic results, knowledge graph, related questions, local pack. |
| `serpapi_google_maps` | Google Maps - search places near coordinates or fetch one place by place_id / data_cid. |
| `serpapi_google_news` | Google News - by query or topic / publication / section / story token. |
| `serpapi_google_images` | Google Images - image results with filters and batch pagination. |
| `serpapi_google_shopping` | Google Shopping - products with price range, sort, free-shipping and on-sale filters. |
| `serpapi_google_scholar` | Google Scholar - papers, cited-by and all-versions lookups, year range filters. |
| `serpapi_google_jobs` | Google Jobs - job listings by query and location, with work-from-home filter and pagination. |
| `serpapi_google_jobs_listing` | Google Jobs Listing - full details and apply options for a single job_id. |
| `serpapi_google_trends` | Google Trends - interest over time, by region, and related topics / queries. |
| `serpapi_google_trends_trending_now` | Google Trends Trending Now - currently trending searches for a region. |
| `serpapi_google_flights` | Google Flights - flights between airports with class, stops, price and airline filters. |
| `serpapi_google_hotels` | Google Hotels - hotels and vacation rentals with dates, price, rating and amenity filters. |
| `serpapi_google_local` | Google Local - local pack of businesses for a query. |
| `serpapi_google_local_services` | Google Local Services - Google-screened local service providers. |
| `serpapi_google_maps_reviews` | Google Maps Reviews - reviews for a place with sort and topic / text filters. |
| `serpapi_google_maps_photos` | Google Maps Photos - photos for a place by data_id with category filter. |
| `serpapi_google_patents` | Google Patents - patents by query with inventor, assignee, date, status and type filters. |
| `serpapi_google_play` | Google Play Store - apps, games, movies and books with category and chart filters. |
| `serpapi_apple_app_store` | Apple App Store - app search by term with country, language and developer filters. |
| `serpapi_amazon_search` | Amazon - product search by domain with sort, category, attribute and price filters. |
| `serpapi_walmart_search` | Walmart - product search by query or category with sort, store and price filters. |
| `serpapi_ebay_search` | eBay - product search with buying-format, condition, price and sort filters. |
| `serpapi_home_depot_search` | Home Depot - product search (US/CA) with sort, store and price filters. |
| `serpapi_bing_search` | Bing web search - market, country and safe-search options. |
| `serpapi_baidu_search` | Baidu search - pagination and Chinese-language filters. |
| `serpapi_yahoo_search` | Yahoo web search - country, language, safe-search and pagination options. |
| `serpapi_yandex_search` | Yandex web search - domain, region, language and pagination options. |
| `serpapi_duckduckgo_search` | DuckDuckGo web search - region, date-range and safe-search filters. |
| `serpapi_naver_search` | Naver web search - by query with search-type (web / news / video / image) selection. |
| `serpapi_youtube_search` | YouTube search - by query with pagination / filter tokens. |
| `serpapi_get_locations` | Look up canonical SerpApi location names to use as the `location` parameter. |
| `serpapi_get_account` | Account status - plan, monthly limit, searches used and remaining. |

## How to get credentials

1. Sign up or log in at [serpapi.com](https://serpapi.com).
2. Open [serpapi.com/manage-api-key](https://serpapi.com/manage-api-key).
3. Copy your private API key.

The Account API (`serpapi_get_account`) is free and does not count against your
monthly search quota - use it to check how many searches you have left.

## Fields to fill in FlyMyAI

| FlyMyAI field | Where it comes from |
| --- | --- |
| `SERPAPI_API_KEY` | [serpapi.com/manage-api-key](https://serpapi.com/manage-api-key) |

## Links

- [API key](https://serpapi.com/manage-api-key)
- [API reference](https://serpapi.com/search-api)
