[Integrations](https://spiral.ai/integrations) › [dots](https://spiral.ai/integrations/dots) › [OpenStreetMap feature search](https://spiral.ai/integrations/dots/openstreetmap-feature-search)

# How to Use OpenStreetMap feature search in dots

Returns map objects selected through Overpass using geographic and feature criteria. Use it to find mapped amenities or infrastructure in an area, where place-name search would return only selected matches.

|  |  |
| --- | --- |
| Model | OpenStreetMap feature search |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with OpenStreetMap feature search in dots

- Every month, use OpenStreetMap feature search for mapped drinking fountains in central Vienna. Compare the returned objects with the previous run.
- Every Monday at 9am: use OpenStreetMap feature search to look this up and give me the result as a table.
- Pull the latest numbers from OpenStreetMap feature search and tell me what changed since last week.
- Check OpenStreetMap feature search and summarize what you find in three bullet points.
- Pull the newest data from OpenStreetMap feature search and give me the result as a table.

## How to set up OpenStreetMap feature search in dots

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send dots this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create an API key**: In the console, open API keys and create a key for your dot. Copy it.

2. **Send your dot this message**: Your dot reads Spiral's skill and asks for your API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give your dot the key**: When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run OpenStreetMap feature search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "openstreetmap-org/places/search_elements",
    "input": {
      "tags": {}
    }
  }'
```

Then paste one of the prompts above: dots finds OpenStreetMap feature search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/dots

## OpenStreetMap feature search tools and prices

- [OpenStreetMap · Search elements](https://spiral.ai/tools/alexandria/openstreetmap-org/places/search_elements) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| bbox |  | — | Bounding box `min_lon,min_lat,max_lon,max_lat` (left,bottom,right,top) in WGS84 decimal degrees, the OSM API convention. Pattern: ^\s*-?\d+(\.\d+)?\s*,\s*-?\d+(\.\d+)?\s*,\s*-?\d+(\.\d+)?\s*,\s*-?\d+(\.\d+)?\s*$. |
| limit | 1 to 2000 | 100 | Maximum elements (Overpass `out ... N`). |
| types |  | — | Element types to return; all three when omitted. |
| around |  | — | Circle filter. |
| polygon |  | — | Polygon as `[lat, lon]` pairs (at least 3), e.g. a `geocode` boundary ring. |
| timeout_s | 5 to 60 | 25 | Overpass `[timeout]` in seconds. |

## What can you do with OpenStreetMap feature search in dots?

Maintain a recurring map-quality brief for a public district. Compare each OpenStreetMap retrieval with the previous run and surface changes in the records or evidence returned.

### Maintain a public amenity directory

Find mapped libraries or drinking fountains in a named district, inspect their tags, and refresh known records for a civic directory.

### Prepare a field survey

Create a survey brief for a public plaza using its location, surrounding features, mapped amenities, and unresolved issue reports.

### Review accessibility mapping

Inspect available accessibility tags on public amenities, compare saved records, trace relevant edits, and collect map reports for human review.

### Refresh a public destination guide

Recheck mapped attractions in a district, refresh saved objects, label public locations, and review edit activity and map reports before revising the guide.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All dots guides](https://spiral.ai/integrations/dots)

## OpenStreetMap feature search in other agents

- [Amp](https://spiral.ai/integrations/amp/openstreetmap-feature-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/openstreetmap-feature-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/openstreetmap-feature-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/openstreetmap-feature-search)
- [Cline](https://spiral.ai/integrations/cline/openstreetmap-feature-search)
- [Codex](https://spiral.ai/integrations/codex/openstreetmap-feature-search)
- [Cursor](https://spiral.ai/integrations/cursor/openstreetmap-feature-search)
- [Devin](https://spiral.ai/integrations/devin/openstreetmap-feature-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/openstreetmap-feature-search)
- [Gemini](https://spiral.ai/integrations/gemini/openstreetmap-feature-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/openstreetmap-feature-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/openstreetmap-feature-search)
- [goose](https://spiral.ai/integrations/goose/openstreetmap-feature-search)
- [Grok](https://spiral.ai/integrations/grok/openstreetmap-feature-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/openstreetmap-feature-search)
- [Hermes](https://spiral.ai/integrations/hermes/openstreetmap-feature-search)
- [Instinct](https://spiral.ai/integrations/instinct/openstreetmap-feature-search)
- [Manus](https://spiral.ai/integrations/manus/openstreetmap-feature-search)
- [Muse](https://spiral.ai/integrations/muse/openstreetmap-feature-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/openstreetmap-feature-search)
- [n8n](https://spiral.ai/integrations/n8n/openstreetmap-feature-search)
- [Notion](https://spiral.ai/integrations/notion/openstreetmap-feature-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/openstreetmap-feature-search)
- [opencode](https://spiral.ai/integrations/opencode/openstreetmap-feature-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/openstreetmap-feature-search)
- [Raycast](https://spiral.ai/integrations/raycast/openstreetmap-feature-search)
- [VS Code](https://spiral.ai/integrations/vscode/openstreetmap-feature-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/openstreetmap-feature-search)
- [Zapier](https://spiral.ai/integrations/zapier/openstreetmap-feature-search)

## More dots guides

- [OpenStreetMap element history](https://spiral.ai/integrations/dots/openstreetmap-element-history)
- [OpenStreetMap local map data](https://spiral.ai/integrations/dots/openstreetmap-local-map-data)
- [OpenStreetMap element details](https://spiral.ai/integrations/dots/openstreetmap-element-details)
- [OpenStreetMap map edits](https://spiral.ai/integrations/dots/openstreetmap-map-edits)
- [OpenStreetMap coordinate lookup](https://spiral.ai/integrations/dots/openstreetmap-coordinate-lookup)
- [OpenStreetMap map issue reports](https://spiral.ai/integrations/dots/openstreetmap-map-issue-reports)

## Questions about OpenStreetMap feature search in dots

**Can dots use OpenStreetMap feature search?**

Yes. Add Spiral to dots as an MCP server, and dots can find and run OpenStreetMap feature search like any built-in tool.

**How much does OpenStreetMap feature search cost in dots?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.

**Do I need an Alexandria account to use OpenStreetMap feature search in dots?**

You need no Alexandria account. dots uses one Spiral API key for every tool, and Spiral runs OpenStreetMap feature search on its own Alexandria account.

**How long does it take to set up OpenStreetMap feature search in dots?**

About two minutes: create an API key, then send your dot this message, then give your dot the key.

**Does dots wait while OpenStreetMap feature search runs?**

OpenStreetMap feature search runs in the background. dots starts the run, checks on it and gives you the json when it's ready.

**Which parts of the world does OpenStreetMap cover?**

OpenStreetMap has worldwide scope, including roads, trails, cafés, and railway stations. Its records come from a community of contributors.

**Does worldwide coverage mean every local feature is mapped?**

No. OpenStreetMap's accuracy documentation says basic map coverage is still being built in many areas, so a local result set cannot establish that every feature is present.

**How frequently are OpenStreetMap changes distributed?**

OpenStreetMap publishes minute, hourly, and daily change files. Those replication intervals do not establish one refresh schedule for every service that uses the data.

**Are these map images or underlying geographic records?**

OpenStreetMap's editing API exposes raw geographic data. Nodes, ways, and relations describe the underlying features rather than a rendered map image.

**Is an OpenStreetMap number enough to identify a feature?**

No. Nodes, ways, and relations have separate ID spaces, so retain the object type alongside the number.

