Developer API v1 & Anthropic MCP Endpoint

SEO & AEO API: 自动化您的搜索与AI工作流

Direct programmatic access to live Google SERPs and AI Overviews, AI citation checks across ChatGPT, Perplexity, Claude and Gemini, backlinks and domain authority, keyword metrics, site audits, and real-time AI bot crawler tracking. 一个REST API和一个MCP服务器,使用同一个密钥。

POST /api/v1/ai-citation-check
curl -X POST "https://www.airanklab.com/api/v1/ai-citation-check" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-api-secret: YOUR_API_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "best AEO audit tools 2026",
    "domain": "airanklab.com",
    "engines": ["ChatGPT", "Perplexity", "Claude", "Gemini"]
  }'
核心数据集

驱动您工作流的数据引擎

将传统的Google搜索结果数据与实时AI引擎引用指标和机器人爬虫日志相结合。

Country + Device

Live Search Engine SERPs

Fetch live Google SERPs — organic positions, featured snippets, People Also Ask, related searches — plus Google AI Overview and AI Mode answers with every source they cite, by country, language and device.

4 AI Engines

AI Search Visibility (AEO/GEO)

Ask ChatGPT, Perplexity, Claude and Gemini the same question in one call and get back who mentions you, who cites you, from which URLs, and which competitors won the answer instead.

Any Domain

Backlinks & Domain Authority

Pull the full backlink profile of any domain: authority rank, referring domains, individual links with anchors and spam scores, anchor-text distribution, monthly trend, and bulk authority for up to 100 domains.

Real-time Logs

AI Bot Crawler Log Analytics

Inspect live server logs of GPTBot, ClaudeBot, PerplexityBot, Bytespider, and Googlebot traffic to protect IP or ensure indexation.

Instant Keyword Vol

Keyword Universe & SERP Intent

Query monthly search volumes, keyword difficulty (KD), CPC, intent classification (Informational vs Commercial), and AI Overview presence.

Full Technical Health

Site Audits & Core Web Vitals

Programmatically diagnose web pages for technical SEO blockers, Core Web Vitals (LCP, CLS, INP), JSON-LD schema, and llms.txt compatibility.

Zero-Credit Reads

Google Analytics 4 & Search Console

Fetch Google Search Console performance data, keyword clicks, impressions, and GA4 traffic metrics combined with AI search visibility.

立即使用API

专为自动化管道和AI工作流设计

了解营销机构、企业SEO团队和AI工程师如何使用我们的API扩展运营。

Use Case #1

Monitor Brand Visibility Across AI Search Engines

Track ChatGPT, Perplexity, Gemini & Claude citations at scale

Feed buyer-intent questions into one call and get a per-engine verdict: mentioned, cited, the exact source URLs, and which competitors were recommended instead.

const res = await fetch("https://www.airanklab.com/api/v1/ai-citation-check", {
  method: "POST",
  headers: {
    "x-api-key": process.env.AIRANKLAB_API_KEY,
    "x-api-secret": process.env.AIRANKLAB_API_SECRET,
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    prompt: "top enterprise marketing software",
    domain: "acmecorp.com",
    competitors: ["rival.com"]
  })
});

// Tool calls are async: poll the job for the result
const { data } = await res.json();
const job = await pollJob(data.jobId);
console.log(job.result.summary.citationRate, job.result.summary.citedIn);
Use Case #2

Automate Technical Audits & URL Pipelines

Turn full site audits into structured diagnostic feeds

Run an audit on every publish or deployment to catch schema errors, thin answers or failing Core Web Vitals before they reach production.

const start = await fetch("https://www.airanklab.com/api/v1/seo-aeo-geo-audit", {
  method: "POST",
  headers: {
    "x-api-key": process.env.AIRANKLAB_API_KEY,
    "x-api-secret": process.env.AIRANKLAB_API_SECRET,
    "Content-Type": "application/json"
  },
  body: JSON.stringify({ url: "https://example.com/blog/mcp-setup" })
});

const { data } = await start.json();          // 202 + jobId
const job = await pollJob(data.jobId);        // GET /jobs/{jobId}

