Tools
Maps and Yelp
Businesses near a place, their details and their reviews.
Things to ask#
Ask your agent in plain words. It picks the tool.
- Find coffee roasters in Portland, OR and rank them by rating and review count.
- Pull the latest 20 Google Maps reviews for Stumptown Coffee Roasters and list what customers complain about.
- Compare this restaurant's Yelp rating and opening hours with its Google Maps listing.
Tools in Maps and Yelp#
5 tools. Prices are in credits; 1,000 credits are $1.
| Tool | Use it when | Cost |
|---|---|---|
maps_search_places | You need businesses of a kind in a place: dentists in Austin, coffee near Shibuya. | 1.65 credits a search, or 1.65 credits a place when it falls back to the Maps scraper |
maps_get_place | You have a business's Google Maps link (maps_search_places returns one) and need its details. | 1.65 credits per call |
maps_get_reviews | You need what customers say about a business on Google Maps. | 1.65 credits per review |
yelp_get_business | You have a Yelp business URL and need its details. | 1.65 credits per call |
yelp_get_reviews | You need what customers say about a business on Yelp. | 1.65 credits per review |
Search Google Maps#
Tool
Readsmaps_search_places- Good for
- You need businesses of a kind in a place: dentists in Austin, coffee near Shibuya.
- Not the tool for
- One business you already have the Maps URL of (use
maps_get_place). - What you get
- The places Google lists, each with name, category, rating, review count, address, phone and website when shown, and the Maps url that
maps_get_placeandmaps_get_reviewstake. Usually seconds; when Google Maps is slow it answers status "working" and the same call returns the places a few minutes later. - Cost
- 1.65 credits a search, or 1.65 credits a place when it falls back to the Maps scraper. Cached 24 hours: a cache hit costs 50% of the live price.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | What and where, e.g. 'dentists in Austin TX'. |
country | string | No | Two-letter country code to search from, e.g. us, gb, de. Default: the brand's country, else us. |
language | string | No | Interface language, e.g. en, de, pt-br. Default: the brand's language, else en. |
limit | integer | No | How many places to return, at most 100. Default 20. |
Example
{
"name": "maps_search_places",
"arguments": {
"query": "coffee roasters in Portland, OR",
"country": "us",
"limit": 10
}
}Get a Google Maps place#
Tool
Readsmaps_get_place- Good for
- You have a business's Google Maps link (
maps_search_placesreturns one) and need its details. - Not the tool for
- Its reviews (use
maps_get_reviews). - What you get
- The place: name, category, address, phone, website, hours, rating, review count, coordinates and whether it is claimed or closed.
- Cost
- 1.65 credits per call. Cached 24 hours: a cache hit costs 0.825 credits.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The Google Maps place URL, e.g. https://www.google.com/maps?cid=13959367496257718607 |
Example
{
"name": "maps_get_place",
"arguments": {
"url": "https://www.google.com/maps?cid=13959367496257718607"
}
}Get Google Maps reviews#
Tool
Readsmaps_get_reviews- Good for
- You need what customers say about a business on Google Maps.
- Not the tool for
- The business's details (use
maps_get_place). - What you get
- The newest reviews, each with rating, text, date and the owner's reply.
- Cost
- 1.65 credits per review. Cached 24 hours: a cache hit costs 50% of the live price.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The Google Maps place URL, e.g. https://www.google.com/maps?cid=13959367496257718607 |
limit | integer | No | How many reviews to return, at most 100. Default 20. |
Example
{
"name": "maps_get_reviews",
"arguments": {
"url": "https://www.google.com/maps?cid=13959367496257718607",
"limit": 20
}
}Get a Yelp business#
Tool
Readsyelp_get_business- Good for
- You have a Yelp business URL and need its details.
- Not the tool for
- Its reviews (use
yelp_get_reviews). - What you get
- The business: rating, review count, categories, address, phone, website, hours, price range and whether it is claimed.
- Cost
- 1.65 credits per call. Cached 24 hours: a cache hit costs 0.825 credits.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The Yelp business URL, e.g. https://www.yelp.com/biz/... |
Example
{
"name": "yelp_get_business",
"arguments": {
"url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2"
}
}Get Yelp reviews#
Tool
Readsyelp_get_reviews- Good for
- You need what customers say about a business on Yelp.
- Not the tool for
- The business's details (use
yelp_get_business). - What you get
- Reviews, each with rating, text, date and reactions.
- Cost
- 1.65 credits per review. Cached 24 hours: a cache hit costs 50% of the live price.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The Yelp business URL, e.g. https://www.yelp.com/biz/... |
limit | integer | No | How many reviews to return, at most 100. Default 20. |
Example
{
"name": "yelp_get_reviews",
"arguments": {
"url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2",
"limit": 20
}
}