LLM Scraper

Scrape search results from ChatGPT or Gemini for a keyword. A budget-friendly alternative to LLM Response that returns the search results AI platforms show users.

When to use this

Like LLM Response but cheaper. Instead of generating a fresh AI response, this scrapes what ChatGPT or Gemini already shows when users search. Great for bulk monitoring at lower cost.

POST/v1/ai/scraper
Cost: 3 credits ($0.015)
Rate Limit: Varies by plan
Response: ~3-8 seconds

Parameters

ParameterTypeRequiredDescription
keywordstringYesKeyword to scrape results for
platformstringYes"chat_gpt" or "gemini"
locationstringNoLocation (e.g. "Austin, TX"). Default: United States

Example Request

curl -X POST https://api.localseodata.com/v1/ai/scraper \
  -H "Authorization: Bearer sk_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "keyword": "best plumber Austin",
    "platform": "chat_gpt",
    "location": "Austin, Texas"
  }'

Example Response

JSON
{
  "status": "success",
  "credits_used": 3,
  "data": {
    "keyword": "best plumber Austin",
    "platform": "chat_gpt",
    "model": "gpt-4o",
    "markdown": "Based on reviews, here are the best plumbers in Austin:\n\n1. **ABC Plumbing** - 4.9 stars...",
    "search_results": [
      {
        "title": "ABC Plumbing - Austin's Top Rated",
        "url": "https://abcplumbing.com",
        "domain": "abcplumbing.com",
        "description": "Comprehensive plumbing services with 500+ five-star reviews..."
      },
      {
        "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..."
      }
    ],
    "sources": [
      { "title": "Yelp Austin Plumbers", "url": "https://yelp.com/...", "domain": "yelp.com", "snippet": "Top plumbers..." }
    ],
    "fan_out_queries": ["plumber austin reviews", "emergency plumber austin"],
    "brand_entities": [{ "title": "ABC Plumbing", "category": "local_business" }]
  }
}

Response Fields

FieldTypeDescription
keywordstringThe keyword that was searched
platformstringWhich platform was scraped
modelstringModel version used (e.g. gpt-4o)
markdownstringFull AI response in markdown format
search_resultsarrayWeb results the AI retrieved ({title, url, domain, description})
sourcesarraySources cited in the response ({title, url, domain, snippet})
fan_out_queriesarrayRelated follow-up queries
brand_entitiesarrayBrands mentioned ({title, category})

Notes

  • 3 credits vs 8 for LLM Response — use this for bulk keyword monitoring.
  • Supports ChatGPT and Gemini. Use /v1/ai/llm-response for Claude and Perplexity.
  • markdown gives the full response; search_results and sources show what websites the AI used.