serper
Serper is a Google Search API that provides developers with programmatic access to Google search results. It offers a reliable, high-performance way to integrate Google search capabilities into applications without the complexity of web scraping or the limitations of other search APIs.
With Serper, you can:
Access Google search results: Get structured data from Google search results programmatically
Perform different search types: Run web searches, image searches, news searches, and more
Retrieve rich metadata: Obtain titles, snippets, URLs, and other relevant information from search results
Scale your applications: Build search-powered features with a reliable and fast API
Avoid rate limiting: Get consistent access to search results without worrying about IP blocks
The Agent Forge Serper integration gives your agents the power of web search right in their workflows.
This enables sophisticated automation that requires up-to-date internet information. Your agents can formulate queries, retrieve relevant results, and use this real-time data to make decisions or provide accurate responses.
By connecting Agent Forge with Serper, you bridge the gap between your workflow automation and the vast knowledge of the web, allowing you to create agents that stay current and deliver greater value to users without manual intervention.
Usage Instructions
Access real-time web search results with Serper's Google Search API integration. Retrieve structured search data including web pages, news, images, and places with customizable language and region settings.
Where to Get Your Serper API Key
You can obtain your Serper API key directly from the Serper website dashboard after creating a free account.
Sign up or Log in
Navigate to the official Serper website and sign up for an account. They offer a free tier that is excellent for starting out.
Copy and Store Your Key
Your unique Serper API key will be displayed on this page.
Copy it immediately and save it in a secure location (such as a password manager or a
.envfile).When using the key in your code (especially with tools like LangChain or CrewAI), it should typically be set as an environment variable named
SERPER_API_KEY.
Tools
serper_search
serper_searchA powerful web search tool that provides access to Google search results through Serper.dev API. Supports different types of searches including regular web search, news, places, and images, with each result containing relevant metadata like titles, URLs, snippets, and type-specific information.
Input
query
string
Yes
The search query
num
number
No
Number of results to return
gl
string
No
Country code for search results
hl
string
No
Language code for search results
type
string
No
Type of search to perform
apiKey
string
Yes
Serper API Key
Output
searchResults
json
Search results data
Notes
Category:
toolsType:
serper
Was this helpful?
