scraper
Back to API docs

Overview

  • Overview

APIs

  • POSTReviews
  • POSTBusiness Profile
  • POSTSearch

Yelp Business Profile

1 credit

Get detailed business profile data from Yelp.

POST/api/v1/tools/yelp/business

Parameters

businessstring

One business: alias, encrypted business ID, or Yelp URL. Accepts a plain alias like "gary-danko-san-francisco" or a link like "https://www.yelp.com/biz/gary-danko-san-francisco". Regional Yelp sites, links without https://, and links with a sub-path such as /photos also work. Send business or businesses, not both.

businessesstring[]

Several businesses, from 1 to 20 entries counting valid and invalid ones, instead of business. Each entry is an alias, an encrypted business ID, or a Yelp URL. A business that is given twice is read once. An entry that is not a business, and a business that cannot be read, get an entry in errors. The request fails with HTTP 400 when no entry is a business, and the call fails only when no business can be read. The call uses 1 credit for each different business.

includePhotosboolean

Add the business photos and videos to the response in businessPhotos and businessVideos. Defaults to false.

maxPhotosnumber

Photos and videos to return for each business when includePhotos is true, counted together. From 0 through 1000. 0 returns as many as one call allows (1000). Defaults to 20.

includeReviewsboolean

Add reviews to the response in reviews. Defaults to false.

maxReviewsnumber

Reviews to return for each business when includeReviews is true. From 0 through 1000, and not above your plan limit. 0 returns as many as one call and your plan allow (1000 at most). Defaults to 20. The businesses of one call together stay within your plan limit, and a list whose maxReviews times its number of different businesses is above it fails before it is charged.

sortBystring

Review order when includeReviews is true. One of DATE_DESC, DATE_ASC, RATING_DESC, RATING_ASC, ELITES_DESC. Defaults to DATE_DESC.

ratingsnumber[]

Star ratings to keep when includeReviews is true. Values from 1 through 5, no duplicates. Defaults to [1, 2, 3, 4, 5].

querystring

Return only reviews that match this text when includeReviews is true. Maximum length is 1000. Defaults to no filter.

languageCodestring

Review language when includeReviews is true. Defaults to "en".

fieldsstring[]

Fields to include. Omit for defaults: complete, partial, failedSections, id, alias, name, rating, reviewCount, categories, priceRange, location, phoneNumber, operationHours, coordinates, plus reviews, businessPhotos and businessVideos when you ask for them. Use ["*"] for all fields.

Response Schema

dataobject

Business profile data

completeboolean

True when all business data sections were collected.

partialboolean

True when one or more business data sections could not be collected.

failedSectionsstring[]

Business data sections that could not be collected.

idstring

Yelp encrypted business ID

aliasstring

URL-safe business alias

namestring

Business display name

ratingnumber

Overall star rating

reviewCountnumber

Total number of reviews

categoriesobject[] | null

Business categories (alias, title)

priceRangestring | null

Price range indicator (e.g. "$$$$")

locationobject | null

Location details (address, neighborhoods, timezone)

phoneNumberstring | null

Phone number

operationHoursobject | null

Business operating hours

coordinatesobject | null

Geographic coordinates (latitude, longitude)

reviewsobject[]

Reviews, present when includeReviews is true. Each review has the same fields as the reviews endpoint.

businessPhotosobject[]

Photos (id, url, thumbnailUrl, caption, width, height, uploadedAt, uploadingUser, keywords, likeCount, review). Present when includePhotos is true.

businessVideosobject[]

Videos (id, videoUrl, thumbnailUrl, caption, durationMs, createdAt, uploadingUser, renditions, likeCount, review). Present when includePhotos is true.

scrapedAtstring

ISO 8601 timestamp when the data was scraped

businessesobject[]

Only with businesses, instead of the fields above. One profile for each different business that was read, in input order. Each profile has the fields above, and always has id and alias. truncated is true when your plan limit for the call cut the reviews of that business.

errorsobject[]

Only with businesses. One entry for each entry that is not a business, first, and then one for each business that could not be read, each with business (your entry) and error. The other businesses are still returned.

metaobject

Request metadata

toolstring

Tool name (yelp-business)

creditsUsednumber

Credits consumed (1 for each different business)

requestIdstring

Unique request ID

Request

curl -X POST https://scraper.run/api/v1/tools/yelp/business \
-H "Authorization: Bearer sc_live_..." \
-H "Content-Type: application/json" \
-d '{
"business": "gary-danko-san-francisco"
}'

Response Example

{
"data": {
"complete": true,
"partial": false,
"failedSections": [],
"id": "WavvLdfdP6g8aZTtbBQHTw",
"alias": "gary-danko-san-francisco",
"name": "Gary Danko",
"rating": 4.5,
"reviewCount": 5842,
"categories": [
{
"alias": "newamerican",
"title": "American (New)"
},
{
"alias": "french",
"title": "French"
}
],
"priceRange": "$$$$",
"location": {
"address1": "800 N Point St",
"city": "San Francisco",
"state": "CA",
"postalCode": "94109",
"country": "US"
},
"phoneNumber": "+14157492060",
"operationHours": {
"regularHours": [
{
"dayOfWeek": "WEDNESDAY",
"openTime": "1700",
"closeTime": "2200"
},
{
"dayOfWeek": "THURSDAY",
"openTime": "1700",
"closeTime": "2200"
}
]
},
"coordinates": {
"latitude": 37.80587,
"longitude": -122.42058
},
"scrapedAt": "2026-04-24T12:00:00.000Z"
},
"meta": {
"tool": "yelp-business",
"creditsUsed": 1,
"requestId": "req_abc123"
}
}