Yelp API
yelp.com
Local business search and reviews - restaurants and services by city.
- Actions
- 10
- Category
- Food
- 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": "ttarnopezxmp2ROB1N2PaA"
}
}'10 actions on yelp.com
Read
Business Menu
act_yelp_business_menuread2 credits / callGet a Yelp business's menu as JSON, one menu per call (e.g. Food, Drinks, Happy Hour, Dinner). The first call returns the main menu plus menus_available; pass the returned cursor back for the next menu, or set section to fetch one directly. Each menu has sections with items (name, description, price, currency, item link). Items sold in labelled sizes also list them in price_options (e.g. Glass $6, Bottle $21); price holds the first one. Businesses without a menu on Yelp return has_menu=false; menus that list dishes without prices are marked menu_type='stub'.
- alias
- string
- business_url
- string
- section
- string
- cursor
- string
Hot and New
act_yelp_hot_and_newread2 credits / callList businesses Yelp tags 'Hot and New' (recently opened) for a keyword and location: 20 per page with the same business fields as Yelp Search, plus hot_and_new=true. Returns an empty page where Yelp tags none (e.g. London and Paris today).
- term
- string
- location
- string
- latitude
- number
- longitude
- number
- page
- integer
- offset
- integer
- sort
- string
Yelp — Search Businesses by Location
act_yelp_app_searchread2 credits / callSearch Yelp for restaurants and other businesses by keyword and city or coordinates, in any country Yelp covers. Up to 40 results per call with rating, review count, price range, categories, phone, address, map position, closed status, photo and URL. Pass the returned cursor back for the next page; Yelp stops at 240 results per search. To cover a whole city, search per ZIP code or neighbourhood and de-duplicate by id.
- term
- string · required
- location
- string
- latitude
- number
- longitude
- number
- page
- integer
- sort
- string
- mode
- string
- cursor
- string
Write
Write actions change state on yelp.com and run as the account you connect.
Business Detail
act_yelp_business_detailwrite2 credits / callGet details for one Yelp business by its business id: name, rating, review count, address, phone, categories, coordinates, open/closed status, opening hours, photos and price range.
- business_id
- string · required
- enc_biz_id
- string
Business Hours
act_yelp_business_hourswrite2 credits / callGet a Yelp business's opening hours day by day, any special or holiday hours, and whether it is open now.
- biz_enc_id
- string · required
Business Reviews
act_yelp_business_reviewswrite2 credits / callGet a Yelp business's reviews page by page: review text, star rating, date and reviewer, plus the business's rating breakdown and a cursor for the next page.
- enc_biz_id
- string · required
- after
- string
- reviews_per_page
- integer
- sort_by
- string
Business Search Listing
act_yelp_business_search_listingwrite2 credits / callGet Yelp business cards for a list of business ids: name, rating, review count, photos, map position and recent review snippets.
- biz_enc_ids
- array · required
- unique_request_id
- string · required
Health Inspections
act_yelp_health_inspectionswrite2 credits / callGet a Yelp business's health inspection score where Yelp shows one (cities that publish inspection data, e.g. San Francisco, New York, Los Angeles): current score or grade, inspection date, violation count and text where given, and the source agency. Businesses without inspection data return has_health_score=false. For past inspections (date, type, grade, score, violations), pass the returned cursor back.
- business_id
- string
- alias
- string
- include_history
- boolean
- cursor
- string
Location Autocomplete
act_yelp_location_autocompletewrite2 credits / callSuggest Yelp locations (cities and neighbourhoods) for a partly typed place name.
- prefix
- string · required
Search Autocomplete
act_yelp_search_autocompletewrite2 credits / callSuggest Yelp search terms and business categories for a partly typed search near a location.
- 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 10 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 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.