Yellow Pages API
Business

Get Business Details from Yellow Pages in Real-Time

Scrape business details such as business name, address,  rating, reviews and 10+ data points from yellowpages.com in real-time

Clients love ScrapeHero on G2

Level up your competitor analysis using our Yellow Pages API

				
					{
input: "https://www.yellowpages.com/search?search_terms=restaurants&geo_location_terms=Los+Angeles%2C+CA"
pagination_url: "https://www.yellowpages.com/search?search_terms=restaurants&geo_location_terms=Los%20Angeles%2C%20C..."
search_listings: [
0: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/roccos-neighborhood-pizza-458023002"
rank: "1"
image: "https://i2.ypcdn.com/blob/61faa44a924862e6fdc7d8098ee1f97fc43b0dc9_600x600_crop.jpg?834c706"
phone: "(323) 655-0058"
address: "6335 Wilshire Blvd, Los Angeles, CA 90048"
snippet: "Rocco's Italian Kitchen is the best restaurant i had ever seen... Awesome food quality."
trating: "4.5"
website: "https://roccospizza.la/?y_source=1_MTA0NTQzNzk3MC01NTMtbG9jYXRpb24ud2Vic2l0ZQ%3D%3D"
locality: "Los Angeles, CA 90048"
treviews: "64"
bbb_rating: null
categories: "Restaurants, Pizza, American Restaurants"
result_type: "Organic"
review_count: "17"
business_name: "Rocco's Neighborhood Pizza"
average_rating: "4.5"
street_address: "6335 Wilshire Blvd"
years_in_business: null
}
1: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/mauros-restaurant-4381539"
rank: "2"
image: "https://i2.ypcdn.com/blob/ed8ceceb105ce45d01ae408a331980183f8642e0_600x600_crop.jpg?834c706"
phone: "(323) 653-7970"
address: "8112 Melrose Ave, Los Angeles, CA 90046"
snippet: "Definitely fine dining....I love the service at the place and the chef is so friendly with the gues..."
trating: "4.5"
website: "http://www.mauroscafe.com"
locality: "Los Angeles, CA 90046"
treviews: "44"
bbb_rating: null
categories: "Restaurants, Breakfast, Brunch & Lunch Restaurants, Italian Restaurants"
result_type: "Organic"
review_count: "7"
business_name: "Mauro's Restaurant"
average_rating: "5.0"
street_address: "8112 Melrose Ave"
years_in_business: null
}
2: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/dinahs-family-restaurant-2371111"
rank: "3"
image: null
phone: "(310) 645-0456"
address: "6521 S Sepulveda Blvd, Los Angeles, CA 90045"
snippet: "Good place to hangout with family, friends or even children for great food!! Highly recommended!"
trating: "4.0"
website: null
locality: "Los Angeles, CA 90045"
treviews: "284"
bbb_rating: null
categories: "Restaurants, Family Style Restaurants, Caterers"
result_type: "Organic"
review_count: "11"
business_name: "Dinah's Family Restaurant"
average_rating: "4.0"
street_address: "6521 S Sepulveda Blvd"
years_in_business: null
}
3: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/canele-6655577"
rank: "4"
image: "https://i2.ypcdn.com/blob/7649a38550251b728607849b1e8fe900e3ed9077_600x600_crop.jpg?834c706"
phone: "(323) 666-7133"
address: "3219 Glendale Blvd, Los Angeles, CA 90039"
snippet: "I have to say, I enjoyed every single bite of the meal there ."
trating: null
website: "http://www.canele-la.com"
locality: "Los Angeles, CA 90039"
treviews: null
bbb_rating: null
categories: "Restaurants, French Restaurants, American Restaurants"
result_type: "Organic"
review_count: "11"
business_name: "Canele"
average_rating: "4.5"
street_address: "3219 Glendale Blvd"
years_in_business: null
}
4: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/fish-grill-9479385"
rank: "5"
image: "https://i2.ypcdn.com/blob/2b4decbefe15fa0d3a13d6366b830702321eb31d_600x600_crop.jpg?834c706"
phone: "(323) 937-7162"
address: "7226 Beverly Blvd, Los Angeles, CA 90036"
snippet: "Indulge your senses at Fish Grill, where the menu is a celebration of flavor and creativity. For th..."
trating: "4.5"
website: "https://fishgrill.com/locations"
locality: "Los Angeles, CA 90036"
treviews: "50"
bbb_rating: null
categories: "Restaurants, Seafood Restaurants, American Restaurants"
result_type: "Organic"
review_count: "10"
business_name: "Fish Grill"
average_rating: "5.0"
street_address: "7226 Beverly Blvd"
years_in_business: null
}
5: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/tacos-baja-19218906"
rank: "6"
image: "https://i2.ypcdn.com/blob/338b8e4be762b90c8428d45044a7fa45f3ad4c0c_600x600_crop.jpg?834c706"
phone: "(323) 887-1980"
address: "5385 Whittier Blvd, Los Angeles, CA 90022"
snippet: "Five-star dining at its finest! The ambiance at The Silver Spoon is elegant and welcoming, and the ..."
trating: "4.5"
website: "http://www.lataco.com/taco/tacos-baja-ensenada-east-los-angeles"
locality: "Los Angeles, CA 90022"
treviews: "11"
bbb_rating: null
categories: "Restaurants, Mexican Restaurants, Seafood Restaurants"
result_type: "Organic"
review_count: "12"
business_name: "Tacos Baja"
average_rating: "5.0"
street_address: "5385 Whittier Blvd"
years_in_business: null
}
6: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/marias-italian-kitchen-459714534"
rank: "7"
image: "https://i2.ypcdn.com/blob/eec3d7b8fabf44b5b33742d3b84a71888cd2895d_600x600_crop.jpg?834c706"
phone: "(310) 441-3663"
address: "10761 W Pico Blvd, Los Angeles, CA 90064"
snippet: "While the quality of the food and service at Maria's Italian Kitchen is exceptional, the prices rem..."
trating: "4.0"
website: "http://www.mariasitaliankitchen.com"
locality: "Los Angeles, CA 90064"
treviews: "45"
bbb_rating: null
categories: "Restaurants, Italian Restaurants"
result_type: "Organic"
review_count: "8"
business_name: "Maria's Italian Kitchen"
average_rating: "5.0"
street_address: "10761 W Pico Blvd"
years_in_business: "50 Years"
}
7: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/tgi-fridays-673613"
rank: "8"
image: "https://i2.ypcdn.com/blob/c3cce6e5906fbd3bb81ade697532b1238702f3ae_600x600_crop.jpg?834c706"
phone: "(310) 337-1143"
address: "6721 La Tijera Blvd, Los Angeles, CA 90045"
snippet: "Exceptional in every way. From the welcoming atmosphere to the exquisite food, this restaurant exce..."
trating: null
website: "https://www.tgifridays.com"
locality: "Los Angeles, CA 90045"
treviews: null
bbb_rating: null
categories: "Restaurants, American Restaurants, Bar & Grills"
result_type: "Organic"
review_count: "4"
business_name: "TGI Fridays"
average_rating: "5.0"
street_address: "6721 La Tijera Blvd"
years_in_business: "13 Years"
}
8: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/marouch-restaurant-465004155"
rank: "9"
image: "https://i2.ypcdn.com/blob/53f60d9d3cc44abf65689920c7884b87a43489a5_600x600_crop.jpg?834c706"
phone: "(323) 662-9325"
address: "4905 Santa Monica Blvd, Los Angeles, CA 90029"
snippet: "The experience has been fantastic! The staff was helpful and friendly. Delicious food"
trating: "4.5"
website: "http://www.marouchrestaurant.com"
locality: "Los Angeles, CA 90029"
treviews: "44"
bbb_rating: null
categories: "Restaurants, Middle Eastern Restaurants, Mediterranean Restaurants"
result_type: "Organic"
review_count: "12"
business_name: "Marouch Restaurant"
average_rating: "4.5"
street_address: "4905 Santa Monica Blvd"
years_in_business: null
}
9: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/divino-457406941"
rank: "10"
image: "https://i2.ypcdn.com/blob/d58092077f3b442fdd20096b848084c225185519_600x600_crop.jpg?834c706"
phone: "(310) 472-0886"
address: "11714 Barrington Ct, Los Angeles, CA 90049"
snippet: "A true taste sensation! The menu was diverse, and each dish we tried was a masterpiece."
trating: "4.0"
website: "http://www.divinobrentwood.com"
locality: "Los Angeles, CA 90049"
treviews: "75"
bbb_rating: null
categories: "Restaurants, Italian Restaurants, Pizza"
result_type: "Organic"
review_count: "9"
business_name: "Divino"
average_rating: "4.5"
street_address: "11714 Barrington Ct"
years_in_business: null
}
10: {
url: "https://www.yellowpages.com/los-angeles-ca/mip/amalfi-restaurant-and-bar-474266529"
rank: "11"
image: null
phone: "(323) 938-2504"
address: "143 N la Brea Ave, Los Angeles, CA 90036"
snippet: "Food was nice, Better then other restaurants, I love the ambience."
trating: null
website: null
locality: "Los Angeles, CA 90036"
treviews: null
bbb_rating: null
categories: "Restaurants, Pizza, Italian Restaurants"
result_type: "Organic"
review_count: "6"
business_name: "Amalfi Restaurant and Bar"
average_rating: "4.5"
street_address: "143 N la Brea Ave"
years_in_business: "33 Years"
}]}
				
			

