🔥 Popular Search Terms

**Get popular search terms based on actual restaurant data** **📊 Data Sources:** - **Popular cuisines** - most common cuisine types (60% of results) - **Popular features** - most common restaurant features (20% of results) - **Popular tags** - most common tags and attributes (20% of results) **⚡ Performance Features:** - **Aggregated data** - pre-computed from actual restaurant database - **Parallel queries** - cuisines, features, and tags fetched simultaneously - **Photo filtering** - only includes data from restaurants with photos - **Cached-friendly** - results can be cached for extended periods **📝 Query Parameters:** - `limit`: Total number of terms to return (default: 20) **💡 Use Cases:** - **Search homepage** - show popular search options - **Search suggestions** - trending terms - **Category browsing** - popular cuisines and features - **Analytics** - understand popular restaurant attributes **📝 Examples:** - `/restaurants/search/popular` - Get 20 popular search terms - `/restaurants/search/popular?limit=50` - Get 50 popular terms **📊 Response Format:** ```json { "status": "success", "cuisines": ["italian", "chinese", "american", ...], "features": ["delivery", "takeout", "wifi", ...], "tags": ["casual", "family-friendly", "romantic", ...], "total": 20 } ```

Response

This endpoint returns an object.