APIEndpoint 24 of 40AI Optimization / Scraping / Budget AI Results

AI Scraper API

The budget-tier AI result endpoint for the new search stack.

You need to know: did this query trigger an AI result? What websites did the AI surface? Did my brand appear? You don't need a fresh AI response from the LLM — you need what ChatGPT or Gemini is already showing users right now. One POST call costs 3 credits (~$0.015). Your agent gets the exact results and sources, no generation latency, no token overhead. Use this 1,000 times per month for less than $15.

POST /v1/ai/scraper · 3 credits / call

POST /v1/ai/scraper~3s · 1 credit
AI result · budget"best plumber austin"

Based on Google reviews and local rankings, the highest-rated plumbers in Austin include ABC Plumbing (4.8 / 542 reviews), Roto-Rooter, and Mr. Rooter. Same-day service is offered by several providers.

Cited sources

ABC Plumbing — Austin, TXabcplumbing.com
Top 10 Plumbers in Austinyelp.com
Austin's Best-Rated Plumbershomeadvisor.com
▌ Ask your agent

These prompts are the new bulk AI-result workflow.

Connect Local SEO Data as an MCP server once (60 seconds, below). Then your agent monitors AI results at scale. Replace bracketed keywords with your own.

Daily AI result sampling

Scrape AI results for [mycompany.com] on our top 50 keywords in both ChatGPT and Gemini. Flag any keyword where our domain disappeared from the results list in the last 24 hours.

Bulk competitor presence check

For keywords [keyword1, keyword2, keyword3, keyword4, keyword5], scrape ChatGPT results and extract all referenced domains. Show me which competitors appear most frequently across the batch.

Cost-efficient weekly monitoring

Run weekly scrapes (not daily) for [industry keyword] in ChatGPT and Gemini across the last 3 months. Cost: ~$4.50/month. Track whether the same sources stay ranked or if the AI result sources rotate.

Brand presence breakpoint check

Scrape ChatGPT for [product name Austin]. Parse the results. Alert me only if we appear in the top 3 referenced sources. Re-run daily but only escalate significant moves.

Real response

What you get back

Live response from POST /v1/ai/scraper for 'best plumber Austin' in Gemini.

response · application/json~3-8s · 3 credits
{
  "status": "success",
  "credits_used": 3,
  "data": {
    "keyword": "best plumber Austin",
    "platform": "gemini",
    "model": "gemini-2.5-flash",
    "markdown": "Based on reviews and ratings, here are the best plumbers in Austin:\n\n1. **ABC Plumbing** - 4.9 stars (2,100+ reviews). 24/7 emergency service, licensed, insured. Response time under 1 hour.\n2. **ProFlow Services** - 4.8 stars. Specializes in water heater replacement and drain cleaning.\n3. **Austin Prime Plumbing** - 4.7 stars. Fixed-rate pricing, no surprise charges...",
    "search_results": [
      {
        "title": "ABC Plumbing - Austin's Top Rated",
        "url": "https://abcplumbing.com",
        "domain": "abcplumbing.com",
        "description": "Full-service plumbing with 500+ five-star reviews and 24/7 emergency response..."
      },
      {
        "title": "Best Plumbers in Austin - Yelp",
        "url": "https://yelp.com/search?find_desc=plumber&find_loc=Austin",
        "domain": "yelp.com",
        "description": "Top rated plumbing services in the Austin area with verified customer reviews..."
      },
      {
        "title": "ProFlow Plumbing Services Austin TX",
        "url": "https://proflowplumbing.com",
        "domain": "proflowplumbing.com",
        "description": "Water heater, drain cleaning, and emergency plumbing repair specialists..."
      }
    ],
    "sources": [
      {
        "title": "Yelp Austin Plumbers",
        "url": "https://yelp.com/search?find_desc=plumber&find_loc=Austin",
        "domain": "yelp.com",
        "snippet": "Top plumbers in Austin with ratings and reviews"
      },
      {
        "title": "Google Maps - Plumbers",
        "url": "https://maps.google.com/...",
        "domain": "google.com",
        "snippet": "Local plumbing services near Austin, TX"
      }
    ],
    "fan_out_queries": ["24 hour plumber austin", "emergency plumber austin tx", "affordable plumbing austin"],
    "brand_entities": [
      { "title": "ABC Plumbing", "category": "local_business" },
      { "title": "ProFlow Services", "category": "local_business" }
    ]
  }
}
Returns

The exact results and sources ChatGPT or Gemini shows

AI response markdown

Full text of what the AI said, formatted

Complete response text in markdown — no truncation, no summary. This is the full answer ChatGPT or Gemini generates for your keyword, exactly as users see it. Useful for analyzing framing and messaging.

Search results array

Domains and URLs the AI cited

search_results contains every website the AI referenced in its response — title, URL, domain, and description. Parse this to check if your domain appears in the results the AI uses to compose its answer.

Sources list

Attributed citations and snippets

