Yellowpages Business
Usar en masa con DataflowEjecuta este endpoint sobre un archivo o una lista, una vez o con una programación.
GET
Extract a full Yellow Pages business profile from a listing URL, including phone, website, categories, and ratings via browser rendering.
Credit cost: 2 credits per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringFull Yellow Pages business listing URL.
Example:
https://www.yellowpages.com/los-angeles-ca/mip/anawalt-lumber-13945594?lid=1002108313121Notes:
- Only
/mip/business profile URLs on yellowpages.com are accepted. - Query parameters such as
?lid=are supported. - Business profile pages are JavaScript SPAs; this endpoint uses website rendering to extract phone, website, categories, and ratings.
- Copy the listing URL from search results or from yellowpages.com.
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
Default
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
Default
falseSuccessful response
application/json- response
name?stringphone?stringrating?stringaddress?stringwebsite?stringcategories?array<string>rating_count?integercurl -X GET 'https://api.piloterr.com/v2/yellowpages/business?query=string'Example Response
{
"name": "Ritz Plumbing Heating, Air & Electrical",
"phone": "323 452-4915",
"rating": "five",
"address": "1355 S La Brea Ave, Los Angeles, CA 90019",
"website": "http://www.ritzplumbinginc.org",
"categories": [
"Plumbers",
"Air Conditioning Contractors & Systems",
"Air Conditioning Service & Repair",
"Plumbers",
"Air Conditioning Contractors & Systems",
"Air Conditioning Service & Repair",
"Building Contractors",
"Building Contractors-Commercial & Industrial",
"Electricians",
"Furnace Repair & Cleaning",
"Furnaces-Heating",
"Heating Contractors & Specialties",
"Heating Equipment & Systems",
"Plumbing Contractors-Commercial & Industrial",
"Plumbing-Drain & Sewer Cleaning",
"Sewer Contractors",
"Water Heaters"
],
"rating_count": 3
}