Countries and Capitals of the Americas

Selected countries and capitals in North and South America.

  • JSON5,097 B
  • YAML3,006 B · −41%
  • TOON2,092 B · −59%

The 35 sovereign states of North America, Central America, the Caribbean and South America with their capital cities. Countries whose seat of government differs from their constitutional capital are annotated.

Use it when

  • You need a country's capital in the Americas, or a complete list for validation.
  • You are building a quiz, a form dropdown or a geographic lookup.

Watch out for

  • Bolivia has two capitals (Sucre constitutional, La Paz seat of government), and the entry lists both.
  • Dependent territories such as Puerto Rico, Greenland and the Falkland Islands are not sovereign states and are not listed.

The data

CountryCapital
United StatesWashington, D.C.
CanadaOttawa
MexicoMexico City
BrazilBrasília
ArgentinaBuenos Aires
ColombiaBogota
PeruLima
ChileSantiago
CubaHavana
GuatemalaGuatemala City
EcuadorQuito
VenezuelaCaracas
BoliviaSucre (constitutional); La Paz (seat of government)
ParaguayAsuncion
UruguayMontevideo
Antigua and BarbudaSaint John's
BahamasNassau
BarbadosBridgetown
BelizeBelmopan
Costa RicaSan José
DominicaRoseau
Dominican RepublicSanto Domingo
El SalvadorSan Salvador
GrenadaSaint George's
GuyanaGeorgetown
HaitiPort-au-Prince
HondurasTegucigalpa
JamaicaKingston
NicaraguaManagua
PanamaPanama City
Saint Kitts and NevisBasseterre
Saint LuciaCastries
Saint Vincent and the GrenadinesKingstown
SurinameParamaribo
Trinidad and TobagoPort of Spain

Fields

The shape of this dataset, read from the data itself: every column, its type and a real value. Agents can use this to plan a query without fetching the whole document.

SectionFieldTypeExample
datacountrystringUnited States
datacapitalstringWashington, D.C.

Fetch the same bytes

The static files contain the same reference rows as the API, with no API rate limit. Live metadata, such as view counts, may differ. Use the API for content negotiation; use the static files for a cacheable snapshot.

curl "https://yjtoon.com/api/dataset/countries-capitals-americas?format=toon"
const res = await fetch(
  "https://yjtoon.com/static-data/dataset/countries-capitals-americas.toon"
);
const toon = await res.text();

Rate limit: 120 requests per minute per IP, no key and no signup. API reference →

Topics

  • geography
  • countries
  • capitals
  • americas

Search the library

Search by a topic, title, or keyword.

Start with a collection

Browse all 205 datasets