Skip to content
OSINTtools.io

Wikimapia API

Long-running wiki map where users outline and describe places; useful for historical labels, especially in Eastern Europe.

Base URL
https://api.wikimapia.org
Sign-in
API key
Free tier
Free tier
Format
REST
Endpoints
4

Compiled by OSINTtools.io editors from wikimapia.org · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with Wikimapia and copy your api key (free tier). Where to get it

  2. Make your first request

    Full-text search for places, optionally near a point.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.wikimapia.org/?function=place.search&q=Example%20Park&key=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

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

Authentication

Send your API key in the key query parameter of every request.

Create a key on the site's Create key page.

Get a key from Wikimapia

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Free tier.

Places

Places closest to a point, with distance.

GET/?function=place.getnearest

  • Passive: the target is not contacted

Supports category filters, page and count.

Query parameters

latnumberrequired

Latitude

Example: 51.5
lonnumberrequired

Longitude

Example: -0.1
categorystring

Category filter

Example: 123
pageinteger

Page number

Example: 1Default: 1
countinteger

Results per page, 5 to 100

Example: 20Default: 50
formatstring

Output format

Example: jsonDefault: xmlOne of: xml, kml, json, jsonp
Response fields · 4Show

idinteger

Place ID (per result item)

titlestring

Place title

urlstring

Place page URL

distancenumber

Distance from the point

curl 'https://api.wikimapia.org/?function=place.getnearest&lat=51.5&lon=-0.1&key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

  • Passive: the target is not contacted

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

Query parameters

bboxstringrequired

lon_min,lat_min,lon_max,lat_max

Example: -0.2,51.4,-0.1,51.5
categorystring

Category filter

Example: 123
pageinteger

Page number

Example: 1Default: 1
countinteger

Results per page, 5 to 100

Example: 20Default: 50
formatstring

Output format

Example: jsonDefault: xmlOne of: xml, kml, json, jsonp
Response fields · 4Show

idinteger

Place ID (per result item)

titlestring

Place title

urlstring

Place page URL

polygonarray

Place outline

curl 'https://api.wikimapia.org/?function=place.getbyarea&bbox=-0.2%2C51.4%2C-0.1%2C51.5&key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "id": 1000003,
  "title": "Example Square",
  "url": "http://wikimapia.org/1000003/Example-Square"
}
  • 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.

Query parameters

idintegerrequired

Place ID

Example: 1000001
data_blocksstring

Comma-separated blocks to include

Example: main,location
formatstring

Output format

Example: jsonDefault: xmlOne of: xml, kml, json, jsonp
languagestring

ISO 639-1 language code

Example: en
Response fields · 4Show

idinteger

Place ID

titlestring

Place title

descriptionstring

Place description (main block)

locationobject

Coordinates, country, state, city and street (location block)

curl 'https://api.wikimapia.org/?function=place.getbyid&id=1000001&key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "id": 1000001,
  "title": "Example Park",
  "description": "A made-up example description.",
  "location": {
    "lat": 51.5,
    "lon": -0.1,
    "country": "Exampleland",
    "city": "Example City"
  }
}