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/scraperCost: 3 credits ($0.015)
Rate Limit: Varies by plan
Response: ~3-8 seconds
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| keyword | string | Yes | Keyword to scrape results for |
| platform | string | Yes | "chat_gpt" or "gemini" |
| location | string | No | Location (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
| Field | Type | Description |
|---|---|---|
| keyword | string | The keyword that was searched |
| platform | string | Which platform was scraped |
| model | string | Model version used (e.g. gpt-4o) |
| markdown | string | Full AI response in markdown format |
| search_results | array | Web results the AI retrieved ({title, url, domain, description}) |
| sources | array | Sources cited in the response ({title, url, domain, snippet}) |
| fan_out_queries | array | Related follow-up queries |
| brand_entities | array | Brands 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.