# ds160.ai open data

## `us-visa-posts.json` / `us-visa-posts.csv`

Every U.S. embassy and consulate in the Department of State mission directory,
compiled into one machine-readable file with coordinates and the official
country page for each.

**243 posts across 179 countries. 242 carry coordinates.**

| Field | Notes |
| --- | --- |
| `country`, `country_slug` | Country name as the mission directory gives it |
| `region` | Blank for 18 microstates and territories, which carry no region in the source |
| `post_type` | Embassy, Consulate, Consulate General, or Institute |
| `city`, `address`, `phone` | As published by the mission |
| `latitude`, `longitude` | Geocoded from the published address; approximate. Null where the source gives no city (1 row) |
| `official_country_page` | usembassy.gov page for that country |

## Licence

The compilation is published under
[Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/).

Use it for anything, including commercially. The one condition is attribution:

> Compiled by ds160.ai — https://ds160.ai

The underlying facts are works of the U.S. Government and are not claimed here;
CC BY covers the compilation, geocoding and reconciliation only.

### Where it comes from

The Department of State publishes this directory as hundreds of separate pages.
The compilation, geocoding and reconciliation are ours; the underlying facts are
the U.S. Government's and are not claimed as property.

### What it is not

- **Not a list of posts currently issuing visas.** Consular operations are
  suspended or limited at some of these, and the file does not say which.
- **Not authoritative on addresses or phone numbers.** Missions change these
  without notice. Check the official page before relying on a row.
- **Not a substitute for the official directory.** It is a convenience copy with
  a date on it.

### Staleness

The file records the date it was generated. It will go out of date: USTravelDocs
silently restructured every country URL in September 2026 and broke 43 outbound
links on this site overnight, and the mission directory is no more stable.

Regenerate with `npm run build:dataset`, or
`node scripts/build-posts-dataset.mjs --verify` to re-check every derived
official-page URL over the network as well.

If you are citing this, cite the generated date with it.