sources array shows which domains the AI explicitly attributed its information to, with snippet context. This is the 'where did the AI get this' layer — critical for tracking authority and link-building research.

Fan-out queries

Related follow-up searches

Related queries the AI suggests users might ask next. Use to discover long-tail keywords, understand search intent clusters, and find adjacent monetizable topics.

Brand entities

Named businesses and categories

Extracted brand names and their categories (local_business, service, product). Useful for competitor extraction — automatically catalog which brands the AI thinks compete in your space.

Built for

What AI-native operators ship with this

High-frequency budget monitoring

Run daily or weekly scrapes of 50–100 keywords for $5–15/month. Traditional SERP APIs charge per-result and get expensive at scale. This endpoint costs the same whether you pull 1 keyword or 100. Agencies use this for daily keyword health checks across all client accounts.

For agencies

AI result change detection

Scrape your top 30 keywords every morning in ChatGPT and Gemini. Track the sources list — did your brand appear yesterday but not today? Did a competitor replace you? Flag only the changes that matter, ignore the noise.

Change monitoring

Competitor extraction at scale

Scrape results for 5 core keywords across ChatGPT and Gemini. Extract all referenced domains. You now have a complete competitor list the AI thinks competes with you — no guesswork, no manual research. Cost: $0.45 for one-time baseline.

Competitive intelligence

Pre-pitch brand presence audit

Before a sales call, scrape ChatGPT results for your prospect's brand across 10 keywords. Cost: $0.15. Show them which keywords surface them in AI results and which ones don't. They now have a quantified gap to fill.

For consultants
vs. the alternatives

Why not just manually check ChatGPT and Gemini?

Manual checking is slow, unrepeatable, and breaks at scale. Checking 50 keywords daily takes 2+ hours of labor. Competitors charge $0.30–0.50 per scrape for similar endpoints. We charge $0.015 per call. For 100 daily scrapes, we cost $1.50; SerpApi costs $30–50. Here's the breakdown.

ApproachCost per callBulk pricingSpeedAgent-ready
Manual ChatGPT/Gemini testing$0 but ~3 min per query labor$0 but ~5 hours/100 kwSlow, unrepeatableNo
SerpApi AI scrape$0.50 per call$50 for 100 calls~3-5s per callREST only, no MCP
Bright Data / Apify$0.30–0.60 per call$30–60 for 100 callsVariable, 5–15sCustom integration
DataForSEO LLM scrape$0.40 per call$40 for 100 calls4–8s per callREST only
Local SEO Data AI Scraper API$0.015 per call$1.50 for 100 calls3–8s per callNative MCP, agent-first
Connect in 60 seconds

Use it from your agent

Two integration surfaces: MCP for clients that speak MCP, REST API for everything else.

Direct MCP integration

Drop-in support in Claude Desktop, OpenClaw, Hermes Agent, and any MCP-aware client.

Add to your client's MCP config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "localseodata": {
      "url": "https://mcp.localseodata.com",
      "headers": {
        "Authorization": "Bearer sk_live_..."
      }
    }
  }
}

REST API

For Perplexity Computer, ChatGPT Custom GPTs, custom agents, and any platform that calls REST endpoints directly.

Base URL:

api.localseodata.com

See the docs for endpoint reference and auth.

Quickstart

Your first call in three lines

Three required fields: keyword, platform, location. Platform accepts 'chat_gpt' or 'gemini'. Location is optional but recommended for better accuracy — format as 'City, State' (e.g. 'Austin, Texas'). Gemini supports city-level locations; ChatGPT resolves to country. Each call returns markdown (full response text), search_results (cited domains), sources (attributed sources), fan_out_queries (related searches), and brand_entities (extracted brands).

terminal · curl
POST /v1/ai/scraper
curl -X POST https://api.localseodata.com/v1/ai/scraper \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "keyword": "best plumber Austin",
    "platform": "gemini",
    "location": "Austin, Texas"
  }'
Pricing for this endpoint

$0.015 per call

Pay-as-you-go starting at $5. No monthly minimums. No per-seat fees. No subscriptions. 100 calls per month costs $1.50.

Free tier
50
credits on signup (17 calls)
Starter · $5
333
credits, no expiration
Per-call cost
$0.015
per AI scrape (3 credits)
FAQ

Common questions

