Yelp Reviews API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Read Yelp reviews of one business, 10 per page. Each review has text, rating, date, author, photo count and useful, funny and cool votes. For the next page, pass next_page_token back as page_token. Tokens last 24 hours.
Send POST https://api.everyinfra.com/api/v1/social with platform set to yelp and action set to reviews. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra Yelp Reviews endpoint (yelp/reviews).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to yelp and action to reviews, and put the parameters inside params.
- Required parameters:
- url: Accepts a Yelp business URL featuring a /biz/ slug for the profile and reviews actions to fetch business metadata or user reviews. User profile links are not supported.
- Optional parameters:
- page_token: Pagination token: pass back next_page_token from the previous response to get the next page; omit it for the first page. Keep every other parameter unchanged. Tokens last 24 hours and each page is one call.
- limit: The most rows to return in this call, an integer from 1 to 10. The default applies when you leave it out, and a call can return fewer rows. Larger values are accepted and capped at the maximum. (default: 10)
- Returns a list of records. Main fields of each record: id, text, rating, rating_scale, posted_at, author_name, useful_count, photo_count, business_name, business_url, funny_count, cool_count.
- Example request body:
{
"platform": "yelp",
"action": "reviews",
"params": {
"url": "https://www.yelp.com/biz/blue-bottle-coffee-san-francisco"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | yelp | Platform identifier, fixed value. |
action | body | string | Yes | reviews | Capability identifier, fixed value. |
url | body.params | string | Yes | - | Accepts a Yelp business URL featuring a /biz/ slug for the profile and reviews actions to fetch business metadata or user reviews. User profile links are not supported. |
page_token | body.params | string | No | - | Pagination token: pass back next_page_token from the previous response to get the next page; omit it for the first page. Keep every other parameter unchanged. Tokens last 24 hours and each page is one call. |
limit | body.params | integer (1–10) | No | 10 | The most rows to return in this call, an integer from 1 to 10. The default applies when you leave it out, and a call can return fewer rows. Larger values are accepted and capped at the maximum. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "yelp",
"action": "reviews",
"params": {
"url": "https://www.yelp.com/biz/blue-bottle-coffee-san-francisco"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "yelp", "action": "reviews", "results": [ { "text": "Love Blue Bottle. This one was a bit tricky to find. It's tucked in around the corner but we'll worth it. Very friendly staff and very fast. True coffee lovers really dig BB.", "rating": 5, "posted_at": "Mar 25, 2023", "useful_count": 0, "funny_count": 0, "cool_count": 0, "photo_count": 1, "business_name": "Blue Bottle Coffee - Mint Plaza", "business_url": "https://www.yelp.com/biz/blue-bottle-coffee-san-francisco", "platform": "yelp", "rating_scale": 5 }, { "text": "It is neatly tucked behind a big building so when you look for Blue Bottle you should try to find the Mint Plaza 1st, then heads towards the back. My usual is the New Orleans Style Cold Brew, but today I opted for a simple Cold Brew to cool down with. When I asked the barista for…", "rating": 4, "posted_at": "Sep 17, 2021", "useful_count": 3, "funny_count": 0, "cool_count": 2, "photo_count": 4, "business_name": "Blue Bottle Coffee - Mint Plaza", "business_url": "https://www.yelp.com/biz/blue-bottle-coffee-san-francisco", "platform": "yelp", "rating_scale": 5 } ], "next_page_token": …, "pagination": { … }, "count": 10, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
rating | Rating. The scale varies by platform: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
author_name | Author's display name. |
useful_count | Keeps the platform's own meaning |
photo_count | Keeps the platform's own meaning |
business_name | Keeps the platform's own meaning |
business_url | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
funny_count | Keeps the platform's own meaning |
cool_count | Keeps the platform's own meaning |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- Yelp: Relationship Between Unrecommended Reviews and Overall Ratings ↗
Yelp states that currently unrecommended reviews are not calculated into a business's overall star rating or review count; therefore, any scraped sample's item count and average score cannot be directly represented as official site aggregate metrics.
Checked 2026-09-04