Get API Key
API Search Made Simple

All-in-One SEO & Web Intelligence Toolkit API

Monitor keywords, track domain rankings, analyze SERPs, and extract insights — all in one powerful API for competitive research, keyword intelligence, and content strategy.

SERP API Example
const response = await fetch( 'https://www.fetchserp.com/api/v1/serp?' + new URLSearchParams({ search_engine: 'google', country: 'us', pages_number: '1', query: 'serp+api' }), { method: 'GET', headers: { 'accept': 'application/json', 'authorization': 'Bearer TOKEN' } }); const data = await response.json(); console.dir(data, { depth: null });
Connected 200 OK
SERP Results
🚀 New Feature

Chat with an SEO Expert Agent in Claude Desktop

Integrate FetchSERP API directly into Claude Desktop using MCP (Model Context Protocol). Get real-time SEO insights, keyword research, and competitor analysis through natural conversation with an AI expert.

Easy Setup - 2 Minutes
1

Get Your API Token

Sign up and get your FetchSERP API token with 250 free credits.

2

Configure Claude Desktop

Add this configuration to your Claude Desktop config file:

claude_desktop_config.json
{
  "mcpServers": {
    "fetchserp": {
      "command": "npx",
      "args": [
        "github:fetchSERP/fetchserp-mcp-server-node"
      ],
      "env": {
        "FETCHSERP_API_TOKEN": "your_fetchserp_api_token_here"
      }
    }
  }
}
3

Start Chatting

Restart Claude Desktop and start asking SEO questions!

Claude Desktop - SEO Expert
U

What are the top keywords my competitor "example.com" is ranking for?

AI

I'll analyze your competitor's keywords using the FetchSERP API. Let me check their domain ranking data...

🔍 Fetching SERP data for "example.com"...

Found 1,247 ranking keywords! Here are the top opportunities:

  • • "best api tools" - Position 3, High volume
  • • "search engine api" - Position 7, Medium competition
  • • "keyword research tools" - Position 12, Low competition
U

Can you analyze the backlinks for the domain "fetchserp.com"?

Natural Conversation

Ask SEO questions in plain English and get expert analysis with real data.

Real-Time Data

Access live SERP data, rankings, and backlinks without leaving Claude.

Expert Insights

Get actionable SEO recommendations based on comprehensive data analysis.

Instant Analysis

Get competitive analysis, keyword research, and content insights instantly.

Try Example Prompts

"Analyze the top 10 results for 'best CRM software' and tell me what content gaps I can target"

"Check my domain ranking for 'project management tools' across all search engines"

"Find long-tail keywords with low competition related to 'email marketing'"

"Analyze my competitor's backlink profile and suggest link building opportunities"

🔌 API Integration

Use with Claude API & OpenAI API

Integrate FetchSERP directly into your AI applications using MCP (Model Context Protocol) with Claude API or OpenAI API. Build powerful SEO-powered AI agents and chatbots.

Claude API

Anthropic's Claude with MCP

Configuration

MCP Server URL
MCP_SERVER_URL=https://www.fetchserp.com/mcp
FETCHSERP_API_TOKEN=your_fetchserp_api_token_here

Code Example

Claude API Request with MCP
const claudeRequest = {
  model: "claude-sonnet-4-20250514",
  messages: [
    {
      role: "user", 
      content: question
    }
  ],
  mcp_servers: [
    {
      type: "url",
      url: process.env.MCP_SERVER_URL,
      name: "fetchserp",
      authorization_token: process.env.FETCHSERP_API_TOKEN,
      tool_configuration: {
        enabled: true
      }
    }
  ]
};
Features Available

SERP analysis, keyword research, domain rankings, backlinks analysis, and more - all through natural language prompts.

OpenAI API

GPT-4 with MCP

Environment Setup

Environment Variables
MCP_SERVER_URL=https://www.fetchserp.com/mcp
FETCHSERP_API_TOKEN=your_fetchserp_api_token_here

Code Example

