# Yelp Search API (yelp.search)

- Canonical page: https://everyinfra.com/en/yelp-api/search
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "yelp", "action": "search", "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 50 per call
- Mode: sync; add "mode": "async" for slow tasks

Yelp Search finds local businesses on Yelp by `keyword`, such as coffee or plumbers, in the place you give as `location`, and returns each one's name, link, rating and review count, price range, categories and cuisine, phone, website, full address, whether the owner has claimed the page, verification status, the year it opened and, for restaurants, a health inspection score. Local marketers, franchise developers and sales prospecting tools use it to chart competitors in an area, build prospect lists and size up a neighborhood before opening a location.

Always set `location`: without it the search runs in New York, and it is not a global search. `is_claimed` deserves attention, because an unclaimed page means the business does not manage its Yelp listing and its details may be out of date. `price_range` is a tier of one to four dollar signs, not an amount, and `health_score` is a government hygiene inspection score that appears for restaurants only.

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Defines local business or service search terms (e.g., coffee) for the Yelp search action. To avoid defaulting to New York, pair this parameter with an explicit location. |
| location | not declared | no | not declared | Sets the city, neighborhood, or postal code for the business search, such as Austin, TX or 78701. It describes the business location, not the review author's location. |
| limit | integer (1–50) | no | 10 | The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## 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. |
| name | Name of the object itself, for account, product and business capabilities. |
| url | Link to the record on the platform. |
| 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. |
| review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
| price_range | platform-native meaning |
| categories | platform-native meaning |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
| phone | Contact phone number, passed through without format normalization. |
| website | External website entered by the account or business. |
| cuisine | platform-native meaning |
| description | Summary or description, usually shorter than text. |
| address | Full address, passed through as is. |
| city | City name in the platform's language, not normalized. |
| region | platform-native meaning |
| postal_code | platform-native meaning |
| country | Country or region: a full name or an ISO code depending on the platform, not normalized. |
| is_claimed | platform-native meaning |
| is_verified | Whether the platform verified the account. null means it cannot be determined. |
| health_score | platform-native meaning |
| established_year | platform-native meaning |
| images | Array of image links in the platform's display order; absent when there are no images. |
| amenities | platform-native meaning |
| highlights | platform-native meaning |
| hours | 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": "search",
  "params": {
    "keyword": "coffee"
  }
}'
```

```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": "search",
        "params": {
            "keyword": "coffee",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-10-24T18:28:34Z. `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": "search",
  "results": [
    {
      "id": "ten-thousand-coffee-new-york",
      "name": "Ten Thousand Coffee",
      "url": "https://www.yelp.com/biz/ten-thousand-coffee-new-york",
      "rating": 4.4,
      "rating_scale": 5,
      "review_count": 451,
      "price_range": "$$",
      "categories": [
        "Coffee & Tea"
      ],
      "image_url": "https://s3-media0.fl.yelpcdn.com/bphoto/QMmT8iplPLki--HoVPsBtA/ls.jpg",
      "platform": "yelp"
    },
    {
      "id": "remi-flower-and-coffee-new-york-2",
      "name": "Remi Flower & Coffee",
      "url": "https://www.yelp.com/biz/remi-flower-and-coffee-new-york-2",
      "rating": 4.5,
      "rating_scale": 5,
      "review_count": 762,
      "price_range": "$$",
      "categories": [
        "Coffee & Tea",
        "Florists",
        "Floral Designers"
      ],
      "image_url": "https://s3-media0.fl.yelpcdn.com/bphoto/jdhmWm_f2Js83l0prfbzLg/ls.jpg",
      "platform": "yelp"
    }
  ],
  "count": 10,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### Why are all my results in New York?

Because `location` was left out, and the search then defaults to New York. Pass a city, a neighborhood or a postal code, such as Austin, TX or 78701, to search there. `location` is where the businesses are, not where reviewers live.

### What does `is_claimed` tell me?

Whether someone from the business has claimed its Yelp page. An unclaimed page means the business does not run its listing, so hours, phone and website may be outdated; confirm them elsewhere before you use them for outreach. `is_verified` adds whether Yelp has verified the account; a null there means verification cannot be determined.

### Where do I get the reviews for a business in the results?

Pass the business's `url`, its /biz/ page link, to Yelp Reviews, which reads that business's reviews, or to Yelp Details for its full record with opening hours and amenities. `rating` and `review_count` here give only the overall score and how many reviews it rests on.

## 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
