Yelp Place API
The Yelp Place API returns a single Yelp business as structured JSON: rating, review count, price range, categories, contact details, address, opening hours, amenities, review insights, popular dishes and photos. Pass the business’s place ID or its full URL — the Yelp Search API returns the place_id this endpoint expects.
Endpoint: https://api.scrapingdog.com/yelp/place
API Parameters
🔑
Scrapingdog Parameters
api_keyRequiredYour Scrapingdog API key, available on your dashboard. ReplaceAPIKEYwhen executing requests.
Type: String
📍
Business — send either one
place_idRequiredThe Yelp business alias: everything after/biz/in the business URL, without any query string. Forhttps://www.yelp.com/biz/the-cheesecake-factory-san-francisco-12it isthe-cheesecake-factory-san-francisco-12. Results from the Yelp Search API includeplace_ids: [biz_id, alias]— pass the second value, the alias.
Required unlessurlis sent.
Type: StringurlRequiredA full, URL-encoded Yelp business page URL, for examplehttps%3A%2F%2Fwww.yelp.com%2Fbiz%2Figgys-burger-san-francisco. Use this instead ofplace_id. Whenurlis sent,place_idandyelp_domainare ignored.
Required unlessplace_idis sent.
Type: String
⚙
️ Optional Parameters
yelp_domainOptionalThe Yelp country site to use withplace_id, for exampleyelp.ca,yelp.co.ukoryelp.com.au. The request is made tohttps://www.{yelp_domain}/biz/{place_id}, and every link in the response uses this domain. Ignored whenurlis sent.
Default:yelp.com
Type: StringhtmlOptionalSet totrueto get the raw HTML of the Yelp page instead of parsed JSON. Useful when you need a field this API does not parse. Costs the same 5 credits.
Default:false
Type: Boolean
API Examples