API Integration

With just a few lines of code, you can integrate our API with your application and start receiving data as a JSON response.

				
					import requests

url = "https://get.scrapehero.com/api/yellowpages/search/?x-api-key=xxxxxxxxxxxxxxxxxxxxxxxx&url=https://www.yellowpages.com/search?search_terms=restaurants&geo_location_terms=Los+Angeles%2C+CA"

headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Access-Control-Allow-Origin": "*"
}

response = requests.get(url, headers=headers)
				
			
				
					const axios = require('axios');

const url = "https://get.scrapehero.com/api/yellowpages/search/?x-api-key=xxxxxxxxxxxxxxxxxxxxxxxx&url=https://www.yellowpages.com/search?search_terms=restaurants&geo_location_terms=Los+Angeles%2C+CA";

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Access-Control-Allow-Origin": "*"
};

axios.get(url, {
    headers: headers
}).then(response => {
    const responseData = response.data;
    console.log(responseData);
});
				
			
				
					<?php

$url = "https://get.scrapehero.com/api/yellowpages/search/?x-api-key=xxxxxxxxxxxxxxxxxxxxxxxx&url=https://www.yellowpages.com/search?search_terms=restaurants&geo_location_terms=Los+Angeles%2C+CA";

$headers = [
    "Content-Type" => "application/json",
    "Accept" => "application/json",
    "Access-Control-Allow-Origin" => "*"
];

