
Connectors / Data and analytics · HTTP Connector
Automate SerpApi with Tray.ai
Submit an async search in SerpApi. Connect SerpApi to the rest of your data and analytics stack with Tray.ai.
What can you do with SerpApi on Tray.ai?
SerpApi returns search engine results from Google and other engines as structured JSON, covering web, maps, news, shopping and image results. Tray.ai connects to SerpApi through the HTTP Connector, so your workflows can call the SerpApi API alongside the rest of your stack.
- Search Google News for your brand each morning and post new coverage to your comms channel.
- Search Google Maps for businesses in a region and add them as leads in your CRM.
- Get account usage weekly and alert the data team before the monthly limit runs out.
- Connects through
- HTTP Connector
- Authentication
- An API key in the query string
- Base URL
- https://serpapi.com
Set it up
Connect SerpApi to Tray.ai
Each step uses SerpApi's own API details, from its documentation.
Step 1
Save SerpApi's API key
Save the key as a Tray.ai authentication and add it to the query string from $.auth, so it never sits in the workflow itself.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://serpapi.com as the base URL. Or paste a cURL example from SerpApi's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “Search Google”
It's one of 8 documented actions, under Search. The response comes back as data the next step can map into your other apps.
Step 4
Hand it to an AI agent
Wrap “Search Google Maps” and “Search Google News” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.
Workflows to build with SerpApi
Each one uses actions and events from SerpApi's own API documentation.
Track brand news from Google News in Slack
When
On a schedule
Then
- Search Google News for the company name
- Post new articles to the communications channel in Slack
With Slack
Build a local lead list from Google Maps in Google Sheets
When
On a schedule
Then
- Search Google Maps for the business type in each target city
- Add a row per business with name, address and phone in Google Sheets
With Google Sheets
Apps you can build on SerpApi data
Internal tools your team can build with an AI assistant, each one using SerpApi calls from its API documentation.
Local business finder
Searches Google Maps for businesses in an area so sales can build a list of local prospects.
Price check tool
Searches Google Shopping for a product and shows current listings and prices from other sellers.
Brand news monitor
Searches Google News for a brand name and shows the latest stories for the comms team.
Give your AI agents SerpApi tools
Build an MCP server on SerpApi in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- Search Google
- Submit an async search
- Get account usage
- Search Google Maps
- Search Google News
- Search Google Shopping
- Get an archived search
- Look up locations
What the SerpApi API covers
3 resources and 8 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Search
- Search Google
- Search Google Maps
- Search Google News
- Search Google Shopping
Search archive
- Submit an async search
- Get an archived search
Account and locations
- Get account usage
- Look up locations
Checked against SerpApi's own documentation on 2026-10-22
How Tray.ai makes this work
SerpApi plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in SerpApi — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose SerpApi actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on SerpApi data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More data and analytics apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every data and analytics connector →
Frequently asked questions
What can a Tray.ai workflow do in SerpApi?
+
The SerpApi API documents 8 actions across 3 resources (Search, Search archive, Account and locations). For example: Search Google; Submit an async search; Get account usage. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with SerpApi?
+
The SerpApi API uses an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See SerpApi working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.