# Auto Repair Shops in Miami by Distance

**Use case:** 

Find auto repair shops in Miami, FL with the closest listings to the searched city surfaced first. With sort set to Distance, results come back ordered by proximity to Miami, so nearby shops lead the list. Each record includes title, categories, address, phone, website, opening_hours, regular_hours, star_rating, rating_count and source_url. Great for building location-based lead lists.

## Input

```json
{
  "searchKeyword": [
    "Auto Repair"
  ],
  "location": "Miami, FL",
  "sort": "Distance",
  "maxPages": 2,
  "urls": []
}
```

## Output

```json
{
  "is_ad": {
    "label": "Ad Status",
    "format": "boolean"
  },
  "title": {
    "label": "Business Name",
    "format": "text"
  },
  "is_claimed": {
    "label": "Claimed",
    "format": "text"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "star_rating": {
    "label": "Star Rating",
    "format": "text"
  },
  "rating_count": {
    "label": "Rating Count",
    "format": "text"
  },
  "opening_hours": {
    "label": "Opening Hours",
    "format": "text"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "email": {
    "label": "Email",
    "format": "text"
  },
  "regular_hours": {
    "label": "Regular Hours",
    "format": "object"
  },
  "more_info": {
    "label": "More Info",
    "format": "object"
  },
  "reviews": {
    "label": "Reviews",
    "format": "array"
  },
  "source_url": {
    "label": "Source URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [YellowPages Scraper - USA Business Leads](https://apify.com/delicious_zebu/yellowpages-usa-business-lead-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/delicious_zebu/yellowpages-usa-business-lead-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/delicious_zebu/yellowpages-usa-business-lead-scraper.md

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`).