$ch = curl_init($url);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");

$response = curl_exec($ch);

curl_close($ch);

?>
				
			
				
					HttpResponse<String> response = Unirest.get("https://get.scrapehero.com/api/yellowpages/search/?x-api-key=xxxxxxxxxxxxxxxxxxxxxxxx&url=https://www.yellowpages.com/search?search_terms=restaurants&geo_location_terms=Los+Angeles%2C+CA")
    .header("Content-Type", "application/json")
    .header("Accept", "application/json")
    .header("Access-Control-Allow-Origin", "*")
    
    .asString();
				
			
				
					require 'httparty'

url = "https://get.scrapehero.com/api/yellowpages/search/?x-api-key=xxxxxxxxxxxxxxxxxxxxxxxx&url=https://www.yellowpages.com/search?search_terms=restaurants&geo_location_terms=Los+Angeles%2C+CA"

response = HTTParty.get(url, {
    :headers => {
        "Content-Type" => "application/json",
        "Accept" => "application/json",
        "Access-Control-Allow-Origin" => "*"
    }
})
				
			

Scrape Business Data with ScrapeHero Cloud’s Business Scrapers and APIs

We have a wide variety of business scrapers and APIs available on our Marketplace. You can use these web scraping tools to get more real estate data.

Business

Google Play Store Reviews

Extract detailed information for apps or games from the Google Play Store,...
Business

Airbnb Search API

Get hotel listing data from Airbnb and get details such as pricing,...
Business

Google Reviews API

Get review details such as review content, rating, user in real-time by...
Business

Yellow Pages Scraper

Get details like business name, phone number, address, website, ratings, and more...
Business

Yelp Reviews Scraper

Get customer reviews for any business on Yelp and get details like...
Business

Yelp Business Details Scraper

Scrape business details from Yelp such as phone number, address, website, and...
Business

Tripadvisor Reviews Scraper

Scrape reviews of Hotels, Restaurants, Places, Attractions & more from Tripadvisor....
Business

Scrape Emails and Contact Details

Get emails, addresses, contact numbers, social media links from any website....
Business

Google Reviews Scraper

Get product information, pricing, FBA, best seller rank, and much more from...
Business

Airbnb Listings Scraper

Scrape listing details from Airbnb such as listing name, address, price, and...

Easy-to-understand pricing that works for you.

Free

$0
/month

Does not renew

Intro

$5
/month

Lite

$25
/month

Starter

$50
/month

Standard

$100
/month

Pro

$250
/month

Mega

$500
/month

Ultra

$750
/month

Compare all features &
choose what works best for you

Need More?

Contact us for a custom plan based on your needs.

Easy to use and free to try

A few mouse clicks and copy/paste is all that it takes!

Real-Time Data

The API returns highly structured JSON data in real-time within seconds.

Robust Infrastructure

Our robust infrastructure allows us to scale the API to meet your high volume demands easily.

Easy Integration

You can easily integrate our APIs to your application and stream extracted data seamlessly.

Avoid Blocking

We use the best residential proxies to route your requests to avoid IP bans and CAPTCHAs.

Frequently asked questions

Can’t find what you’re looking for? Check out Cloud Support for assistance!

Sure, you can modify or cancel your plan at any time. Click on the Billing tab to change your plan.

If you cancel, you’ll be billed for the current month, but you won’t be charged again. If you have any page credits, you can still use our service until it reaches its limit.

Normally, it will take 3-5 business days to build a custom API endpoint. However, this may vary according to the complexity of the site and the proposed business logic.

No, we always provide the latest and most accurate data present on the website. However, you are free to cache the results in your systems to reduce API calls and costs.

Sure, we can build custom solutions for you. Please contact our Sales team using this link, and that will get us started. In your message, please describe in detail what you require.

All our data credit reset at the end of the billing period. Any unused credits do not carry over to the next billing period and also are nonrefundable. This is consistent with most software subscription services.