Yellow Pages Scraper

ENDPOINTS
GET/businesses/suggestions

Business Suggestions

Get the search box's suggestions for typed text: category terms and matching businesses with their address.

QUERY PARAMS

The text typed so far: the start of a category or of a business name.

Where to suggest businesses from: a city and state or a ZIP code. Add it to get that place's businesses.

{
  "query": "steak",
  "location": null,
  "count": 15,
  "results": [
    {
      "type": "category",
      "text": "Steak Houses",
      "business": null
    },
    {
      "type": "category",
      "text": "steak",
      "business": null
    },
    {
      "type": "category",
      "text": "steakhouse",
      "business": null
    },
    {
      "type": "category",
      "text": "steak restaurant",
      "business": null
    },
    {
      "type": "category",
      "text": "Steak Escape",
      "business": null
    },
    {
      "type": "business",
      "text": "Steak Escape",
      "business": {
        "id": "506357377",
        "link": "https://www.yellowpages.com/milwaukee-wi/mip/steak-escape-506357377",
        "street": "2500 W North Ave",
        "city": "Milwaukee"
      }
    },
    {
      "type": "business",
      "text": "Steak Escape",
      "business": {
        "id": "21340014",
        "link": "https://www.yellowpages.com/milwaukee-wi/mip/steak-escape-21340014",
        "street": "2500 N Mayfair Rd",
        "city": "Milwaukee"
      }
    },
    {
      "type": "category",
      "text": "steak and seafood restaurant",
      "business": null
    },
    {
      "type": "category",
      "text": "steak house restaurant",
      "business": null
    },
    {
      "type": "category",
      "text": "steakhouse restaurant",
      "business": null
    },
    {
      "type": "business",
      "text": "Steaksy",
      "business": {
        "id": "566472344",
        "link": "https://www.yellowpages.com/milwaukee-wi/mip/steaksy-566472344",
        "street": "4328 W Forest Home Ave",
        "city": "Milwaukee"
      }
    },
    {
      "type": "business",
      "text": "Steakhouse 100",
      "business": {
        "id": "4305593",
        "link": "https://www.yellowpages.com/west-allis-wi/mip/steakhouse-100-4305593",
        "street": "7246 W Greenfield Ave",
        "city": "West Allis"
      }
    },
    {
      "type": "category",
      "text": "steakhouse dining",
      "business": null
    },
    {
      "type": "category",
      "text": "Steak-Out",
      "business": null
    },
    {
      "type": "business",
      "text": "The Steakout",
      "business": {
        "id": "4695096",
        "link": "https://www.yellowpages.com/greendale-wi/mip/the-steakout-4695096",
        "street": "6300 Industrial Loop",
        "city": "Greendale"
      }
    }
  ]
}