Yellowpages Business
Mit Dataflow in großen Mengen nutzenFühren Sie diesen Endpunkt über eine Datei oder eine Liste aus, einmalig oder nach Zeitplan.
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
ApiKeyAuthx-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}. The call is billed once, when the job completes. fields does not apply to asynchronous results.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body. Billing is unchanged: a billable error (e.g. 404) is still charged.
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=https%3A%2F%2Fwww.yellowpages.com%2Flos-angeles-ca%2Fmip%2Fanawalt-lumber-13945594%3Flid%3D1002108313121'{
"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
}