OpenAI API Request with MCP
let response = await openai.responses.create({
  model: "gpt-4.1",
  tools: [
    {
      type: "mcp",
      server_label: "fetchserp",
      server_url: process.env.MCP_SERVER_URL,
      headers: {
        Authorization: `Bearer ${process.env.FETCHSERP_API_TOKEN}`
      }
    }
  ],
  input: question
});
Perfect for

Building SEO chatbots, content optimization tools, competitive analysis dashboards, and automated reporting systems.

Popular Use Cases

SEO Chatbots

Build intelligent chatbots that can perform real-time SEO analysis, keyword research, and provide actionable recommendations.

AI Agents

Create AI agents that autonomously monitor competitors, track rankings, and optimize content strategies.

Analytics Tools

Develop sophisticated analytics platforms with natural language queries for SEO data and insights.

📚 Official SDKs

Use FetchSERP with Your Favorite Language

Get started quickly with our official SDKs. Hand-crafted libraries for seamless integration with comprehensive documentation and examples.

Ruby SDK

Lightweight & hand-crafted

# Gemfile
gem "fetchserp", "~> 0.1"

# Usage
client = FetchSERP::Client.new
response = client.serp(query: "ruby gems")
puts response.data["results"]
2 stars GPL-3.0
View Ruby SDK →

Node.js SDK

Modern JavaScript/TypeScript

# Install
npm install fetchserp

# Usage
const FetchSERP = require('fetchserp');
const client = new FetchSERP('your-api-key');
const results = await client.serp('node.js');
2 stars JavaScript
View Node.js SDK →

Python SDK

Clean & Pythonic API

# Install
pip install fetchserp

# Usage
from fetchserp import FetchSERP
client = FetchSERP('your-api-key')
results = client.serp('python sdk')
2 stars Python
View Python SDK →

Open Source & Community Driven

All our SDKs are open source and actively maintained. Contribute, report issues, or request features on GitHub. We welcome pull requests and community contributions.

MIT/GPL-3.0 Licensed
Comprehensive Documentation
Regular Updates

Explore All Repositories

Browse our complete collection of tools and integrations

View GitHub Organization →

SERP Endpoint

Fetch search engine results pages from Google, DuckDuckGo, Yahoo and Bing. Get structured data with position rankings, titles, descriptions, and URLs. Perfect for market research, competitor analysis, and content strategy. Track your brand visibility, monitor industry trends, and discover new opportunities across multiple search engines.

                  
API Response
      
      [
        {
          "site_name": "fetchSERP",
          "url": "https://www.fetchserp.com/",
          "title": "SERP API",
          "description": "Search Engine API",
          "ranking": 1
        }
      ]
      
      
Engine: Google Query: "serp+api" Time: 1.7s

Ranking Endpoint

Get the ranking of a domain for a given keyword on Google, Bing, Yahoo and DuckDuckGo. Monitor your SEO performance, track competitor positions, and identify ranking opportunities. Ideal for SEO agencies managing multiple clients, e-commerce businesses tracking product visibility, and content creators optimizing their reach.

                  
API Response
      
      [
        {
          "url": "https://www.fetchserp.com/",
          "ranking": 1
        }
      ]
      
      
Engine: Google Query: "serp+api" Time: 1.3s

SERP HTML Endpoint

Get search engine results with full html content. Extract and analyze content from search results across multiple engines. Perfect for content gap analysis, competitor research, and market intelligence. Understand what content ranks well, identify content opportunities, and optimize your content strategy based on real search data.

                  
API Response
      
      [
        {
          "site_name": "www.fetchserp.com",
          "url": "https://www.fetchserp.com/",
          "title": "fetchSERP - Search Engine Results and Domain Ranking API",
          "description": "FetchSERP API: Track domain rankings for any keyword and fetch real-time search engine results from Google, Bing, Yahoo and DuckDuckGo.",
          "ranking": 1,
          "html": "<!DOCTYPE html>\n<html>\n  <head>...</head>\n  <body>...</body>\n</html>"
        }
      ]
      
      
Engine: Google Query: "serp+api" Time: 2.1s

SERP Text Endpoint

