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 · 38.1% in 7 days

5,000 free credits for 7 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": "Griddle Cafe",
                "title": "1. Griddle Cafe",
                "address": "7916 W Sunset BlvdLos Angeles, CA 90046"
            }
        ]
    },
    "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-12

{
    "places": [
        {
            "url": "https://www.yellowpages.com/los-angeles-ca/mip/griddle-cafe-17065569?lid=17065569#gallery",
            "title": "1. Griddle Cafe",
            "image": "https://i2.ypcdn.com/blob/b994062df41edeeeccb67ceb1c560151e642056c_130x130_crop.jpg?fbfdc6472",
            "name": "Griddle Cafe",
            "category": "Pizza",
            "address": "7916 W Sunset BlvdLos Angeles, CA 90046",
            "neighborhood": "Los Angeles, CA 90046"
        },
        {
            "url": "https://www.yellowpages.com/los-angeles-ca/mip/toast-bakery-cafe-4125154?lid=4125154#gallery",
            "title": "2. Toast Bakery Cafe",
            "image": "https://i2.ypcdn.com/blob/4f8b5f8e9b1bdb28d4033cad09ffdbeda1ba8aee_130x130_crop.jpg?fbfdc6472",
            "name": "Toast Bakery Cafe",
            "category": "Pizza",
            "address": "8221 W 3rd StLos Angeles, CA 90048",
            "neighborhood": "Los Angeles, CA 90048"
        }
    ]
}

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 change the fields?

Yes. Send your own extract_rules or any setting (js, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.

Get Yellow Pages data as JSON today.

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