SerpApi for AI agents

SerpApi is a structured API for scraping search engine results across Google, Bing, Amazon, and other platforms. SEO teams and researchers use it to pull ranking and listing data programmatically. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

AnalyticsAPI keyMCP + RESTserpapi.com
AUDIT LOG · SERPAPIPOLICY: acme-support
09:41:07 · claude · u_8f2read
serpapi.list_google_maps_reviews
Google Maps Reviews✓ allowed · 212ms
09:41:08 · claude · u_8f2read
serpapi.get_account
Get SerpApi Account✓ allowed · 164ms
09:41:09 · claude · u_8f2write
serpapi.bing_maps
Bing Maps Search✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
serpapi.get_search_archive
Get Search Archive✕ blocked · policy: deny
EVERY SERPAPI CALL, ON THE RECORD
01 · USE CASES

What agents do in SerpApi.

01

Pull search rankings for a keyword

Run a Google search query and return structured results to track where a page ranks.

02

Check account usage before a bulk pull

Look up the SerpApi account's remaining search credits before kicking off a large batch of queries.

03

Look up a product listing

Retrieve an Amazon product's details or a shopping search result for competitive price tracking.

02 · ACTIONS

59 SerpApi actions, graded by risk.

Every SerpApi action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

21

Look things up. Allowed by default.

  • serpapi.get_account
    Get SerpApi Account
  • serpapi.search_yelp
    Search Yelp businesses
  • serpapi.search_index
    Search Index
  • serpapi.get_youtube_video
    YouTube Video
  • serpapi.get_amazon_product
    Amazon Product
  • serpapi.get_facebook_profile
    Get Facebook profile information
  • serpapi.query_google_ai_mode
    Google AI Mode
  • serpapi.get_google_ai_overview
    Google AI Overview
  • serpapi.search_apple_app_store
    Search Apple App Store
  • serpapi.list_google_maps_reviews
    Google Maps Reviews
  • serpapi.search_public_google_ads
    Search public Google ads
  • serpapi.get_google_patent_details
    Get Google Patent Details
  • serpapi.search_google_images_light
    Google Images Light Search
  • serpapi.get_google_about_this_result
    Get Google About This Result
  • serpapi.get_youtube_video_transcript
    YouTube Video Transcript
  • serpapi.search_google_local_services
    Search Google Local Services
+ 5 MORE

write

37

Create and change things. Allow, or ask the user first.

  • serpapi.bing_maps
    Bing Maps Search
  • serpapi.bing_search
    Bing Search
  • serpapi.ebay_search
    eBay Search
  • serpapi.news_search
    Search for news articles
  • serpapi.play_search
    Google Play Search
  • serpapi.baidu_search
    Search Baidu with Query
  • serpapi.event_search
    Search Google Events
  • serpapi.hotel_search
    Hotel Search
  • serpapi.image_search
    Image search
  • serpapi.naver_search
    Naver Search
  • serpapi.yahoo_search
    Yahoo Search
  • serpapi.yahoo_videos
    Yahoo Videos Search
  • serpapi.amazon_search
    Amazon Search
  • serpapi.trends_search
    Google Trends search
  • serpapi.yandex_search
    Yandex Search
  • serpapi.finance_search
    Search finance
+ 21 MORE

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • serpapi.get_search_archive
    Get Search Archive
03 · HOW IT WORKS

SerpApi in three steps.

  1. 01Your users connect SerpApiThey add their SerpApi api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “bing Maps Search” can wait for the user, and “get Search Archive” can be denied outright.
  3. 03Any agent can actYour agent calls SerpApi through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('serpapi', {
  read: 'allow',
  write: 'ask',        // bing_maps
  destructive: 'deny',  // get_search_archive
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How SerpApi connects.

Users add their SerpApi api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same SerpApi connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use SerpApi from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

SerpApi and Arc0, answered.

Q01

Can I use SerpApi with Claude, ChatGPT or Cursor?

Yes. Connect SerpApi to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the SerpApi actions you allow.

Q02

How do users connect SerpApi?

Users add their SerpApi api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which SerpApi actions can my agent take?

59 in total: 21 read, 37 write and 1 destructive, such as “bing Maps Search”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in SerpApi?

Yes. Actions like “get Search Archive” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call SerpApi too?

Yes. The same SerpApi connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug SerpApi into your agent.

Your users connect SerpApi once, under your brand. Your agent gets 59 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan