# OpenStreetMap API reference

> Nominatim is OpenStreetMap's geocoder. Its search endpoint turns a place name or address into coordinates, an OSM object and an address breakdown. An investigator uses it to place a named location on the map. The public instance is https://nominatim.openstreetmap.org. The docs state no numeric…

Source: https://osinttools.io/apis/openstreetmap/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/openstreetmap/

- Base URL: https://nominatim.openstreetmap.org
- Authentication: No key needed.
- Rate limits: Not stated in the docs; see the Nominatim usage policy
- Vendor docs: https://nominatim.org/release-docs/latest/api/Search/

## Overview

Nominatim is OpenStreetMap's geocoder. Its search endpoint turns a place name or address into coordinates, an OSM object and an address breakdown. An investigator uses it to place a named location on the map.

The public instance is `https://nominatim.openstreetmap.org`. The docs state no numeric rate limit and refer to the usage policy; for large numbers of requests they ask you to include an appropriate email address. Other OpenStreetMap services, such as the editing API, are documented on the wiki and not covered here.

## Geocoding

### Search for places by free-form query or structured address.

`GET /search`

- Footprint: passive (the target is not contacted)

Use q, or the structured fields (amenity, street, city, county, state, country, postalcode), but not both. Defaults to jsonv2 output. The public service forwards requests without format to the web UI, so always send format.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | no | Free-form query Example: Amsterdam Centraal |
| `format` | query | string | no | Output format Example: jsonv2 One of: xml, json, jsonv2, geojson, geocodejson |
| `limit` | query | integer | no | Number of results, maximum 40 Example: 5 |
| `addressdetails` | query | integer | no | 1 to include the address breakdown Example: 1 |
| `countrycodes` | query | string | no | Limit results to these countries Example: nl |
| `accept-language` | query | string | no | Language of the results Example: en |

Response fields:

- `[].place_id` (integer): Nominatim place ID
- `[].osm_type` (string): OSM object type
- `[].osm_id` (integer): OSM object ID
- `[].lat` (string): Latitude
- `[].lon` (string): Longitude
- `[].boundingbox` (string[]): Bounding box
- `[].category` (string): OSM category
- `[].type` (string): OSM type
- `[].importance` (number): Importance ranking
- `[].name` (string): Place name
- `[].display_name` (string): Full display name
- `[].address` (object): Address parts, with addressdetails=1

```bash
curl 'https://nominatim.openstreetmap.org/search'
```

Example response (200):

```json
[
  {
    "place_id": 1000001,
    "osm_type": "node",
    "osm_id": 2000002,
    "lat": "52.3700000",
    "lon": "4.9000000",
    "boundingbox": [
      "52.36",
      "52.38",
      "4.89",
      "4.91"
    ],
    "category": "railway",
    "type": "station",
    "importance": 0.5,
    "name": "Example Station",
    "display_name": "Example Station, Example City, Netherlands"
  }
]
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