Get search engine results with extracted text content. Analyze and process text from search results across multiple engines. Perfect for content analysis, text mining, and natural language processing. Extract valuable insights from search results, analyze content patterns, and build text-based applications with structured data.

                  
API Response
      
      [
        {
          "site_name": "www.fetchserp.com",
          "url": "https://www.fetchserp.com/",
          "title": "fetchSERP - Search Engine Results and Domain Ranking API",
          "description": "FetchSERP API: Track domain rankings for any keyword and fetch real-time search engine results from Google, Bing, Yahoo and DuckDuckGo.",
          "ranking": 1,
          "text": "FetchSERP API provides comprehensive search engine results and domain ranking data..."
        }
      ]
      
      
Engine: Google Query: "serp+api" Time: 1.8s

SERP AI Overview Endpoint

Search engine results pages with full JavaScript rendering. Retrieve dynamic SERP data including AI overview, sources, and organic results. Ideal for capturing modern search features and ensuring accuracy when JavaScript execution is required.

                  
API Response

{
  "data": {
    "query": "serp api",
    "country": "us",
    "results": {
      "ai_overview": {
        "content": "SERP APIs allow developers to fetch search results programmatically...",
        "sources": [
          {
            "title": "fetchSERP - SEO & Web Intelligence API",
            "url": "https://www.fetchserp.com/",
            "site_name": "fetchSERP",
            "description": "Comprehensive SEO & web intelligence API",
            "ranking": 1
          }
        ]
      },
      "search_results": [
        {
          "site_name": "fetchSERP",
          "url": "https://www.fetchserp.com/",
          "title": "SERP API",
          "description": "Search Engine",
          "ranking": 1
        }
      ]
    }
  }
}

Engine: Google Query: "serp api" Time: 2.0s

SERP AI Mode Endpoint

Access Google's AI Mode responses with comprehensive source extraction. Get both AI Overview and AI Mode responses including thinking processes, search summaries, and detailed source information. Perfect for AI research, content analysis, and understanding how Google's AI interprets and responds to complex queries.

                  
API Response

{
  "data": {
    "query": "how do pumps work",
    "country": "us",
    "uuid": "abc123-def456",
    "results": {
      "ai_overview": {
        "content": "Pumps work by creating pressure differences...",
        "sources": [...]
      },
      "ai_mode_response": {
        "content": "A pump works by converting energy into fluid movement...",
        "sources": [
          {
            "title": "How Pumps Work - Wikipedia",
            "url": "https://en.wikipedia.org/wiki/Pump",
            "site_name": "Wikipedia",
            "description": "Comprehensive pump mechanics explanation",
            "favicon": "https://en.wikipedia.org/favicon.ico",
            "ranking": 1
          }
        ]
      }
    }
  }
}

Engine: Google AI Mode Query: "how do pumps work" Time: 15.0s

US-Only AI Mode Endpoint Cached

Optimized US-only endpoint for Google's AI Mode and AI Overview responses. Features intelligent caching for lightning-fast repeated queries (15-minute cache). Perfect for US market research, content analysis, and high-volume applications requiring consistent US search results.

15min Cache

Instant responses for repeated queries

US Only

Consistent US market results

                  
API Response Cached

{
  "data": {
    "results": [
      {
        "ai_overview": {
          "content": "Electric vehicles use rechargeable battery packs...",
          "sources": [
            {
              "title": "How Electric Cars Work",
              "url": "https://example.com/guide",
              "ranking": 1
            }
          ]
        },
        "ai_mode_response": {
          "content": "Electric vehicles (EVs) operate using electric motors powered by rechargeable batteries...",
          "sources": [
            {
              "title": "Electric Vehicle Technology",
              "url": "https://ev-guide.org",
              "site_name": "EV Guide",
              "ranking": 1
            }
          ]
        }
      }
    ]
  }
}

Cache Hit: US Market Query: "how do electric cars work" Time: 0.05s

Web Page Scraping Endpoint

Scrape any web page with custom JavaScript execution. Extract content, metadata, and more. Build price monitoring tools, content aggregators, or market research applications. Customize extraction rules, handle dynamic content, and get structured data output. Ideal for e-commerce price tracking, news aggregation, and competitive intelligence.

                  
API Response
      
      {
        "h1": "FetchSerp - SERP API",
        "content": "fetchSERP API\nUse Cases..."
      }
      
      
