Build a Coffee Shop Dataset From Yelp by City
John
Yelp Search API
Build a coffee shop list for any city from Yelp: name, categories, star rating, review count, and place IDs. Export to CSV, JSON, or Excel.
Input
Output fields
Sign up on Apify or log in
The Yelp Search API Actor is ready to run with the inputs already set for "Build a Coffee Shop Dataset From Yelp by City". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Build a Coffee Shop Dataset From Yelp by City" task
The Yelp Search API Actor will start running based on the input automatically. You can also change all the input fields, like search term, location, and more, to match your specific use case.
Receive the "Build a Coffee Shop Dataset From Yelp by City" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as page, search timestamp, and organic results.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Build a Coffee Shop Dataset From Yelp by City" task via API.

Integrate "Build a Coffee Shop Dataset From Yelp by City" into your workflow
Connect "Build a Coffee Shop Dataset From Yelp by City" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
Build a Coffee Shop Dataset From Yelp by City stores each results page as a row with page_number, search_timestamp and organic_results. Every coffee shop has title, categories, rating, reviews, price, neighborhoods and place_ids. CSV, JSON or Excel.
The example uses search_term "coffee shop", location "Portland, OR" and max_pages 3. Change location to any city and state, address or ZIP, and set yelp_domain, for example www.yelp.ca, to search a regional Yelp site.
Run the task through its Apify API endpoint or with apify-client in Python or Node, looping over cities by overriding location. Each run's dataset downloads as JSON or CSV, so the cities merge into one coffee shop table.
Open the task in the Apify Console, choose Actions, then Schedule, and enter 0 6 1 */3 * to run at 6 AM on the first day of every third month. Each run stores a fresh Portland coffee shop snapshot, and a webhook can forward it.
Use https://mcp.apify.com/?tools=actors,docs,johnvc/yelp-search-api as the MCP server URL in Claude or any other MCP client. Ask for coffee shops in a city and the agent runs the Yelp Search API and returns the list.
Each city run of Build a Coffee Shop Dataset From Yelp by City pays one setup fee plus a fee for each results page fetched, under the Yelp Search API's pay-per-event pricing. Rates are on the Actor page; Apify's free monthly usage tier also applies.
Build a Coffee Shop Dataset From Yelp by City reads three pages of "coffee shop" results in Portland, OR. Find the Best Restaurants in San Francisco on Yelp reads one page of restaurants. In both, place_ids feed the Yelp Business Details API.