Yellow Pages Search
1 (2 with fetchDetails)Search Yellow Pages for businesses by a term and a place.
/api/v1/tools/yellowpages/searchParameters
Which Yellow Pages to read: "us" (yellowpages.com), "uk" (yell.com), or "ca" (yellowpages.ca). Links, IDs, and locations must match the country. Defaults to "us".
What to search for, such as "plumbers", "pizza", or a business name. From 1 through 200 characters.
A city, state, ZIP code, postcode, or address in the chosen country, such as "Austin, TX", "Leeds", or "Toronto, ON". Send location, or latitude and longitude. When you send both, location wins. A search in Canada needs location.
From -90 through 90. Send it with longitude. Not for Canada.
From -180 through 180. Send it with latitude. Not for Canada.
One of "relevance", "distance", "average_rating", or "name". Defaults to "relevance".
Maximum businesses to return. From 1 through 100, and not above your plan limit. Must be 20 or less when fetchDetails is true. Defaults to 20.
Read the full business record for each result. Costs 2 credits. Defaults to false.
Response Schema
Yellow Pages search result
Businesses in search order
Businesses returned
Matches that Yellow Pages counted. It can be more than it serves.
True when the request time ran out and some businesses are missing
The place that Yellow Pages searched. Check it when you search by a name.
The corrected term, when Yellow Pages corrected a misspelled one
Request metadata
Tool name (yellowpages-search)
Credits consumed (1, or 2 with fetchDetails)
Unique request ID
Request
curl -X POST https://scraper.run/api/v1/tools/yellowpages/search \-H "Authorization: Bearer sc_live_..." \-H "Content-Type: application/json" \-d '{"searchTerm": "plumbers","location": "Austin, TX","maxItems": 10,"searchSort": "average_rating"}'
Response Example
{"data": {"businesses": [{"ypid": "467675667","listingId": "467675667","name": "Texan Water","yellowPagesUrl": "https://www.yellowpages.com/austin-tx/mip/texan-water-467675667","phoneNumber": "(512) 555-0100","address": "100 Example St","city": "Austin","state": "TX","zip": "78701","latitude": 30.2672,"longitude": -97.7431,"headingText": "Plumbers","averageRating": 4.5,"ratingCount": 38,"searchListing": {"distance": 1.2},"scrapedAt": "2026-10-22T09:00:00.000Z"}],"count": 1,"totalResults": 1240,"truncated": false,"searchedPlace": "Austin, TX"},"meta": {"tool": "yellowpages-search","creditsUsed": 1,"requestId": "req_abc123"}}