List Cities
const url = 'https://indepai.app/api/v1/geo/cities?region=Western%20Europe&country=Portugal&maxCost=2000&minNomadScore=70&sort=cost&order=asc&limit=20&offset=0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://indepai.app/api/v1/geo/cities?region=Western%20Europe&country=Portugal&maxCost=2000&minNomadScore=70&sort=cost&order=asc&limit=20&offset=0'Get list of cities with cost of living and quality of life data
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Filter by region
Example
Western EuropeFilter by country
Example
PortugalMaximum monthly cost of living
Example
2000Minimum nomad score
Example
70Sort field
Example
nomadScoreSort order
Number of results
Example
20Offset for pagination
Responses
Section titled “Responses”List of cities
object
object
City identifier
City name
Country name
ISO 3166-1 alpha-2 country code
Geographic region
City coordinates
object
object
Total monthly cost of living (EUR)
Monthly housing cost (EUR)
Monthly food cost (EUR)
Monthly transportation cost (EUR)
Monthly utilities cost (EUR)
Monthly entertainment cost (EUR)
Other monthly costs (EUR)
object
Overall quality of life score (0-100)
Safety score (0-100)
Healthcare quality score (0-100)
Climate score (0-100)
Internet quality score (0-100)
English-friendliness score (0-100)
object
Top marginal income tax rate (%)
Capital gains tax rate (%)
Available special tax programs
Overall nomad-friendliness score (0-100)
object
Is in Schengen area
Offers digital nomad visa
Countries with visa-free access
Local currency code
Last data update timestamp
object
Example
{ "success": true, "data": [ { "id": "lisbon-portugal", "name": "Lisbon", "country": "Portugal", "countryCode": "PT", "region": "Western Europe", "coordinates": { "lat": 38.7223, "lng": -9.1393 }, "costOfLiving": { "monthlyTotal": 1800, "housing": 900, "food": 350, "transportation": 50, "utilities": 100, "entertainment": 200, "other": 200 }, "qualityOfLife": { "overall": 75, "safety": 80, "healthcare": 70, "climate": 85, "internet": 75, "englishFriendly": 70 }, "taxInfo": { "incomeTaxRate": 48, "capitalGainsTaxRate": 28, "specialPrograms": [ "NHR (Non-Habitual Resident)" ] }, "nomadScore": 82, "visaInfo": { "visaFreeFor": [ "US", "UK", "CA", "AU" ] }, "currency": "EUR" } ]}