Skip to content

Countries & Cities API

Provides population and geographical data for countries and cities. Use it to get detailed information on populations, locations, flags, currencies, capitals, and more. Access endpoints to retrieve single city data, country codes, and other related details. No API key required.

Open documentation ↗
AuthHTTPSNo CORSGeocoding

Checked 4 days ago: not responding

API key

Unconfirmed

HTTPS

Supported

Browser calls

No, needs a proxy

Status

Failing · 45/100

What our checks found

Health score
45/100
Reliability
100%
Average latency
569ms

Last checked 2026-09-18. Measured independently, not self-reported by the provider.

How to call it

A starting template for Countries & Cities API. Replace ENDPOINT with the path from the official documentation, which we link above rather than guess at.

# Authentication requirement is unconfirmed. Check the documentation before relying on this.
curl -s "https://documenter.getpostman.com/ENDPOINT" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Accept: application/json"

This API does not send CORS headers, so a browser will block a direct call from your front end. Call it from your server, or put a small proxy in front of it.

Where this listing comes from

Aggregated from one public source (freepublicapis), then normalised and checked by us. If something here is wrong, tell us and we will correct it.

Other Geocoding APIs

See all 174

Airtel IP

Geocoding

IP Geolocation API. Collecting data from multiple sources

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

Geocode.xyz

Geocoding

Provides worldwide forward/reverse geocoding, batch geocoding and geoparsing

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

Geocode.xyz

Geocoding

Provides worldwide forward/reverse geocoding, batch geocoding and geoparsing

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

IBGE

Geocoding

Aggregate services of IBGE (Brazilian Institute of Geography and Statistics)

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

ip.app

Geocoding

IP, ASN, geolocation, timezone, security, user-agent in plain text, JSON or HTTP headers

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

ipapi.co

Geocoding

Find IP address location information

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

Countries & Cities API — common questions

Answered from what our own scheduled checks found, not from the provider's marketing.

Is Countries & Cities API free to use?

Countries & Cities API is listed in our free catalogue, but it requires some form of authentication, so you will need to register before your first call. Providers frequently reserve higher limits and commercial use for paid plans.

Does Countries & Cities API need an API key?

Countries & Cities API requires some form of authentication. Check the provider's documentation for which scheme it expects.

Can I call Countries & Cities API from browser JavaScript?

Not directly. Countries & Cities API did not return CORS headers when we checked, so the browser will block your page from reading the response even though the request itself succeeds. Call it from a server, or put a small proxy in front of it.

Is Countries & Cities API still working?

Not at our last check on 2026-09-18. Countries & Cities API did not respond successfully, which is why it is marked as down here. This may be temporary; we re-check on a schedule and the badge above reflects the most recent run.

Is Countries & Cities API available over HTTPS?

Yes. Countries & Cities API serves over HTTPS, so you can call it from a secure page without triggering a mixed-content block.