curl "https://api.scrapingdog.com/yelp/place?api_key=APIKEY&place_id=the-cheesecake-factory-san-francisco-12"
import requests params = { "api_key": "APIKEY", "place_id": "the-cheesecake-factory-san-francisco-12", # __slot_4_ph__: __slot_5_ph__, # optional } response = requests.get("https://api.scrapingdog.com/yelp/place", params=params, timeout=70) response.raise_for_status() place = response.json()["place_results"] print(place["name"], place["rating"], place["reviews"])
const axios = require('axios'); const params = { api_key: 'APIKEY', place_id: 'the-cheesecake-factory-san-francisco-12', // yelp_domain: __slot_3_ph__, // optional }; axios .get('https://api.scrapingdog.com/yelp/place', { params, timeout: 70000 }) .then(({ data }) => { const place = data.place_results; console.log(place.name, place.rating, place.reviews); }) .catch((err) => console.error('Request failed:', err.response?.status, err.response?.data));
<?php $params = http_build_query([ 'api_key' => 'APIKEY', 'place_id' => 'the-cheesecake-factory-san-francisco-12', ]); $ch = curl_init("https://api.scrapingdog.com/yelp/place?$params"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 70); $response = curl_exec($ch); curl_close($ch); $place = json_decode($response, true)['place_results']; echo $place['name'] . ' ' . $place['rating'] . ' ' . $place['reviews'];
require 'net/http' require 'json' uri = URI('https://api.scrapingdog.com/yelp/place') uri.query = URI.encode_www_form( api_key: 'APIKEY', place_id: 'the-cheesecake-factory-san-francisco-12' ) response = Net::HTTP.start(uri.host, uri.port, use_ssl: true, read_timeout: 70) do |http| http.request(Net::HTTP::Get.new(uri)) end place = JSON.parse(response.body)['place_results'] puts "#{place['name']} #{place['rating']} #{place['reviews']}"
import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.time.Duration; public class YelpPlace { public static void main(String[] args) throws Exception { String url = "https://api.scrapingdog.com/yelp/place" + "?api_key=APIKEY" + "&place_id=the-cheesecake-factory-san-francisco-12"; HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create(url)) .timeout(Duration.ofSeconds(70)) .GET() .build(); HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString()); System.out.println(response.body()); } }
{
"place_results": {
"name": "The Cheesecake Factory",
"biz_id": "aSeldMKv9G6_8-gV0bjwvw",
"alias": "the-cheesecake-factory-san-francisco-12",
"link": "https://www.yelp.com/biz/the-cheesecake-factory-san-francisco-12",
"about": "",
"rating": 3,
"reviews": 4294,
"price": "$$",
"is_claimed": true,
"is_closed": false,
"categories": [
{
"title": "Desserts",
"alias": "desserts",
"link": "https://www.yelp.com/search?cflt=desserts&find_loc=San%20Francisco%2C%20CA"
},
{
"title": "American",
"alias": "tradamerican",
"link": "https://www.yelp.com/search?cflt=tradamerican&find_loc=San%20Francisco%2C%20CA"
}
],
"phone": "+14153914444",
"website": "https://locations.thecheesecakefactory.com/ca/san-francisco-34.html",
"menu": "https://www.thecheesecakefactory.com/locations/san-francisco-ca/menu/",
"address": "251 Geary St, Fl 8, San Francisco, CA 94102",
"neighborhood": "Union Square",
"gps_coordinates": {
"latitude": 37.787312,
"longitude": -122.4074153
},
"directions": "https://www.yelp.com/map/the-cheesecake-factory-san-francisco-12",
"is_open_now": false,
"hours": [
{ "day": "Monday", "hours": "11:00 AM - 10:00 PM", "has_special_hours": false },
{ "day": "Tuesday", "hours": "11:00 AM - 10:00 PM", "has_special_hours": false },
{ "day": "Wednesday", "hours": "11:00 AM - 10:00 PM", "has_special_hours": false },
{ "day": "Thursday", "hours": "11:00 AM - 10:00 PM", "has_special_hours": false },
{ "day": "Friday", "hours": "11:00 AM - 11:00 PM", "has_special_hours": false },
{ "day": "Saturday", "hours": "11:00 AM - 11:00 PM", "has_special_hours": false },
{ "day": "Sunday", "hours": "10:00 AM - 10:00 PM", "has_special_hours": false }
],
"features": [
{ "title": "Takes reservations", "is_active": true },
{ "title": "Offers delivery", "is_active": true },
{ "title": "Offers take-out", "is_active": true },
{ "title": "Vegan options", "is_active": true }
],
"history": {
"description": "",
"established": ""
},
"specialties": "",
"review_insights": [
{
"topic": "ambience",
"sentiment": "positive",
"reviews": 125,
"positive": 69,
"neutral": 8,
"critical": 23
},
{
"topic": "drinks",
"sentiment": "neutral",
"reviews": 28,
"positive": 50,
"neutral": 3,
"critical": 47
}
],
"popular_items": [
{
"title": "Chicken Madeira",
"price": "$29.95",
"photos": 34,
"reviews": 53,
"thumbnail": "https://s3-media0.fl.yelpcdn.com/bphoto/beex9zTpKS8dYSLLR_1ihg/258s.jpg",
"link": "https://www.yelp.com/biz_photos/the-cheesecake-factory-san-francisco-12?select=beex9zTpKS8dYSLLR_1ihg"
},
{
"title": "Thai Lettuce Wraps",
"price": "Price varies",
"photos": 28,
"reviews": 49,
"thumbnail": "https://s3-media0.fl.yelpcdn.com/bphoto/oN9vxJswhwWRzX48rZIVbQ/258s.jpg",
"link": "https://www.yelp.com/biz_photos/the-cheesecake-factory-san-francisco-12?select=oN9vxJswhwWRzX48rZIVbQ"
}
],
"images": [
"https://s3-media0.fl.yelpcdn.com/bphoto/VTjB7D1nLXFsStE3CSdztg/348s.jpg",
"https://s3-media0.fl.yelpcdn.com/bphoto/B_n3s64LRidvfylUqHK3XQ/348s.jpg"
],
"see_all_images_link": "https://www.yelp.com/biz_photos/the-cheesecake-factory-san-francisco-12",
"total_images": 4891,
"menu_images": [
"https://s3-media0.fl.yelpcdn.com/bphoto/ThkJJ7EFoFzroDSopt9tpQ/258s.jpg",
"https://s3-media0.fl.yelpcdn.com/bphoto/Y2knXE9o4krQzNIMuXif7g/258s.jpg"
],
"similar_businesses": [
{
"name": "Wayfare Tavern",
"biz_id": "ykvr3ib1gHQHI4tznSn8iA",
"link": "https://www.yelp.com/biz/wayfare-tavern-san-francisco-2",
"rating": 3.9,
"reviews": 4821,
"price": "$$$",
"thumbnail": "https://s3-media0.fl.yelpcdn.com/bphoto/PF0Gwry7SVfbI5tforgXgg/ls.jpg"
},
{
"name": "Terrene",
"biz_id": "zT4QiQc8ZUzqUnHZikob1g",
"link": "https://www.yelp.com/biz/terrene-san-francisco-2",
"rating": 4.1,
"reviews": 216,
"price": "$$",
"thumbnail": "https://s3-media0.fl.yelpcdn.com/bphoto/M-qCRCSWx9orYWfQGTGdaA/ls.jpg"
}
]
}
}