URL: fetchserp.com Time: 0.8s

Web Page Scraping with JS & Proxy Endpoint

Scrape any web page with custom JavaScript execution through proxy servers. Perfect for accessing geo-restricted content, bypassing bot detection, and extracting data from dynamic websites. Combine the power of JavaScript rendering with proxy anonymization for advanced web scraping. Ideal for price monitoring, content aggregation, and market research across different regions.

                  
API Response
      
      {
        "data": {
          "web_page": {
            "h1": "All-in-One SEO & Web Intelligence Toolkit API",
            "meta_description": "FetchSERP API: Comprehensive SEO & web intelligence toolkit with search engine results, domain rankings, backlinks analysis, keyword research, and web scraping capabilities.",
            "content": "Monitor keywords, track domain rankings, analyze SERPs, and extract insights..."
          }
        }
      }
      
      
URL: fetchserp.com Country: US Time: 2.5s

Web Page Scraping (No JS) Endpoint

Extract raw HTML content from any web page without JavaScript execution. Perfect for static content scraping, data extraction, and content analysis. Build content aggregators, data collection tools, or research applications. Get clean, structured HTML output for further processing. Ideal for static websites, documentation, and content-heavy pages.

                  
API Response
      
      {
        "web_page": {
          "html": "<!DOCTYPE html>\n<html>\n  <head>...</head>\n  <body>...</body>\n</html>"
        }
      }
      
      
URL: fetchserp.com Time: 0.5s

Domain Scraping Endpoint

Extract all URLs from a domain by first checking for a sitemap, and if not found, scraping the main page for links. Get structured data with URLs and their HTML content. Perfect for site mapping, content auditing, and competitive analysis. Build comprehensive site maps, analyze content structure, and discover new opportunities.

                  
API Response
      
      {
        "web_pages": [
          {
            "url": "https://www.fetchserp.com/",
            "html": "<!DOCTYPE html>\n<html>\n  <head>...</head>\n  <body>...</body>\n</html>"
          }
        ]
      }
      
      
Domain: fetchserp.com Time: 1.8s

Keywords Search Volume Endpoint

Get search volume data for multiple keywords. Track keyword performance and trends across different countries. Make data-driven content decisions, identify high-value keywords, and optimize your SEO strategy. Perfect for content planning, PPC campaign optimization, and market opportunity analysis. Understand search demand and competition levels.

                  
API Response
      
      {
        "search_volume": [
          {
            "keyword": "serp api",
            "avg_monthly_searches": 6600,
            "competition": "MEDIUM",
            "competition_index": 36,
            "low_top_of_page_bid_micros": 1725093,
            "high_top_of_page_bid_micros": 6214505,
            "monthly_search_volumes": [
              {
                "year": 2024,
                "month": "MAY",
                "monthly_searches": 4400
              }
            ]
          }
        ]
      }
      
      
Keywords: 2 Time: 1.2s

Keywords Suggestions Endpoint

Get keyword suggestions based on a URL or seed keywords. Discover new opportunities with search volume and competition data. Expand your keyword universe, find long-tail opportunities, and optimize your content strategy. Ideal for content ideation, SEO optimization, and PPC campaign expansion. Uncover hidden opportunities and target the right audience.

                  
API Response
      
      {
        "keywords_suggestions": [
          {
            "keyword": "serp api",
            "avg_monthly_searches": 6600,
            "competition": "LOW",
            "competition_index": 36,
            "low_top_of_page_bid_micros": 1725093,
            "high_top_of_page_bid_micros": 6214505
          }
        ]
      }
      
      
Keywords: 2 Time: 1.5s

SEO Analysis Endpoint

