Skip to main content
POST
Add Tasks
Add Yelp search tasks to scrape business listings. You can provide either a Yelp search URL or use keyword + location to build the search programmatically.

Headers

string
required
Your API authentication token. Value: Token YOUR_API_KEY
string
required
Request body format. Value: application/json

Request Body

Task Object

You can either pass a url or use keyword + location (with optional country):
Either url or keyword + location is required. When using keyword and location, filters set in the squid settings (price, sort, distance, etc.) are applied automatically.
To use advanced Yelp filters (cuisine type, outdoor seating, etc.), apply them on Yelp’s website first and then copy the resulting URL.

Code Examples

Response

200