---
title: "Maps and Yelp - Tools | SnowAI"
description: "Maps and Yelp tools on SnowAI. Businesses near a place, their details and their reviews. 5 tools, each with its parameters, its price and a call to copy."
url: "https://trysnow.ai/docs/tools/local"
---

# 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`](https://trysnow.ai/docs/tools/local#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`](https://trysnow.ai/docs/tools/local#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`](https://trysnow.ai/docs/tools/local#maps_get_reviews) | You need what customers say about a business on Google Maps. | 1.65 credits per review |
| [`yelp_get_business`](https://trysnow.ai/docs/tools/local#yelp_get_business) | You have a Yelp business URL and need its details. | 1.65 credits per call |
| [`yelp_get_reviews`](https://trysnow.ai/docs/tools/local#yelp_get_reviews) | You need what customers say about a business on Yelp. | 1.65 credits per review |

## Search Google Maps

Tool: `maps_search_places` (read-only)

- **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_place` and `maps_get_reviews` take. 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: MCP**

```json
{
  "name": "maps_search_places",
  "arguments": {
    "query": "coffee roasters in Portland, OR",
    "country": "us",
    "limit": 10
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/maps_search_places \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "coffee roasters in Portland, OR",
  "country": "us",
  "limit": 10
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/maps_search_places", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "query": "coffee roasters in Portland, OR",
    "country": "us",
    "limit": 10
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/maps_search_places",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "query": "coffee roasters in Portland, OR",
        "country": "us",
        "limit": 10,
    },
)
print(response.json())
```

## Get a Google Maps place

Tool: `maps_get_place` (read-only)

- **Good for**: You have a business's Google Maps link (`maps_search_places` returns 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: MCP**

```json
{
  "name": "maps_get_place",
  "arguments": {
    "url": "https://www.google.com/maps?cid=13959367496257718607"
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/maps_get_place \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.google.com/maps?cid=13959367496257718607"
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/maps_get_place", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://www.google.com/maps?cid=13959367496257718607"
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/maps_get_place",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "url": "https://www.google.com/maps?cid=13959367496257718607",
    },
)
print(response.json())
```

## Get Google Maps reviews

Tool: `maps_get_reviews` (read-only)

- **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: MCP**

```json
{
  "name": "maps_get_reviews",
  "arguments": {
    "url": "https://www.google.com/maps?cid=13959367496257718607",
    "limit": 20
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/maps_get_reviews \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.google.com/maps?cid=13959367496257718607",
  "limit": 20
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/maps_get_reviews", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://www.google.com/maps?cid=13959367496257718607",
    "limit": 20
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/maps_get_reviews",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "url": "https://www.google.com/maps?cid=13959367496257718607",
        "limit": 20,
    },
)
print(response.json())
```

## Get a Yelp business

Tool: `yelp_get_business` (read-only)

- **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: MCP**

```json
{
  "name": "yelp_get_business",
  "arguments": {
    "url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2"
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/yelp_get_business \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2"
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/yelp_get_business", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2"
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/yelp_get_business",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2",
    },
)
print(response.json())
```

## Get Yelp reviews

Tool: `yelp_get_reviews` (read-only)

- **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: MCP**

```json
{
  "name": "yelp_get_reviews",
  "arguments": {
    "url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2",
    "limit": 20
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/yelp_get_reviews \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2",
  "limit": 20
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/yelp_get_reviews", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2",
    "limit": 20
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/yelp_get_reviews",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "url": "https://www.yelp.com/biz/stumptown-coffee-roasters-portland-2",
        "limit": 20,
    },
)
print(response.json())
```

Every docs page as Markdown: https://trysnow.ai/llms.txt
