Skip to main content

Scenario

What’s trending in your local market? New açaí bowl shops opening? Bubble tea exploding? You search Yelp for recently opened businesses in trending categories, analyze their ratings and review velocity, then use Mave to identify consumer trends and predict where the market is heading. Flow: Yelp GET /businesses/search (multiple trending categories) → Compare: new business counts, ratings, review velocity → Mavera POST /mave/chat → Consumer trend report

Code

Example Output

Error Handling

Yelp uses specific category aliases (e.g., bubbletea not bubble_tea). Find valid aliases at Yelp Category List.
The total field in search results may be large, but you can only paginate to 1,000 results. Use total for market size, sampled for analysis.