Yelp API
yelp.com
Local business search and reviews - restaurants and services by city.
- Actions
- 6
- Category
- Food Dining
- Login
- Not required
- Output
- JSON
Call the Yelp API
Submit a task, then poll the job until it settles. This example runs act_yelp_business_detail.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_yelp_business_detail",
"params": {
"business_id": "CxJGgOODtaijc6DFuuYy3g",
"enc_biz_id": "CxJGgOODtaijc6DFuuYy3g"
}
}'6 actions on yelp.com
Write
Write actions change state on yelp.com and run as the account you connect.
Business Detail
act_yelp_business_detailwrite2 credits / callFetches GraphQL business detail data including partner info, JSON-LD structured data, and cost guides. Returns business name, ratings, attributes, and related metadata.
- business_id
- string · required
- enc_biz_id
- string · required
Business Hours
act_yelp_business_hourswrite2 credits / callFetches regular and special operating hours for a Yelp business via GraphQL. Returns day-by-day open/close times and holiday schedules.
- biz_enc_id
- string · required
Business Reviews
act_yelp_business_reviewswrite2 credits / callFetches paginated review feed for a Yelp business. Returns review text, star ratings, reviewer profiles, and pagination cursor for loading more reviews.
- enc_biz_id
- string · required
Business Search Listing
act_yelp_business_search_listingwrite2 credits / callGraphQL batch fetch of search result businesses with map pins, scrollable photos, and recent reviews. Returns structured business cards, map data, and review snippets.
- biz_enc_ids
- array · required
- unique_request_id
- string · required
Location Autocomplete
act_yelp_location_autocompletewrite2 credits / callReturns location typeahead suggestions for a text prefix via GraphQL. Includes city names, neighborhoods, and formatted location strings.
- prefix
- string · required
Search Autocomplete
act_yelp_search_autocompletewrite2 credits / callReturns search term and category autocomplete suggestions for a prefix and location via GraphQL. Includes matching business categories and query completions.
- prefix
- string · required
- location
- string · required
Yelp API questions
- Is there an API for Yelp?
- Yelp does not offer a public data API for this, but Anakin Wire provides 6 maintained endpoints for yelp.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Yelp data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when yelp.com changes its markup, Anakin updates the action.
- Do I need a Yelp account?
- No. Every Yelp action listed here runs anonymously — no account and no credentials required.
- What does the Yelp API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Food Dining APIs
101 Cookbooks
Whole-foods recipe blog - recipe categories, full recipes with ingredients, and article roundups.
Allmenus
Allmenus - restaurant search by city, menus with dish prices, and cuisine filters.
Allrecipes
Allrecipes - recipe search by keyword or ingredient, categories, and recipe details.
Ambitiouskitchen
Recipe site - categories, recipe details, ingredients, steps, and ratings.
Applebee's
Applebee's - menu, item prices, locations, and nutrition info.
Arbys
Arby's quick-service chain - menu categories, prices, nutrition facts, and store locations.