The YellowPages Search API allows users to get results from the YellowPages search page. This API enables searching for businesses by keyword and location.Documentation Index
Fetch the complete documentation index at: https://docs.hasdata.com/llms.txt
Use this file to discover all available pages before exploring further.
Get Your API Key
Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in thex-api-key header.
Request Cost and API Credits
Each request to the YellowPages Search API consumes API Credits from your account balance.- Cost per request: 5 API Credits
- Credits are deducted only for successful requests.
- Your total available credits depend on your active plan.
Make Your First Request
API Parameters
| Parameter | Default Value | Required | Description |
|---|---|---|---|
keyword | Plumbers | Yes | The search term for which to get the search results. |
location | New York, NY | Yes | The location where to search for businesses with the given keyword. |
sort | default | No | The sorting option for the search results. |
domain | - | No | YellowPages domain to use. Default is www.yellowpages.com. |
page | - | No | The page number of the results to retrieve. |