Bamwor World Data
## Bamwor World Data API The modern replacement for the CIA World Factbook, built for developers. ### What you get - **261 countries** with 20+ statistics per country (population, GDP, area, languages, currencies, and more) - **13.4 million cities** with coordinates, population, timezone, and elevation - **9 proprietary indexes** (IBEE, IBFM, IBDI, IBED, IBSA, IBEU, IBCP, IBDA, IBCX) — exclusive…
Bamwor World Data endpoints
| Method | Endpoint | Description |
|---|---|---|
| Countries | ||
| GET |
listCountries /api/v1/countries |
Returns a paginated list of 261 countries with basic info, coordinates, region, population, and area. |
| GET |
listCitiesByCountry /api/v1/countries/{slug}/cities |
Returns paginated cities for a country, sortable by population or name. Filter by minimum population or province. |
| GET |
getCountry /api/v1/countries/{slug} |
Returns complete country data including 20+ statistics (population, GDP, HDI, life expectancy, military, energy, internet usage, and more) with sources and years. |
| Cities | ||
| GET |
getNearbyCities /api/v1/cities/{id}/nearby |
Uses PostGIS ST_DWithin for accurate geographic radius search. Returns cities within the specified radius sorted by distance. |
| GET |
getCity /api/v1/cities/{id} |
Returns complete city data including coordinates, population, elevation, timezone, province, and parent country. |
| Search | ||
| GET |
search /api/v1/search |
Full-text search across 261 countries and 13.4M cities. Supports filtering by type. Results ranked by relevance and population. |
| Rankings | ||
| GET |
getRanking /api/v1/rankings/{slug} |
Returns countries ranked by a specific indicator. Supports filtering by region. |
| GET |
listRankings /api/v1/rankings |
Returns all available ranking indicators (population, area, GDP, HDI, life expectancy, etc.). |
Bamwor World Data pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $9.99 / month | — |
|
| ULTRA | $29.99 / month | — |
|
| MEGA | $99.99 / month | — |
|