# AskAround - Hands-free AI Concierge for Restaurants and Hotels (`roshan_7/askaround`) Actor

Tell it what you want in plain words and your GPS location. A team of AI agents finds nearby restaurants or hotels, reads only recent reviews, checks partner live availability, and returns a ranked top 3 with directions and a spoken summary.

- **URL**: https://apify.com/roshan_7/askaround.md
- **Developed by:** [Arshak Roshan](https://apify.com/roshan_7) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

AskAround is a **hands-free AI concierge for travellers**. Say what you want in plain words, send your GPS location, and a **team of 5 AI agents** finds nearby **restaurants or hotels**, reads **only recent reviews** (last 12 months by default), checks **live availability at partner venues**, and returns a **ranked top 3** with reasons, warnings, directions, and a **ready-to-speak summary** for voice apps and phone agents.

It is the brain of the AskAround app (voice button → top 3 read aloud → map route starts automatically), and it works just as well on its own through the Apify API or MCP.

### What does AskAround do?

- 🗣️ **Understands natural requests**, such as *"Find a nearby Italian restaurant with the best ratings and guide me there"* or *"Hotel room for 2 tonight under ₹4000 with parking"*
- 📍 **Searches around your exact GPS point** with the Google Maps Scraper
- 🕒 **Ignores stale reviews**. A place rated 4.5 for years but 3.1 since a new owner took over is flagged, not recommended
- 🚩 **Detects red flags** in recent reviews: hygiene, overcharging, rude service, decline, safety
- 🟢 **Uses live partner inventory**: "Chicken Biryani available now", "King Bed Room - 2 free tonight"
- 🏆 **Picks the top 3** and explains why, plus an **avoid list**
- 🔊 **Writes a spoken summary** in English, Hindi, Kannada, Tamil or Telugu, ready for text-to-speech or a voice agent (for example Bolna)
- 🧭 **Adds directions links and ETA** for every pick

### Who is it for?

- **Travellers and tourists** who are walking or driving and cannot type and scroll
- **People new to a city** who don't know which places are good *now*
- **Hotel and hostel front desks** answering "where should I eat?" all day
- **Voice-agent and travel-app builders** who need a "recommend nearby" brain with one API call

### Why use it instead of a map search?

| Map search | AskAround |
|---|---|
| Lifetime rating (years of old reviews) | Rating from **recent reviews only** |
| 50 pins to scroll through | **3 picks with reasons** |
| No warning when a place gets worse | **Falling-trend and red-flag detection** |
| No idea what's available right now | **Live dishes and rooms** from partner venues |
| You read and decide | **Spoken summary** for hands-free use |

### How the agents work

1. **Intent agent** (LLM): turns your sentence into preferences: category, cuisine, dishes, diet, budget, party size, room needs, must-haves
2. **Scout agent**: runs the Google Maps Scraper Actor around your coordinates, newest reviews first
3. **Freshness agent**: computes recent rating, last-90-day rating and trend, and scans recent reviews for red flags
4. **Partner agent**: merges live inventory from AskAround partner venues (menu items in stock, rooms free)
5. **Ranker agent** (LLM): picks the top 3, quotes recent reviews, warns you about problems, writes the spoken summary

The LLM runs through the Apify OpenRouter proxy, so you need **no extra API key**.

### How to use AskAround

1. Click **Try for free** / **Start**
2. Type your request, for example *"Best rated Italian restaurant near me"*
3. Enter your **latitude and longitude**. Apps send these from the phone GPS
4. Optionally set the radius, the number of places to compare, and the review age limit
5. Click **Start** and open the **Output** tab after about 1-2 minutes

#### Call it from your app

```bash
curl -X POST "https://api.apify.com/v2/acts/<username>~askaround/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <APIFY_TOKEN>" -H "Content-Type: application/json" \
  -d '{"request":"Italian restaurant near me, guide me there","latitude":12.9698,"longitude":77.75}'
```

### Input

| Field | Example | Notes |
|---|---|---|
| `request` | "Hotel for 2 tonight with parking" | Required. Plain words |
| `latitude`, `longitude` | 12.9698, 77.75 | Required. From GPS |
| `category` | auto / restaurant / hotel | Auto-detected by default |
| `radiusKm` | 3 | 1-25 km |
| `maxPlaces` | 10 | Places compared before picking the top 3 |
| `reviewsPerPlace` | 12 | Newest reviews read per place |
| `maxReviewAgeMonths` | 12 | Older reviews are ignored |
| `language` | en | Spoken summary language |
| `partnerVenues` | \[...] | Optional live inventory from your own venue network |

### Output

One result per run (also saved as `OUTPUT` and as a Markdown `brief.md` in the key-value store):

```json
{
  "request": "Find a nearby Italian restaurant and guide me there",
  "category": "restaurant",
  "top3": [
    {
      "rank": 1,
      "name": "Pasta Italia",
      "recentRating": 4.7,
      "recentReviewCount": 11,
      "lifetimeRating": 4.4,
      "trend": "rising",
      "distanceKm": 0.4,
      "etaMinutes": 2,
      "whyPicked": "Highest recent rating nearby, reviewers praise the fresh pasta and quiet seating.",
      "highlights": ["\"best carbonara in Whitefield\"", "quiet, good for families"],
      "warnings": ["Slow on weekend nights"],
      "partner": { "matchedItems": [{ "name": "Spaghetti Carbonara", "price": 450 }] },
      "directionsUrl": "https://www.google.com/maps/dir/?api=1&origin=...&destination=..."
    }
  ],
  "avoid": [{ "name": "Roma Corner", "reason": "Rating fell from 4.5 to 2.3 after a change of owner" }],
  "spokenSummary": "I found three great Italian places near you. One: Pasta Italia, four point seven stars... Which one should I take you to, one, two or three?"
}
```

### How much does it cost?

AskAround uses **pay per event**. You pay **one flat price per recommendation** (one top-3 result), plus the small platform cost of the Google Maps Scraper and LLM tokens used in your run. A typical run compares 10 places and costs a few cents in platform usage. **If no matching place is found, no result is charged.**

### Tips

- Say what matters: *"veg"*, *"quiet"*, *"kid friendly"*, *"parking"*, *"under 500 per person"*
- Use a bigger `radiusKm` in rural or highway areas
- Use `maxReviewAgeMonths: 6` in fast-changing food areas

### FAQ

**Does it store my location?** The coordinates are used only for this run's search and are stored only in your own run storage.

**Can I add my own venues?** Yes. Pass `partnerVenues` with your menu and room availability, and the agents will use it.

**Is scraping Google Maps legal?** AskAround reads only public business information through the Google Maps Scraper and does not collect reviewer personal data. Check your local regulations for your use case.

**Support:** open an issue on the Actor's Issues tab.

# Actor input Schema

## `request` (type: `string`):

Say it the way you would ask a local friend, for example "Find a nearby Italian restaurant with the best recent ratings and guide me there" or "Hotel room for 2 tonight under 4000 rupees with parking".

## `latitude` (type: `number`):

Your current latitude (from the phone GPS). Example: 12.9698 for Whitefield, Bengaluru.

## `longitude` (type: `number`):

Your current longitude (from the phone GPS). Example: 77.7500 for Whitefield, Bengaluru.

## `category` (type: `string`):

Leave on Auto to let the Intent agent decide from your request.

## `radiusKm` (type: `integer`):

How far from your location the Scout agent searches.

## `maxPlaces` (type: `integer`):

How many candidate places the agents read before picking the top 3. More places = better picks, slightly higher cost.

## `reviewsPerPlace` (type: `integer`):

How many of the newest reviews the Freshness agent reads for each place.

## `maxReviewAgeMonths` (type: `integer`):

Only reviews newer than this count. Old reviews describe a place that may no longer exist (new owner, new chef).

## `language` (type: `string`):

Language of the short spoken summary (read aloud by the app or the Bolna phone agent).

## `partnerVenues` (type: `array`):

Venues from the AskAround partner network with live data: dishes available right now, rooms free tonight. The AskAround app fills this in automatically. Each item: {id, kind, name, lat, lng, phone, address, cuisine\[], menu:\[{name, price, isVeg, isAvailable}], rooms:\[{name, beds, pricePerNight, availableRooms}]}.

## `modelName` (type: `string`):

Any OpenRouter model id. Runs through the Apify OpenRouter proxy on your Apify account, no extra API key needed.

## Actor input object example

```json
{
  "request": "Find a nearby Italian restaurant with the best recent ratings and guide me there",
  "latitude": 12.9698,
  "longitude": 77.75,
  "category": "auto",
  "radiusKm": 3,
  "maxPlaces": 10,
  "reviewsPerPlace": 12,
  "maxReviewAgeMonths": 12,
  "language": "en",
  "partnerVenues": [],
  "modelName": "anthropic/claude-haiku-5.5"
}
```

# Actor output Schema

## `picks` (type: `string`):

No description

## `brief` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "request": "Find a nearby Italian restaurant with the best recent ratings and guide me there",
    "latitude": 12.9698,
    "longitude": 77.75
};

// Run the Actor and wait for it to finish
const run = await client.actor("roshan_7/askaround").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "request": "Find a nearby Italian restaurant with the best recent ratings and guide me there",
    "latitude": 12.9698,
    "longitude": 77.75,
}

# Run the Actor and wait for it to finish
run = client.actor("roshan_7/askaround").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "request": "Find a nearby Italian restaurant with the best recent ratings and guide me there",
  "latitude": 12.9698,
  "longitude": 77.75
}' |
apify call roshan_7/askaround --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,roshan_7/askaround"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bJATPTZP4N2Dscdsa/builds/Vsefjk2HHw8MJUgTN/openapi.json
