# Yelp API

Retrieve Yelp business operating details, ratings, reviews, and feedback counts using merchant links.

Combine search keywords with a location string. Searches default to New York when you omit the location.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "yelp", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/yelp-api](https://everyinfra.com/en/yelp-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Search Yelp for local businesses in a city or ZIP code. Get rating, review count, price tier, categories, contact details, hours and claim status. Always set `location`, because the search defaults to New York. `health_score` appears for restaurants only.
- Sync delivery · Price: $1.39 per 1,000 requests (every 10 rows count as one call)
- Catalog values: defaultLimit=10, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): 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` (optional): 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.
- Returns fields: id, name, url, rating, rating_scale, review_count, price_range, categories, image_url, platform, phone, website, cuisine, description, address, city, region, postal_code, country, is_claimed, is_verified, health_score, established_year, images, amenities, highlights, hours
- Capability page: [https://everyinfra.com/en/yelp-api/search](https://everyinfra.com/en/yelp-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/yelp-api/search.md)

### profile — Details
Open a Yelp business page from its /biz/ link. Get rating, price tier, categories, contact details, address, hours, amenities, highlights and photos. An unclaimed page, shown by `is_claimed`, may hold outdated details. Nothing here proves ownership or licensing.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): 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.
- Returns fields: id, name, url, rating, rating_scale, review_count, price_range, phone, website, categories, cuisine, description, address, city, region, postal_code, country, is_claimed, is_verified, health_score, established_year, image_url, platform, images, amenities, highlights, hours
- Capability page: [https://everyinfra.com/en/yelp-api/profile](https://everyinfra.com/en/yelp-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/yelp-api/profile.md)

### reviews — Reviews
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.
- Sync delivery · Price: $1.39 per 1,000 requests
- Each call returns one page of up to 10 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. Pages go up to 100 rows; beyond 50 rows, request the page with mode=async.
- Parameters:
  - `url` (required): 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` (optional): 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.
- Returns fields: id, text, rating, rating_scale, posted_at, author_name, useful_count, photo_count, business_name, business_url, platform, funny_count, cool_count
- Capability page: [https://everyinfra.com/en/yelp-api/reviews](https://everyinfra.com/en/yelp-api/reviews?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/yelp-api/reviews.md)

## Yelp API questions

### What can I retrieve with the Yelp API?

Set `platform` to `yelp`. The current catalog lists search, details, and reviews. These action names identify different Yelp objects or views; they are not interchangeable search modes.

### Which input starts the Yelp `search` request?

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. Send it as `keyword` inside `params`.

### Which fields can Yelp `search` return?

Its declared schema includes `name`, `rating`, `rating_scale`, and `review_count`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Yelp action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=yelp
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
