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.
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 });
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.
Get Your API Token
Sign up and get your FetchSERP API token with 250 free credits.
Configure Claude Desktop
Add this configuration to your Claude Desktop config file:
{
"mcpServers": {
"fetchserp": {
"command": "npx",
"args": [
"github:fetchSERP/fetchserp-mcp-server-node"
],
"env": {
"FETCHSERP_API_TOKEN": "your_fetchserp_api_token_here"
}
}
}
}
Start Chatting
Restart Claude Desktop and start asking SEO questions!
What are the top keywords my competitor "example.com" is ranking for?
I'll analyze your competitor's keywords using the FetchSERP API. Let me check their domain ranking data...
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
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"
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=https://www.fetchserp.com/mcp
FETCHSERP_API_TOKEN=your_fetchserp_api_token_here
Code Example
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
MCP_SERVER_URL=https://www.fetchserp.com/mcp
FETCHSERP_API_TOKEN=your_fetchserp_api_token_here
Code Example
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.
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"]
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');
Python SDK
Clean & Pythonic API
# Install
pip install fetchserp
# Usage
from fetchserp import FetchSERP
client = FetchSERP('your-api-key')
results = client.serp('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.
Explore All Repositories
Browse our complete collection of tools and integrations
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.
[
{
"site_name": "fetchSERP",
"url": "https://www.fetchserp.com/",
"title": "SERP API",
"description": "Search Engine API",
"ranking": 1
}
]
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.
[
{
"url": "https://www.fetchserp.com/",
"ranking": 1
}
]
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.
[
{
"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>"
}
]
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.
[
{
"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..."
}
]
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.
{
"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
}
]
}
}
}
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.
{
"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
}
]
}
}
}
}
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.
Instant responses for repeated queries
Consistent US market results
{
"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
}
]
}
}
]
}
}
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.
{
"h1": "FetchSerp - SERP API",
"content": "fetchSERP API\nUse Cases..."
}
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.
{
"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..."
}
}
}
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.
{
"web_page": {
"html": "<!DOCTYPE html>\n<html>\n <head>...</head>\n <body>...</body>\n</html>"
}
}
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.
{
"web_pages": [
{
"url": "https://www.fetchserp.com/",
"html": "<!DOCTYPE html>\n<html>\n <head>...</head>\n <body>...</body>\n</html>"
}
]
}
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.
{
"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 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.
{
"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
}
]
}
Backlinks Endpoint
Get detailed backlink data for any domain. Analyze link profiles, anchor text, and link attributes to improve your SEO strategy. Monitor your backlink growth, identify toxic links, and discover new link building opportunities. Perfect for SEO agencies, content marketers, and website owners. Track your link building progress and maintain a healthy backlink profile.
{
"backlinks_count": 7,
"backlinks": [
{
"source_url": "https://www.producthunt.com/products/fetchserp",
"target_url": "https://www.fetchserp.com/?ref=producthunt",
"anchor_text": "Visit website",
"nofollow": false,
"rel_attributes": [
"noreferrer"
],
"context_text": "Visit websiteFollow",
"source_domain": "www.producthunt.com",
"target_domain": "www.fetchserp.com",
"page_title": "FetchSerp Product Information and Latest Updates (2025) | Product Hunt",
"meta_description": "Web scraping, AI analysis, and data extraction API"
}
]
}
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.
{
"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
},
...
}
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.
{
"emails": [
"contact@fetchserp.com",
"support@fetchserp.com",
"info@fetchserp.com"
]
}
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.
{
"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."
}
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.
{
"data": {
"domain": "fetchserp.com",
"keyword": "serp api",
"indexed": true,
"urls": [
"https://www.fetchserp.com/serp-api"
]
}
}
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.
{
"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"
]
}
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.
{
"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"]
}
}
}
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.
{
"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
}
]
}
}
}
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)
Keyword Intelligence Endpoints
Web Scraping Endpoints
AI Endpoints
Domain Info Endpoints
Comprehensive SEO & Web Intelligence Toolkit
Universal SERP Coverage
Access search results from Google, Bing, Yahoo and DuckDuckGo through a single unified API.
Backlinks Analysis
Get detailed backlink data including source URLs, anchor text, and link attributes for any domain.
Keyword Intelligence
Access search volume data, keyword suggestions, and competition metrics for better content planning.
Web Scraping
Extract content from any webpage with custom JavaScript execution and structured data output.
Domain Rankings
Track your domain's position for any keyword across multiple search engines in real-time.
Simple Integration
Integrate with just a few lines of code using our well-documented REST API and multiple language examples.
Content Analysis
Analyze top-ranking content and extract insights to improve your content strategy and performance.
Market Research
Gather competitive intelligence and market insights from search results across multiple engines.
Competitive Analysis
Monitor competitor rankings, backlinks, and content strategies to identify market opportunities.
Use Cases
SEO Analysis
Track search rankings, analyze backlinks, and monitor competitor visibility across multiple search engines.
Market Research
Gather insights about product placement, brand visibility, and competitor strategies in search results.
Content Strategy
Research keywords, analyze top-ranking content, and identify content gaps to inform your strategy.
Link Building
Analyze backlink profiles, identify link opportunities, and track your link building progress.
Who is it for?
SEO Professionals
Monitor rankings, analyze backlinks, and optimize content with comprehensive SEO data and insights.
Content Marketers
Research topics, analyze content performance, and identify opportunities for content optimization.
Data Analysts
Extract and analyze web data, track market trends, and generate actionable insights from search results.
Developers
Build SEO tools, market research applications, and data-driven web services with our powerful API.