What is the AI Scraper API?+
A REST endpoint that scrapes what ChatGPT or Gemini is currently showing users for any keyword without generating a fresh response. One POST call returns: the full markdown response the AI displays, all referenced websites (search_results), attributed sources (sources), related follow-up queries (fan_out_queries), and extracted brand names. Cost: 3 credits (~$0.015). This is the budget alternative to the AI LLM Response API — LLM Response generates a fresh AI response (8 credits), Scraper captures what's already being shown (3 credits). Use Scraper for bulk monitoring, change detection, and cost-sensitive workflows. Use LLM Response when you need a newly generated response with your specific parameters.
What's the difference between AI Scraper and AI LLM Response?+
AI Scraper (3 credits, $0.015): Captures the current response ChatGPT or Gemini is displaying for a keyword. No fresh generation, no latency — returns cached or live results. Fast, cheap, best for monitoring and bulk checks. AI LLM Response (8 credits, $0.04): Generates a fresh response from Claude, ChatGPT, Gemini, or Perplexity with your custom prompt and parameters. Full inference cost. Slower (~8s), more expensive, but you control the exact prompt and get real-time generation. Pick Scraper for 'what's the AI showing now' workflows. Pick LLM Response for 'generate a fresh response to my custom prompt' workflows.
Which LLMs does the AI Scraper API support?+
ChatGPT and Gemini. You can specify platform as 'chat_gpt' or 'gemini'. If you need Claude, Perplexity, or other models, use the AI LLM Response API instead — it supports Claude (Sonnet, Opus, Haiku), ChatGPT (GPT-4, GPT-4 Mini), Gemini (2.5 Flash), and Perplexity (Sonar). Scraper focuses on ChatGPT and Gemini because they're the highest-volume consumer surfaces.
Is this the same as just checking ChatGPT manually?+
Mechanically, yes — we're hitting the same public interfaces users hit. Practically, no. Manual checking requires 3+ minutes per keyword, is unrepeatable (responses vary), and breaks at scale (doing 50 keywords daily takes 2+ hours). The API returns structured JSON with parsed sources, brand extraction, and fan-out queries. Your agent processes results instantly, detects changes, flags only moves that matter. One call takes 3–8 seconds; 100 calls take 5–15 minutes and cost $1.50.
What do search_results, sources, and fan_out_queries mean?+
search_results: Every domain referenced in the AI's response — title, URL, domain, and description. These are the websites the AI thinks are relevant to your keyword. sources: Explicitly attributed sources with snippet context — the 'this information comes from' layer. Usually a subset of search_results. fan_out_queries: Related queries the AI suggests. 'Best plumber Austin' might suggest 'emergency plumber austin', '24 hour plumber', 'plumbing cost estimates'. Use these to discover adjacent keywords and understand search intent clusters.
Can I use this to monitor my brand presence in ChatGPT?+
Yes. Scrape ChatGPT for your core keywords daily. Parse search_results and sources. Check if your domain appears. Track the list of sources over time. If your domain disappeared from results for a keyword you used to dominate, you have a documented gap. This is cheaper than manual checking or AI Visibility monitoring for simple 'do we appear in results' checks.
How fresh is the data?+
Data reflects what ChatGPT or Gemini is showing at call time. Responses can vary slightly between calls due to LLM sampling and response timing. For tracking workflows, we recommend calling at a fixed time daily or weekly. Daily calls work for competitive keywords; weekly or monthly work for tracking longer-term trends.
What if my keyword doesn't trigger an AI result?+
Not all keywords get AI results. Very specific local queries ('plumber 78704 Austin') may not trigger ChatGPT results because ChatGPT has limited local awareness. Gemini handles location-based queries better. If no result is available, the response returns an empty search_results array and empty sources. The markdown field may contain an explanation ('I don't have current information about...') or be empty. This is expected behavior — check the status field to distinguish 'no results' from 'error'.
How does pricing compare to competitors?+
We charge $0.015 per call (3 credits at $0.005/credit). SerpApi charges $0.50 per call. Bright Data charges $0.30–0.60 per call. DataForSEO charges ~$0.40 per call. For 100 calls per month: we cost $1.50; SerpApi costs $50; Bright Data costs $30–60; DataForSEO costs $40. For 1,000 calls per month (bulk monitoring): we cost $15; SerpApi costs $500; others cost $300–400. Pay-per-call eliminates subscription locks and monthly minimums that force you to pay $500/mo even if you only need $15 of usage.
Can my AI agent call this endpoint directly?+
Yes. Two paths: MCP: Add Local SEO Data to your claude_desktop_config.json and your Claude agent calls this from any prompt. REST: Any agent that makes HTTPS calls (ChatGPT Custom GPTs, Perplexity Computer, custom Python/Node agents) hits api.localseodata.com/v1/ai/scraper with your Bearer token. The agent receives structured JSON (markdown, search_results, sources, fan_out_queries, brand_entities) and can parse, filter, alert, or act on it without integration code.
What changed in 2026 that made AI result scraping necessary?+
Three things: ChatGPT and Gemini are now major search surfaces — users ask them questions and get answers instead of searching Google. Second, LLMs are nondeterministic — responses vary between calls, so 'what's the AI showing now' is a meaningful question separate from 'generate a fresh response'. Third, MCP made it practical for agents to call specialized APIs without integration overhead. Traditional SERP APIs still focus on Google's 10 blue links. AI Scraper API focuses on what ChatGPT and Gemini show — a new surface that matters in 2026.

Monitor AI results at scale. For less than $20/month.

50 free credits on signup. Run 100 daily scrapes for 5 months with a single $5 purchase.

▌ MADE FOR THE NEW LOCAL SEO STACK