> ## Documentation Index
> Fetch the complete documentation index at: https://help.lobstr.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How the Geo Match filter works in the Google Maps Leads Scraper

> Geo Match keeps only businesses located within 10 km of where you searched, skipping out-of-area results before they reach your output file, so you don't collect or pay for them.

Google Maps often returns businesses from the wrong city, sometimes the wrong country. The **Geo Match** filter fixes this by keeping only results located where you searched.

## What Geo Match does

![Google Maps results from outside the intended region](https://mintcdn.com/lobstrio-8dcae32c/oM3Rw_5SkIYdley8/images/how-do-geo-match-and-category-match-filters-work-in-google-maps-leads-scraper/image_1m2tcio.png?fit=max\&auto=format\&n=oM3Rw_5SkIYdley8\&q=85\&s=99e9b1a3b29c9218e96b4158847f44b3)

Geo Match checks every business against the location of your task. A business is kept when it is **within 10 km of the search point**. If it is farther, the scraper skips it and it never appears in your output file.

| Location of your task | Search point |
| - | - |
| A city from the location list, for example `Acampo 95220` | The coordinates of that city |
| A Google Maps URL, for example `.../maps/search/dentist/@48.8566,2.3522,14z` | The center of the URL (`@latitude,longitude`) |

The rule is the same in every country. Postal codes are not checked: a business in the next commune, 3 km away, is kept even if its postal code differs, and a business that hides its address is kept if its pin is within 10 km.

### Covering a large area

Each search brings back a limited number of places (the **Max Results** setting). To cover a region, add one task per city of the region instead of a single search: each task keeps its own 10 km, and the duplicates between neighboring cities are removed from your unique results. See [how to scrape a whole country](https://help.lobstr.io/guides/google-maps/scrape-country.md).

![Geo Match filter](https://mintcdn.com/lobstrio-8dcae32c/oM3Rw_5SkIYdley8/images/how-do-geo-match-and-category-match-filters-work-in-google-maps-leads-scraper/image_1i5mig4.png?fit=max\&auto=format\&n=oM3Rw_5SkIYdley8\&q=85\&s=5caa5182342e89f90f74e25cba84c613)

## When it runs

Geo Match runs at the **crawl level**, before results reach your output file. Because out-of-area listings are skipped before collection, they **never count toward your billing**.

## How to enable it

Toggle **Geo Match** in your Squid's **Advanced Settings** — see [how to enable filters](https://help.lobstr.io/guides/google-maps/filtering.md#how-to-enable-filters) for the full steps.

> [!NOTE]
>
> Geo Match works alongside [Category Match](https://help.lobstr.io/guides/google-maps/filtering/category-match.md). You can use either, both, or neither — when both are on, a result has to pass both to be kept.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.