[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [OpenStreetMap batch element lookup](https://spiral.ai/integrations/gemini/openstreetmap-batch-element-lookup)

# How to Use OpenStreetMap batch element lookup in Gemini

Returns multiple known map objects together. Use it to refresh saved records or compare a public-place inventory against OpenStreetMap without rediscovering each location by name.

|  |  |
| --- | --- |
| Model | OpenStreetMap batch element lookup |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with OpenStreetMap batch element lookup in Gemini

- Use OpenStreetMap batch element lookup to look this up and give me the result as a table.
- Pull the latest numbers from OpenStreetMap batch element lookup and tell me what changed since last week.
- Check OpenStreetMap batch element lookup and summarize what you find in three bullet points.
- Pull the newest data from OpenStreetMap batch element lookup and give me the result as a table.
- Check OpenStreetMap batch element lookup every morning and tell me only when something changed.

## How to set up OpenStreetMap batch element lookup in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 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 batch element lookup**: 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/get_elements",
    "input": {
      "ids": [
        1
      ],
      "type": "node"
    }
  }'
```

Then paste one of the prompts above: Gemini finds OpenStreetMap batch element lookup on Spiral, shows the price and runs it.

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

## OpenStreetMap batch element lookup tools and prices

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

## What can you do with OpenStreetMap batch element lookup in Gemini?

Prepare a map-based brief for a public destination such as Trafalgar Square. Have the chat app explain the returned locations, mapped features, or map-quality evidence in plain English.

### Build a neighborhood base map

Locate Covent Garden, inspect a small surrounding block, label public landmarks from coordinates, and refresh the saved map objects.

### 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.

### 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.

### Investigate a station map discrepancy

Compare saved station-area records with current objects, inspect the surrounding block, and use history, edit sessions, and issue reports to explain discrepancies.

## Overview

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

## OpenStreetMap batch element lookup in other agents

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

## More Gemini guides

- [Nissan vehicle details](https://spiral.ai/integrations/gemini/nissan-vehicle-details)
- [OpenStreetMap coordinate lookup](https://spiral.ai/integrations/gemini/openstreetmap-coordinate-lookup)
- [Nissan nearby dealers](https://spiral.ai/integrations/gemini/nissan-nearby-dealers)
- [OpenStreetMap element details](https://spiral.ai/integrations/gemini/openstreetmap-element-details)
- [Nissan dealer search](https://spiral.ai/integrations/gemini/nissan-dealer-search)
- [OpenStreetMap element history](https://spiral.ai/integrations/gemini/openstreetmap-element-history)

## Questions about OpenStreetMap batch element lookup in Gemini

**Can Gemini use OpenStreetMap batch element lookup?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run OpenStreetMap batch element lookup like any built-in tool.

**How much does OpenStreetMap batch element lookup cost in Gemini?**

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

**Do I need an Alexandria account to use OpenStreetMap batch element lookup in Gemini?**

No. Spiral runs OpenStreetMap batch element lookup on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up OpenStreetMap batch element lookup in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while OpenStreetMap batch element lookup runs?**

OpenStreetMap batch element lookup runs in the background. Gemini 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.