if (job.result.aeo.score < 85) {
  triggerSlackAlert(`AEO score dropped: ${job.result.aeo.score}`);
}
Use Case #3

Audit Backlinks & Track AI Crawler Visits

Link authority on demand, bot traffic in real time

Pull any domain’s backlink profile for competitive research, and read your own GPTBot / ClaudeBot / PerplexityBot visit logs to confirm the AI engines are actually crawling you.

# Backlink profile of any domain (async, 15 credits)
curl -X POST "https://www.airanklab.com/api/v1/backlinks-overview" \
  -H "x-api-key: YOUR_KEY" -H "x-api-secret: YOUR_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"target":"competitor.com","includeHistory":true}'

# AI bot visits to your own domain (free, returns immediately)
curl "https://www.airanklab.com/api/v1/tracking/stats?domain=example.com" \
  -H "x-api-key: YOUR_KEY" -H "x-api-secret: YOUR_SECRET"
Model Context Protocol (MCP)

从任何AI助手内部查询 AI Rank Lab

In addition to REST API endpoints, AI Rank Lab provides a hosted MCP 服务器 at POST /api/v1/mcp. Connect Claude Code, Cursor, Windsurf, or custom LangChain/CrewAI agents in seconds.

Anthropic MCP JSON 配置可流式传输的HTTP / SSE
{
  "mcpServers": {
    "airanklab": {
      "url": "https://www.airanklab.com/api/v1/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY",
        "x-api-secret": "YOUR_API_SECRET"
      }
    }
  }
}
交互式API探索器

探索核心API端点类别

检查实际请求负载和实时JSON响应结构。

AI Search Visibility (AEO)

Ask ChatGPT, Perplexity, Claude and Gemini the same question at once and see which of them cite your domain. 100 credits per engine.

POST /ai-citation-check

请求体 (JSON):

{
  "prompt": "best AEO rank tracker",
  "domain": "airanklab.com",
  "engines": ["ChatGPT", "Perplexity", "Claude", "Gemini"],
  "competitors": ["rival.com"]
}

响应输出 (200 OK):

// GET /jobs/{jobId} once the job completes
{
  "success": true,
  "data": {
    "status": "completed",
    "result": {
      "domain": "airanklab.com",
      "summary": {
        "citedIn": ["ChatGPT", "Perplexity"],
        "mentionedIn": ["ChatGPT", "Perplexity", "Gemini"],
        "notFoundIn": ["Claude"],
        "citationRate": 50,
        "visibilityScore": 63,
        "competitors": [
          { "domain": "rival.com", "citedIn": ["Gemini"], "citationRate": 25 }
        ]
      },
      "results": [
        {
          "engine": "ChatGPT",
          "cited": true,
          "citedUrls": ["https://airanklab.com/seo-aeo-geo-audit-tool"],
          "mentionPosition": 1,
          "sentiment": "positive"
        }
      ]
    }
  }
}
定制解决方案

将SEO和AEO数据整合到您的技术栈

无论您是构建客户报告管道还是自主AI代理团队,我们的API都适合您的技术栈。

SEO与营销机构

自动化白标客户审计、追踪AEO引用声量份额,并轻松生成自动化的PDF / Data Studio报告仪表板。

企业SEO团队

监控关键词格局变化,在桌面和移动端覆盖54个搜索市场,基准竞争对手的LLM引用差距,并为内部数据科学流程提供动力。

开发者与AI工程师

为RAG管道提供实时网络搜索结果,审计AI机器人爬虫流量(GPTBot, ClaudeBot),并通过MCP将工具连接至LangChain或CrewAI。

开发者常见问题

常见问题

关于认证、积分、API端点和速率限制的技术指导。

The AI Rank Lab REST API provides programmatic access to our entire search engine & AI intelligence platform. You can programmatically fetch keyword research, SERP rankings, Google AI Overview features, AI search brand citations (ChatGPT, Gemini, Perplexity, Claude), AI bot crawler logs, technical site audits, and Google Analytics 4 / Search Console metrics.

立即开始使用 AI Rank Lab 的 SEO & AEO API 进行开发

几秒钟内创建您的账户。赠送100个免费积分,可用于实时SERP查询、AEO品牌可见性检查和机器人访问日志分析。