fetchSERP - SEO & Web Intelligence Toolkit API

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: 'duckduckgo',
    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.

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:

    {
      "mcpServers": {
        "fetchserp": {
          "command": "npx",
          "args": ["github:fetchSERP-LLC/fetchserp-mcp-server-node"],
          "env": {
            "FETCHSERP_API_TOKEN": "your_fetchserp_api_token_here"
          }
        }
      }
    }
    
  3. Start Chatting Restart Claude Desktop and start asking SEO questions!

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

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

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
      }
    }
  ]
};

Keywords Tracker — Domain Performance Dashboard

Need a ready-made interface? Keywords Watch is a Ruby on Rails application that consumes every FetchSERP API endpoint to deliver a beautiful overview of your domain's search visibility.

Integrates SERP, backlinks, keywords & traffic endpoints

Built-in SEO Agent powered by GPT-4.1 & fetchSERP MCP

SERP Endpoint

Fetch search engine results pages from DuckDuckGo, Yahoo and Bing. Get structured data with position rankings, titles, descriptions, and URLs. Perfect for market research, competitor analysis, and content strategy.

curl -X GET "https://www.fetchserp.com/api/v1/serp" \
  -G \
  -d 'search_engine=duckduckgo' \
  -d 'country=us' \
  -d 'pages_number=1' \
  -d 'query=serp+api' \
  -H 'accept: application/json'\
  -H 'authorization: Bearer YOUR_API_TOKEN'

Ranking Endpoint

Get the ranking of a domain for a given keyword on Bing, Yahoo and DuckDuckGo.

curl -X GET "https://www.fetchserp.com/api/v1/ranking" \
  -G \
  -d 'search_engine=duckduckgo' \
  -d 'country=us' \
  -d 'domain=fetchserp.com' \
  -d 'keyword=serp+api' \
  -H 'accept: application/json'\
  -H 'authorization: Bearer YOUR_API_TOKEN'