Skip to main content
AI Studio  add-on for Spider.
Reviews
yelp.com Verified

Yelp Scraper

Extract business listings, ratings, reviews, and location data from Yelp. Built on spider-browser .

Get started Docs
target
yelp.com
success rate
99.9%
latency
~4ms
POST /fetch/yelp.com/
return_format
curl -X POST https://api.spider.cloud/fetch/yelp.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://yelp.com/",
  "status": 200,
  "data": {
    "business_name": "string",
    "rating": "string",
    "review_count": "string",
    "address": "string",
    "phone": "string",
    "price_range": "string",
    "categories": "string",
    "hours": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from yelp.com with a single POST. AI-resolved selectors, cached on the first call.

yelp-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.yelp.com/search?find_desc=restaurants&find_loc=San+Francisco");
await page.content(10000);

const data = await page.evaluate(`(() => {
  const businesses = [];
  document.querySelectorAll("[data-testid='serp-ia-card']").forEach(el => {
    const name = el.querySelector("a[data-testid='biz-name']")?.textContent?.trim();
    const rating = el.querySelector("[aria-label*='star rating']")?.getAttribute("aria-label");
    const reviews = el.querySelector("[data-font-weight='semibold']")?.textContent?.trim();
    const categories = el.querySelector("[class*='priceCategory']")?.textContent?.trim();
    if (name) businesses.push({ name, rating, reviews, categories });
  });
  return JSON.stringify({ total: businesses.length, businesses: businesses.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Business nameRatingReview countAddressPhonePrice rangeCategoriesHours
Listings

Business intelligence

Extract ratings, reviews, and contact info from yelp.com listings.

Pagination

Review collection

Navigate through paginated reviews with scroll-based lazy loading.

Geo

Location targeting

Access location-specific results with geo-targeted residential proxies.

Related

More Reviews scrapers.

Start

Start scraping yelp.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.