I am an editor at Wikivoyage (world travel guide), and for each city we list all embassies and consulates available in that city. Our problem is that this information quickly becomes out-of-date.

Where to find up-to-date information about embassies and consulates of all countries, in all cities?

For each item, we would need (in order of importance):

  • Country that runs the embassy/consulate
  • Address in which the embassy/consulate is (at least city/country)
  • Name (for instance "Consulate General of Germany" or "Taipei Economic and Cultural Office"). Bonus if the name is available in various languages (local language, country's language, others)
  • Website
  • Latitude/longitude
  • Phone
  • Office hours

Data must be reusable under the Creative Commons Attribution-ShareAlike License.

  • As @ user2361174 said in a comment, most of the data is broken regarding the target country and the addresses. Is there a way to get the nearest address based on the polygon coordinates?
    – trexgris
    Oct 8, 2018 at 14:04
  • Please give me 5 examples which have broken target country, because I believe all the data is correct regarding target country. Thanks!
    – Nicolas Raoul
    Oct 9, 2018 at 6:41
  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
    – user4293
    Oct 9, 2018 at 8:16
  • @NicolasRaoul I was refering to OpenMaps and the overpass API, not your database (Not sure if you meant that?). Anyway, if you check this request overpass-turbo.eu/s/CEZ You will see that some embassies' data dont have the same format as the one mentioned in @philshem♦ post.
    – trexgris
    Oct 10, 2018 at 17:30

4 Answers 4


For a wider listing of diplomatic entities, consider using Open Street Maps.

For example, you can use the Tag: amenity=embassy. This data source includes the following dimensions:

  "tags": {

With 5,600 objects including consulates, missions, embassies (as of Dec 2014).

enter image description here

To test it out, you can use the overpass-turbo API.

enter image description here

And the corresponding JSON data:

enter image description here

  • Wonderful! So, if I understand correctly, the Argentinian embassy in Switzerland is the consulate-tagged item that has country=AR and addr:country=CH. Unfortunately consulates don't seem to enjoy the same success, with only 57 occurrences: taginfo.openstreetmap.org/tags/amenity=consulate#overview
    – Nicolas Raoul
    Dec 8, 2014 at 11:34
  • 1
    Yes, that's the Argentinian Embassy in Bern, Switzerland. I think many consulates are tagged with amenity=embassy (i.e. openstreetmap.org/way/24525106 ). Data quality can only improve for this type of project!
    – philshem
    Dec 8, 2014 at 12:12
  • I've tried to used OSM, but it appears that a lot of the data is broken. Out of those 5,600 objects, only ~1,100 appear to have a country and target to them. Also TagInfo doesn't actually have any data for the tags that Embassies use... Feb 8, 2017 at 5:02

Wikidata has a lot of data about embassies and consulates.

I created a Python+SPARQL script that pulls that data and maintains an easy-to-consume CSV file. You can download the CSV file at https://database-of-embassies.github.io.

Data sample:

France;http://www.wikidata.org/entity/Q142;United States of America;http://www.wikidata.org/entity/Q30;United States of America;http://www.wikidata.org/entity/Q30;Washington, D.C.;http://www.wikidata.org/entity/Q61;;38.9137;-77.0779;+1-202-944-6000;;http://www.ambafrance-us.org/;FranceInTheUs;franceintheus;UCbq_AyHPdsFDCFgGrjSeMKQ;http://commons.wikimedia.org/wiki/Special:FilePath/France%2C%20Washington.JPG;;CC-BY-SA-3.0;http://creativecommons.org/licenses/by-sa/3.0/;embassy;http://www.wikidata.org/entity/Q3917681;;http://www.wikidata.org/entity/Q2841718

The GitHub page also lists things that you can easily do to help improve the data.

I would say the Wikidata data is more structured than OpenStreetMap data, for instance consulates are clearly marked as such. The CSV file currently contains 6365 diplomatic representations, though not all with coordinates.

enter image description here

License: Public domain

A nice plus is the pictures, which can for instance be used as thumbnails:

enter image description here

The URL, license, author of each embassy/consulate's picture are also present as columns in the CSV file.

  • 1
    awesome dude good job!
    – ziggy
    Sep 13, 2016 at 1:45
  • I've tried to run your query but I get this error: Query is malformed: Encountered " <INTEGER> "5960338859003578441 "" at line 1, column 1. Feb 8, 2017 at 4:57
  • 1
    @user2361174: It is fixed now.
    – Nicolas Raoul
    Jun 27, 2018 at 2:56

Official lists maintained by government bodies:

United States

The dc.gov (Washington, DC) has a dataset for all embassies in Washington, DC:

This data.gov dataset lists all US embassies/consulates in the World:


This open.canada dataset lists all Canadian embassies/consulates in the world:

This dataset gives details on Canada embassies/consulates in the US:

You can get a quarterly publication from the Canadian government on all embassies/consular in Canada via email by subscribing here:


This data.gov.au dataset lists all Embassies/Consulars in Australia:

This government site lists the location of all Australian embassies/consulates in the world:

United Kingdom

This data.gov.uk dataset lists all the locations of UK Embassies/Consulates in the World:


Chinese Embassies:

Chinese Consulates General:

United Nations?

My opinion, if the UN does not provide/maintain such a dataset (I have not seen one), then you will be dependent on getting up-to-date information on a per country basis.


Just to detail my findings about Andrew's first link (embassies in Washington, DC):

The data file can be found at http://geospatial.dcgis.dc.gov/dc_kmz/Culture_and_Society/DCG9_Miscellaneous_EmbassyPt/DCG9_Miscellaneous_EmbassyPt/DCG9_Miscellaneous_EmbassyPt.kmz

Once unzipped, open the doc.kml file, it contains such an item for each embassy:

<Placemark id="497" >
   <style type="text/css">HTML{font-family: Arial;font-size: 14px;}.popupBackground{width: Auto;height: Auto;margin: 10px 10px 10px;background-repeat: no-repeat;}.TOCName{text-align: center;font-weight: bold;margin-bottom: 10px;}.contentDiv{height: Auto;width:350px;}.leftSpan{width: 200px;float:left;}.rightSpan{}.dataGrid{border-collapse: collapse;padding: 1px;margin-bottom: 8px;}.dataGrid, .dataGrid th, .dataGrid td{border: solid 1px #bfbfbf;padding: 1px 1px 1px 1px;}.dataGridLeftTD{width: 150px;}.dataGridRightTD{}.bottomLinks{color: #365f91;text-decoration: underline;cursor: pointer;white-space:nowrap;}.ProvidedBy{white-space:nowrap;}</style>
   <div class="popupBackground"><div class="contentDiv"><div class="TOCName">Embassies </div><div><span class="leftSpan">Feature Class Name:</span> <span class="rightSpan">EmbassyPt </span></div><div style="margin-bottom: 8px;"><span class="leftSpan">Last Data Update:</span> <span class="rightSpan">20130704</span></div>
   <table class="dataGrid" width="100%">
   <tr><td class="dataGridLeftTD">COUNTRY</td><td class="dataGridRightTD">Yemen</td></tr>
   <tr><td class="dataGridLeftTD">ADDRESS</td><td class="dataGridRightTD">2319 WYOMING AVENUE NW</td></tr>
   <tr><td class="dataGridLeftTD">CITY</td><td class="dataGridRightTD">Washington</td></tr>
   <tr><td class="dataGridLeftTD">STATE</td><td class="dataGridRightTD">DC</td></tr>
   <tr><td class="dataGridLeftTD">TELEPHONE</td><td class="dataGridRightTD">(202) 965-4760</td></tr>
   <tr><td class="dataGridLeftTD">EMBASSY TITLE</td><td class="dataGridRightTD">Embassy of the Republic of Yemen</td></tr>
   <table border="0" width="100%">
   <tr><td><img src="http://geospatial.dcgis.dc.gov/DC_KMZ/dclogo.gif"  alt="DCGIS" border="none" /></td><td class="ProvidedBy" style="text-align: right">Provided By:</td><td class="bottomLinks"><a href='http://dcgis.dc.gov' target='_blank' >DC GIS</a></td><td class="bottomLinks"><a href="#497;flyto">Fly To Me</a></td></tr>
 <Snippet maxLines="0"></Snippet>
 <Point  id="g177">

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.