Soon One MCP server, all 49 APIs as agent tools. See how it works

Real-time search engine data extraction

SERP API

A powerful API for extracting structured data from search engine results pages (SERPs). This API provides comprehensive access to search results from Google and Bing with consistent JSON formatting for easy integration.

Built for SEO professionals, researchers, and developers who need reliable access to search engine data for competitive analysis, market intelligence, and SEO monitoring.

Free tier included, no credit card required. One key works across every API.

At a glance

SERP API

25 credits / call
Free calls / month
40
Search Engines
2
Result Types
8+
Response Speed
<1s
Get your free API key

40 free calls on the free plan

Key features

  • Multi-engine support with consistent format across Google and Bing
  • URL-based approach for simplified integration
  • Mobile vs desktop results differentiation
  • Comprehensive data extraction including ads, knowledge graphs, and related searches
  • Search type flexibility for images, news, videos, and shopping results
  • Real-time search engine data retrieval
  • Structured JSON output for easy parsing

Built for

  • SEO monitoring and analysis
  • Competitive intelligence
  • Market research and trends
  • Content strategy optimization
  • SERP feature tracking
  • Rank monitoring tools
  • Academic research projects
  • Business intelligence dashboards

Try it

Build the request for your data

Edit the parameters below and see the exact request and curl command you'd send. No key required to preview.

GET /v1/search
Open in Playground

Parameters

Request · HTTP
GET /v1/search?q=hamburger&engine=google HTTP/1.1
Host: api.apicodex.io
X-Api-Key: YOUR_API_KEY
Response · JSON 200 OK
{
"organic": [
  {
    "link": "https://en.wikipedia.org/wiki/Hamburger",
    "display_link": "https://en.wikipedia.org › wiki › Hamburger",
    "title": "Hamburger",
    "description": "A hamburger, or simply a burger, is a dish consisting of fillings..."
  }
],
"related_searches": [
  "hamburger recipes",
  "hamburger near me",
  "best hamburger"
],
"knowledge_graph": {
  "title": "Hamburger",
  "description": "A hamburger is a food consisting of fillings..."
},
"ads": [
  {
    "title": "Best Burgers Delivered",
    "link": "https://example.com/burgers",
    "description": "Order fresh hamburgers online..."
  }
],
"pagination": {
  "current": 1,
  "next": "https://www.google.com/search?q=hamburger&start=10"
}
}

Documentation

SERP API Documentation

The SERP API provides comprehensive extraction of search engine results data from Google and Bing. This documentation outlines how to effectively integrate and utilize the API for SEO monitoring, competitive analysis, and market research.

Base URL

url
https://api.apicodex.io/serp

Authentication

Authenticate every request with your API key: send it in an X-Api-Key header, or pass it as an ?apikey= query parameter.

headers
{
"X-Api-Key": "YOUR_API_KEY"
}

Request and response

Illustrative values. Confirm current endpoint behavior, quotas, and data freshness in the API documentation before production use.

request · http
GET /v1/search?q=hamburger&engine=google HTTP/1.1
Host: api.apicodex.io
X-Api-Key: YOUR_API_KEY
response · json
{
"organic": [
  {
    "link": "https://en.wikipedia.org/wiki/Hamburger",
    "display_link": "https://en.wikipedia.org › wiki › Hamburger",
    "title": "Hamburger",
    "description": "A hamburger, or simply a burger, is a dish consisting of fillings..."
  }
],
"related_searches": [
  "hamburger recipes",
  "hamburger near me",
  "best hamburger"
],
"knowledge_graph": {
  "title": "Hamburger",
  "description": "A hamburger is a food consisting of fillings..."
},
"ads": [
  {
    "title": "Best Burgers Delivered",
    "link": "https://example.com/burgers",
    "description": "Order fresh hamburgers online..."
  }
],
"pagination": {
  "current": 1,
  "next": "https://www.google.com/search?q=hamburger&start=10"
}
}

Code examples

curl
curl -X GET "https://api.apicodex.io/serp/v1/search?q=hamburger&engine=google" \
  -H "X-Api-Key: YOUR_API_KEY"

Search Parameters

Required parameters

  • q Search query string
  • engine Search engine (google, bing)

Optional parameters

  • mobile Set to true for mobile results
  • tbm Search type (isch=images, nws=news, vid=videos, shop=shopping)
  • gl Country code for localized results
  • hl Language code

Coming soon · MCP

Use the SERP API from your AI agent

The API Codex MCP server will expose this API, and the rest of the catalog, to Claude, Cursor and any MCP client as tools. Same key, same credits, one config entry.

About the MCP server →

Pricing

SERP API Pricing

This API costs 25 credits per request. Credits are shared across every API on your plan.

Cost estimator

requests per month → cheapest plan that covers it

Estimate your monthly cost

Drag the slider to match your expected request volume. We'll recommend the cheapest plan that covers it.

10,000

Recommended plan

Starter

$29.99 /month

Credits used
Credits included
Cost per 1K requests
Choose Starter

Free

Free
1,000 credits · ~40 requests/mo · 2 rps
  • All APIs included
  • No credit card required
  • Full documentation and examples
Start for free

Starter

Popular
$29.99 /month
50,000 credits · ~2,000 requests/mo · 10 rps
  • All APIs included
  • Email support
  • Usage dashboard and analytics
Start with Starter

Pro

$99.99 /month
250,000 credits · ~10,000 requests/mo · 25 rps
  • All APIs included
  • Priority support
  • Up to 5 API keys
Start with Pro

Need a different plan?

Tell us about your API, volume, or support requirements.

Contact us

FAQ

Frequently asked questions

Ready to integrate SERP?