# Yelp Reviews API (yelp.reviews)

- Canonical page: https://everyinfra.com/en/yelp-api/reviews
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "yelp", "action": "reviews", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 10, max 10 per call (larger values are capped)
- Pagination: pass next_page_token back as page_token for the next page, other params unchanged; one call per page, tokens last 24 hours; up to 100 rows; beyond 50 rows use mode=async
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=yelp&action=reviews

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | 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 | not declared | no | not declared | 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 | 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. |

## Response fields (items in `results`)

| 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 | platform-native meaning |
| photo_count | platform-native meaning |
| business_name | platform-native meaning |
| business_url | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
| funny_count | platform-native meaning |
| cool_count | platform-native meaning |

## Example

```bash
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"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "yelp",
        "action": "reviews",
        "params": {
            "url": "https://www.yelp.com/biz/blue-bottle-coffee-san-francisco",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 10. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "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": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=yelp
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
