# Fetch Stores

> Fetch store leads from Google Maps using Dumpling AI API. Use this skill when the user wants to search for businesses, stores, restaurants, or any places on Google Maps.

- Skill: `majiayu000/fetch-stores` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/fetch-stores`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/fetch-stores/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/fetch-stores

---


# Fetch Stores from Google Maps

This skill allows you to search for businesses and places using the Dumpling AI API, which queries Google Maps data.

## When to Use

Use this skill when the user:
- Wants to find stores, restaurants, or businesses in a specific area
- Asks for "best [type of business] in [location]"
- Needs to collect business leads or listings
- Wants to search Google Maps for places

## How to Use

Execute the script located at `scripts/fetch-stores.sh`:

```bash
fetch-stores.sh "search query" ["optional location"]
```

### Examples

```bash
# Search for restaurants in New York
fetch-stores.sh "best restaurants in New York"

# Search with separate location parameter
fetch-stores.sh "coffee shops" "San Francisco, CA"
```

## Prerequisites

The `DUMPLING_AI_API_KEY` environment variable must be set:

```bash
export DUMPLING_AI_API_KEY=your_api_key
```

## Output

- Results are saved to `/tmp/data/stores_[timestamp].json`
- The script displays:
  - Number of places found
  - Top 10 rated places with ratings and addresses
  - The best rated place with full details

## Response Format

The API returns places with the following information:
- `title`: Business name
- `rating`: Star rating (1-5)
- `ratingCount`: Number of reviews
- `address`: Full address
- `phoneNumber`: Contact phone
- `website`: Business website URL

## Guidelines

1. Always ask the user for their search query if not provided
2. Suggest adding a location for more relevant results
3. After fetching, summarize the top results for the user
4. If the API key is not set, guide the user to set it up

