# Wikimapia API reference

> The Wikimapia API (marked beta in its docs) returns places, streets and categories from the Wikimapia map: titles, descriptions, polygons, locations, photos and comments. An investigator uses it to find named places near a point or inside a bounding box and to read a place's description and…

Source: https://osinttools.io/apis/wikimapia/ (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/wikimapia/

- Base URL: https://api.wikimapia.org
- Authentication: API key in the `key` query parameter. Get a key: https://wikimapia.org/api/ Create a key on the site's Create key page.
- Free tier: yes
- Rate limits: Not stated in the docs
- Vendor docs: https://wikimapia.org/api/

## Overview

The Wikimapia API (marked beta in its docs) returns places, streets and categories from the Wikimapia map: titles, descriptions, polygons, locations, photos and comments. An investigator uses it to find named places near a point or inside a bounding box and to read a place's description and location.

Every call is a GET to the base URL with a `function` parameter naming the method, plus your `key`. Output is XML by default; `format=json` returns JSON. The docs say the data is free for non-commercial use and must be credited to Wikimapia under its terms.

The docs list the base URL with http://; this reference uses the same host over https. The docs do not state rate limits. Paged methods take `page` and `count` (5 to 100, default 50). The `place.update` method is left out.

## Places

### Full-text search for places, optionally near a point.

`GET /?function=place.search`

- Takes: Name
- Footprint: passive (the target is not contacted)

Returns a minimal set of fields per place by default (id, language, title, url, categories, polygon); distance is included when lat and lon are given.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Search text Example: Example Park |
| `lat` | query | number | no | Latitude to search around Example: 51.5 |
| `lon` | query | number | no | Longitude to search around Example: -0.1 |
| `distance` | query | integer | no | Distance in meters Example: 1000 |
| `page` | query | integer | no | Page number Example: 1 |
| `count` | query | integer | no | Results per page, 5 to 100 Example: 20 |
| `format` | query | string | no | Output format Example: json One of: xml, kml, json, jsonp |
| `language` | query | string | no | ISO 639-1 language code Example: en |

Response fields:

- `id` (integer): Place ID (per result item)
- `title` (string): Place title
- `url` (string): Place page URL
- `location` (object): Location of the place
- `polygon` (array): Place outline
- `distance` (number): Distance from the point, when given

```bash
curl 'https://api.wikimapia.org/?function=place.search&q=Example%20Park&key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "id": 1000001,
  "title": "Example Park",
  "url": "http://wikimapia.org/1000001/Example-Park",
  "location": {
    "lat": 51.5,
    "lon": -0.1
  },
  "distance": 120
}
```

### Places closest to a point, with distance.

`GET /?function=place.getnearest`

- Footprint: passive (the target is not contacted)

Supports category filters, page and count.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `lat` | query | number | yes | Latitude Example: 51.5 |
| `lon` | query | number | yes | Longitude Example: -0.1 |
| `category` | query | string | no | Category filter Example: 123 |
| `page` | query | integer | no | Page number Example: 1 |
| `count` | query | integer | no | Results per page, 5 to 100 Example: 20 |
| `format` | query | string | no | Output format Example: json One of: xml, kml, json, jsonp |

Response fields:

- `id` (integer): Place ID (per result item)
- `title` (string): Place title
- `url` (string): Place page URL
- `distance` (number): Distance from the point

```bash
curl 'https://api.wikimapia.org/?function=place.getnearest&lat=51.5&lon=-0.1&key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "id": 1000002,
  "title": "Example Building",
  "url": "http://wikimapia.org/1000002/Example-Building",
  "distance": 45
}
```

### Places inside a bounding box or map tile.

`GET /?function=place.getbyarea`

- Footprint: passive (the target is not contacted)

Give either a bbox (lon_min,lat_min,lon_max,lat_max) or tile x, y and z.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `bbox` | query | string | yes | lon_min,lat_min,lon_max,lat_max Example: -0.2,51.4,-0.1,51.5 |
| `category` | query | string | no | Category filter Example: 123 |
| `page` | query | integer | no | Page number Example: 1 |
| `count` | query | integer | no | Results per page, 5 to 100 Example: 20 |
| `format` | query | string | no | Output format Example: json One of: xml, kml, json, jsonp |

Response fields:

- `id` (integer): Place ID (per result item)
- `title` (string): Place title
- `url` (string): Place page URL
- `polygon` (array): Place outline

```bash
curl 'https://api.wikimapia.org/?function=place.getbyarea&bbox=-0.2%2C51.4%2C-0.1%2C51.5&key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "id": 1000003,
  "title": "Example Square",
  "url": "http://wikimapia.org/1000003/Example-Square"
}
```

### One place with optional data blocks (main, geometry, location, photos, comments).

`GET /?function=place.getbyid`

- Footprint: passive (the target is not contacted)

Choose blocks with data_blocks. The location block has coordinates, bounds, zoom, country, state, city and street; the edit block names the last editor and time.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | query | integer | yes | Place ID Example: 1000001 |
| `data_blocks` | query | string | no | Comma-separated blocks to include Example: main,location |
| `format` | query | string | no | Output format Example: json One of: xml, kml, json, jsonp |
| `language` | query | string | no | ISO 639-1 language code Example: en |

Response fields:

- `id` (integer): Place ID
- `title` (string): Place title
- `description` (string): Place description (main block)
- `location` (object): Coordinates, country, state, city and street (location block)

```bash
curl 'https://api.wikimapia.org/?function=place.getbyid&id=1000001&key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "id": 1000001,
  "title": "Example Park",
  "description": "A made-up example description.",
  "location": {
    "lat": 51.5,
    "lon": -0.1,
    "country": "Exampleland",
    "city": "Example City"
  }
}
```

---

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/