Get comprehensive SEO analysis for any web page. Analyze meta tags, headings, content structure, and technical SEO elements. Perfect for content optimization, technical SEO audits, and competitive analysis. Monitor your SEO performance, identify improvement opportunities, and maintain best practices across your website.

                  
API Response
  
  {
    "analysis": {
      "title": "fetchSERP - SEO & Web Intelligence Toolkit API",
      "title_length": 46,
      "meta_description": "FetchSERP API: Comprehensive SEO & web intelligence toolkit with search engine results, domain rankings, backlinks analysis, keyword research, and web scraping capabilities. Access data from Google, Bing, Yahoo and DuckDuckGo. Fast, reliable API with low-latency endpoints and simple integration. Start with 250 free credits.",
      "meta_description_length": 326,
      "title_contains_keyword": false,
      "description_contains_keyword": true,
      "canonical_url": null,
      "robots_meta": null,
      "noindex_detected": null,
      "nofollow_detected": null
    },
    ...
  }
  
  
URL: example.com/page Time: 1.5s

Domain Emails Endpoint

Extract email addresses associated with a domain from search engine results. Perfect for lead generation, contact discovery, and business intelligence. Find business contacts, build prospect lists, and identify potential partners or customers. Ideal for sales teams, marketers, and business development professionals.

                  
API Response
      
      {
        "emails": [
          "contact@fetchserp.com",
          "support@fetchserp.com",
          "info@fetchserp.com"
        ]
      }
      
      
Domain: example.com Time: 2.1s

Web Page AI Analysis Endpoint

Analyze any web page using advanced AI. Provide a URL and a custom prompt to receive a structured, AI-generated analysis of the page's content. Perfect for content audits, SEO reviews, and extracting insights from any web page. Use your own prompt to tailor the analysis to your needs.

                  
API Response
      
      {
        "ai_analysis": "This web page is the official landing page for fetchSERP, an SEO & web intelligence API toolkit. It offers endpoints for SERP data, domain rankings, backlinks, keyword research, and web scraping. The page highlights features, pricing, and use cases for SEO professionals, marketers, and developers."
      }
      
      
URL: fetchserp.com Time: 2.2s

Page Indexation Endpoint

Check if a domain is indexed for a specific keyword in search engines. Verify your content visibility, monitor indexing status, and track your SEO performance. Perfect for SEO audits, content strategy, and website optimization. Ensure your pages are properly indexed and discoverable in search results.

                  
API Response
      
      {
        "data": {
          "domain": "fetchserp.com",
          "keyword": "serp api",
          "indexed": true,
          "urls": [
            "https://www.fetchserp.com/serp-api"
          ]
        }
      }
      
      
Domain: fetchserp.com Keyword: "serp api" Time: 1.5s

Long Tail Keywords Generator Endpoint

Generate targeted long-tail keywords based on a seed keyword and search intent. Create content-optimized keyword variations for different user intents. Perfect for content strategy, SEO optimization, and keyword research. Get AI-powered keyword suggestions that match your target audience's search behavior and content needs.

                  
API Response
      
      {
        "long_tail_keywords": [
          "how to use serp api for keyword research",
          "best serp api alternatives for seo analysis",
          "serp api pricing comparison 2024",
          "serp api vs competitor tools for backlink analysis",
          "serp api documentation guide for developers"
        ]
      }
      
      
Keyword: "serp api" Intent: informational Time: 2.1s

Domain Info Endpoint

Get comprehensive domain information including DNS records, WHOIS data, server details, SSL certificates, and technology stack analysis. Perfect for domain research, security audits, and technical due diligence. Analyze server configurations, detect technologies used, and gather detailed domain metadata in a single API call.

                  
API Response
      
      {
        "domain_info": {
          "dns": {
            "a": ["93.184.216.34"],
            "mx": ["mail.example.com"],
            "ns": ["ns1.example.com", "ns2.example.com"]
          },
          "whois": {
            "registrar": "Example Registrar",
            "created_on": "2020-01-01",
            "expires_on": "2025-01-01"
          },
          "server": {
            "ip": "93.184.216.34",
            "https_supported": true,
            "server": "nginx/1.18.0"
          },
          "technology_stack": {
            "backend_frameworks": ["Ruby on Rails"],
            "frontend_frameworks": ["React"],
            "analytics_cdns": ["Google Analytics"]
          }
        }
      }
      
      
Domain: "example.com" Time: 3.2s

Moz Domain Analysis Endpoint

