At a glance
- Availability: Experimental (how to enable).
- Auth: API key.
- Connection: The key from
SERPAPI_API_KEYis sent as theapi_keyquery parameter. - Docs: https://serpapi.com/search-api
Credentials
Set these per environment. See Connect an integration.| Variable | Required | Description |
|---|---|---|
SERPAPI_API_KEY | Yes | SerpApi private API key from your account dashboard Docs. |
Setup
- Create a SerpApi account: Sign up at https://serpapi.com/users/sign_up. The free plan includes a monthly allowance of searches, which is enough for testing.
- Copy your private API key: Open https://serpapi.com/manage-api-key and copy the private API key shown for your account.
- Store the key: Set the key as SERPAPI_API_KEY. You can verify it works by opening https://serpapi.com/search?engine=google&q=coffee&api_key=YOUR_KEY in a browser and checking that JSON results come back.
- SerpApi authenticates by passing the API key as an api_key query parameter on every request (https://serpapi.com/search?engine=google&q=…&api_key=…); it does not accept the key in an HTTP header.
- Each request consumes one search from your plan; the engine parameter selects the result type (google, google_news, google_maps, google_shopping, and more).
Tools
| Tool | Access | Description |
|---|---|---|
| Google Search | Read | Run a Google web search and get structured organic results, answer boxes, and related data |
| Google News Search | Read | Search Google News and get structured article results with titles, sources, and publish dates |
| Google Maps Search | Read | Search Google Maps for places and get structured local results with addresses, ratings, and coordinates |
| Google Shopping Search | Read | Search Google Shopping and get structured product results with prices, merchants, and ratings |