Apps and reviews
Yelp data API
Read businesses and reviews from Yelp with one key and one response shape.
Yelp is where people review local businesses. You can search businesses by term and place and read one business with its phone, website and amenities. You can also pull its reviews with photos, owner replies, filters and the reviews Yelp hides from the business page.
What people build with Yelp
- Local SEO:
business/infofor rating and review count, reviews for recent language. - VoC research: page reviews with cursor and keep owner replies.
- Competitive intel: same Place schema as Tripadvisor for a restaurant set.
Your first call
1. Search for a business
Search takes a query and a location, and each result carries the business's 22-character Yelp id as place.id.
curl "https://www.socialcrawl.dev/v1/yelp/search?query=Pizza&location=New%20York%2C%20NY" \
-H "x-api-key: sc_your_key_here"const url = new URL("https://www.socialcrawl.dev/v1/yelp/search");
url.searchParams.set("query", "Pizza");
url.searchParams.set("location", "New York, NY");
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALCRAWL_API_KEY! },
});
const { data } = await res.json();
console.log(data.items[0].place.id, data.items[0].place.name);import os
import requests
res = requests.get(
"https://www.socialcrawl.dev/v1/yelp/search",
headers={"x-api-key": os.environ["SOCIALCRAWL_API_KEY"]},
params={"query": "Pizza", "location": "New York, NY"},
)
place = res.json()["data"]["items"][0]["place"]
print(place["id"], place["name"])Each result is a business with its name, Yelp page, unrounded star rating, review count, price level, address, coordinates, categories and photos. The total field is the number of matches. The next_cursor field pages to the next ten. Measured on 22/11/2026: this call returned 10 businesses for 1 credit in under 2 seconds, with 240 matches in total.
2. Read its reviews
Pass the business to reviews as id (the 22-character id or the alias from its Yelp page) or as url (any yelp.com /biz/ link, including country domains such as yelp.co.uk).
limit sets how many reviews one page returns, newest first with sort=newest.
curl "https://www.socialcrawl.dev/v1/yelp/business/reviews?id=zj8Lq1T8KIC5zwFief15jg&limit=49&sort=newest" \
-H "x-api-key: sc_your_key_here"3. Read computed fields
When an endpoint supports a computed field and the required source inputs are present, the unified response includes that optional field. Depending on the endpoint, optional fields can include engagement_rate, language, content_category, and estimated_reach. See Computed fields for formulas, clamping rules, and null semantics. Where an endpoint supports them, list rows also carry judged labels (computed.labels, computed.relevance) by default at no extra credits; see Labels.
What it covers
| What you want | Call |
|---|---|
| Businesses for a term and a place | GET /v1/yelp/search |
| Businesses inside a map box | GET /v1/yelp/search with bbox |
| Search results with full cards | GET /v1/yelp/search/full |
| One business: phone, website, amenities | GET /v1/yelp/business/info |
| Reviews of a business | GET /v1/yelp/business/reviews |
| Every review a business ever had | POST /v1/yelp/business/reviews/history |
Reviews carry the star rating, text, date, language, photos, the owner's reply and helpful votes. The rating, query and language parameters narrow a page. The sort parameter orders it (recommended, newest, oldest, highest_rated, lowest_rated or elites), and not_recommended=true returns the reviews Yelp hides from the business page.
What it does not cover
- Private data: only public business pages and public reviews are returned.
- Ordering search by rating or review count is not served. Both are refused with a free 400, so sort the returned items by
place.rating.valueorplace.reviews_countyourself. - Yelp shows at most 240 results for one search. Use
bboxto cut a city into map boxes when you need more. - Helpful vote counts on reviews are filled in the default order for a business read by its 22-character id, and null with another sort or an alias.
Every review of a business
Start a history job with POST /v1/yelp/business/reviews/history. The body takes exactly one of id or url, plus optional since, until, languages and max_reviews. It collects every review newest first, closed businesses included, and answers 202 with a job_id. Read the reviews 100 at a time with GET /v1/yelp/business/reviews/history/{job_id}?offset=&limit=, which costs nothing. For many businesses in one job, use POST /v1/prism/reviews/bulk, described on the Prism pages.
Questions people ask
Does Yelp support every business?
Reviews work for any business on Yelp by its 22-character id, its alias or its /biz/ link. A link copied from the browser works. A business that does not exist returns a refunded 404, and one with no reviews returns an empty page that is not billed. business/info takes the same three. One call is stricter: not_recommended=true needs the 22-character id. If an alias with accented letters fails, send the id. Take the id from place.id in search. A location Yelp does not cover returns an empty search list and is not billed.
All endpoints
5 endpoints available.
| Endpoint | Path | Credit Tier |
|---|---|---|
| Get a Yelp business by id, alias or URL | /v1/yelp/business/info | standard (1cr) |
| Get Yelp reviews for a business | /v1/yelp/business/reviews | standard (1-5cr)metered |
| Start a Yelp review history job | /v1/yelp/business/reviews/history | standard (1-154cr)metered |
| Search Yelp businesses | /v1/yelp/search | standard (1cr) |
| Search Yelp businesses with full cards | /v1/yelp/search/full | standard (1cr) |
How far back and how deep
Each list returns one page at a time. Send cursor for the next page, or max_items or max_pages to collect several pages in one call. A page size appears only where it has been verified. How paging works
| Path | Rows per page | Date window | One call collects |
|---|---|---|---|
/v1/yelp/business/reviews | about 10 | since and until. Newest first with sort=newest, so a walk stops at since. | up to 5,000 rows or 50 pages; limit up to 49 |
/v1/yelp/search | about 10 | none | up to 5,000 rows or 50 pages |
/v1/yelp/search/full | about 10 | none | up to 5,000 rows or 50 pages |
Labels
The /v1/yelp/business/reviews endpoint labels each review by default, at no extra credit. It adds sentiment (read from the words, never the stars, with rating_mismatch when the two clearly disagree) and issue (the main problem the review reports) on computed.labels. Send judgments=off for the page without them. See Labels for the field shapes and the labels you can add with label=, such as label=reports&reports=the battery drains quickly.
Platform notes
- All endpoints except the history job use the
GETmethod with query parameters. - Authentication is the
x-api-keyheader. - Responses follow the unified SocialCrawl schema.
- Send the same filters with the cursor on later review pages, because a later page keeps page 1's order and filters.
- With a
rating,queryorlanguagefilter,totalcounts only the matching reviews.
