New: ScourJet. Describe the data, get the dataset, every value linked to its page. See how it works
Playground Sign in Start free
Recipe Local and reviews

Yellow Pages scraper API: search results as JSON

Send any Yellow Pages page URL with recipe=yellowpages and get name, title, address and 4 more fields as JSON. No selectors to write, no proxies to pick.

  • 1 page type
  • 7 fields
  • 5 credits a page · $0.50 per 1,000
  • Intermittent · 25% in 7 days

5,000 free credits for 21 days, no card.

recipe=yellowpages
curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://www.yellowpages.com/search?search_terms=pizza&geo_location_terms=Los+Angeles%2C+CA' \
  --data-urlencode 'recipe=yellowpages'
200 OK · JSON
{
    "result": {
        "places": [
            {
                "name": "Casa Bianca Pizza Pie",
                "title": "1. Casa Bianca Pizza Pie",
                "address": "Los Angeles, CA 90041"
            }
        ]
    },
    "success": true
}

What you get from Yellow Pages

The fields of each page type and a real sample from our last validation, shortened.

Search and listing pages recipe=yellowpages 5 credits a page

FieldTypeExample
placeslist of 3+ items
places[].urlURLhttps://www.yellowpages.com/los-angeles-ca/mip/griddle-cafe-1706556...
places[].titletext1. Griddle Cafe
places[].imageimage URLhttps://i2.ypcdn.com/blob/b994062df41edeeeccb67ceb1c560151e642056c_...
places[].nametextGriddle Cafe
places[].categorytextPizza
places[].addresstext7916 W Sunset BlvdLos Angeles, CA 90046
places[].neighborhoodtextLos Angeles, CA 90046

Sample answer, validated 2026-11-28

{
    "places": [
        {
            "url": "https://www.yellowpages.com/los-angeles-ca/mip/casa-bianca-pizza-pie-13519?lid=13519#gallery",
            "title": "1. Casa Bianca Pizza Pie",
            "image": "https://i4.ypcdn.com/blob/0040941ca934c0ffed7e2d524aad338d37668e27_130x130_crop.jpg?fbfdc6472",
            "name": "Casa Bianca Pizza Pie",
            "category": "Pizza",
            "address": "Los Angeles, CA 90041",
            "neighborhood": "Los Angeles, CA 90041"
        },
        {
            "url": "https://www.yellowpages.com/los-angeles-ca/mip/papa-johns-pizza-466226668?lid=466226668#gallery",
            "title": "2. Papa John's Pizza",
            "image": "https://i4.ypcdn.com/blob/4420f2baae1d9439042954212394b172e180c01b_130x130_crop.jpg?fbfdc6472",
            "name": "Papa John's Pizza",
            "category": "Pizza",
            "address": "9844 National BlvdLos Angeles, CA 90034",
            "neighborhood": "Los Angeles, CA 90034"
        }
    ]
}

One call

Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Yellow Pages (JavaScript rendering).

curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://www.yellowpages.com/search?search_terms=pizza&geo_location_terms=Los+Angeles%2C+CA' \
  --data-urlencode 'recipe=yellowpages'

The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.

What people build with Yellow Pages data

  • Local market research

    Map the businesses of a category in a city, with their ratings and price range.

    Learn more

Price

Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Page typeCredits a pagePer 1,000, StarterPer 1,000, Pro
Search results5$0.82$0.50

See all plans

FAQ

What does the Yellow Pages recipe return?

JSON with 7 fields from search results (recipe=yellowpages), for example name, title, address, url, image. The answer is {"result": {...}} with the fields shown on this page.

How much does it cost to scrape Yellow Pages?

5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Do I need proxies or a headless browser?

No. The recipe brings the settings that work on Yellow Pages: JavaScript rendering. Send only the URL and recipe=yellowpages.

What happens when Yellow Pages changes its pages?

We check Yellow Pages every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.

Can I search Yellow Pages with parameters?

Yes, in one call: send recipe=yellowpages/search with query, location, page and no URL. We build the Yellow Pages search URL (returned in the Ujb-Url header), apply recipe=yellowpages/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.

Get Yellow Pages data as JSON today.

5,000 free credits for 21 days. No card.