Get comprehensive Moz domain analysis data including domain authority, linking root domains, ranking keywords, spam score, top pages, and competitive insights. Perfect for SEO audits, competitive analysis, and link building strategies. Access detailed SEO metrics, discover top-performing content, and analyze your competition with industry-standard Moz data.

                  
API Response
      
      {
        "data": {
          "moz_data": {
            "domain": "fetchserp.com",
            "domain_authority": 65,
            "linking_root_domains": 1250,
            "ranking_keywords": 8540,
            "spam_score": "1%",
            "top_pages": [
              {
                "url": "https://fetchserp.com/page",
                "page_authority": 45
              }
            ],
            "top_ranking_keywords": [
              {
                "keyword": "serp api",
                "rank": 3
              }
            ],
            "top_search_competitors": [
              {
                "domain": "competitor.com",
                "domain_authority": 58,
                "visibility": 0.85
              }
            ]
          }
        }
      }
      
      
Domain: "fetchserp.com" Time: 4.1s

Simple Credit-Based Pricing

$1 = 1000 credits

Get started with 250 free credits. Pay as you go with credits that never expire.

Search Engine Results Endpoints (Google, Bing, Yahoo and DuckDuckGo)

SERP Endpoint 1 credit/page
Ranking Endpoint 1 credit/page
SERP Content Endpoint 2 credits/page
SERP JS Endpoint 15 credits
SERP AI Endpoint 20 credits
Page Indexation Endpoint 1 credit
Backlinks Endpoint 2 credits/page

Keyword Intelligence Endpoints

Keywords Search Volume Endpoint 2 credits
Keywords Suggestions Endpoint 3 credits
Long-tail Keywords Generator Endpoint 10 credits

Web Scraping Endpoints

Web Page Scraping Endpoint 1 credit/page
Web Page Scraping Endpoint 5 credits/page
Web Page Scraping Endpoint 15 credits/page
Domain Scraping Endpoint 1 credit/page
SEO Analysis Endpoint 5 credits
Domain Emails Endpoint 2 credits/page

AI Endpoints

Web Page AI Analysis Endpoint 10 credits

Domain Info Endpoints

Domain Info Endpoint 5 credits
Moz Domain Analysis Endpoint 15 credits

Comprehensive SEO & Web Intelligence Toolkit

Universal SERP Coverage

Universal SERP Coverage

Access search results from Google, Bing, Yahoo and DuckDuckGo through a single unified API.

Backlinks Analysis

Backlinks Analysis

Get detailed backlink data including source URLs, anchor text, and link attributes for any domain.

Keyword Intelligence

Keyword Intelligence

Access search volume data, keyword suggestions, and competition metrics for better content planning.

Web Scraping

Web Scraping

Extract content from any webpage with custom JavaScript execution and structured data output.

Domain Rankings

Domain Rankings

Track your domain's position for any keyword across multiple search engines in real-time.

Simple Integration

Simple Integration

Integrate with just a few lines of code using our well-documented REST API and multiple language examples.

Content Analysis

Content Analysis

Analyze top-ranking content and extract insights to improve your content strategy and performance.

Market Research

Market Research

Gather competitive intelligence and market insights from search results across multiple engines.

Competitive Analysis

Competitive Analysis

Monitor competitor rankings, backlinks, and content strategies to identify market opportunities.

Use Cases

SEO Analysis

SEO Analysis

Track search rankings, analyze backlinks, and monitor competitor visibility across multiple search engines.

Market Research

Market Research

Gather insights about product placement, brand visibility, and competitor strategies in search results.

Content Strategy

Content Strategy

Research keywords, analyze top-ranking content, and identify content gaps to inform your strategy.

Link Building

Link Building

Analyze backlink profiles, identify link opportunities, and track your link building progress.

Who is it for?

SEO Professionals

SEO Professionals

Monitor rankings, analyze backlinks, and optimize content with comprehensive SEO data and insights.

Content Marketers

Content Marketers

Research topics, analyze content performance, and identify opportunities for content optimization.

Data Analysts

Data Analysts

Extract and analyze web data, track market trends, and generate actionable insights from search results.

Developers

Developers

Build SEO tools, market research applications, and data-driven web services with our powerful API.