API · /cities-api

World Cities API

healthy 3,371 Subscribers

Search a database of 33,000+ cities worldwide (population 15,000+) from GeoNames. Find cities by name, country and minimum population, look up a city by id, or find all cities near a coordinate (radius search). Each city includes coordinates, region, population, timezone and elevation — ideal for autocompletes, location pickers, store locators and geo dashboards.

api.oanor.com/cities-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/cities-api/openapi.json
/api/cities-api/llms.txt

Discovery: GET /api/index.json lists every API.

World Cities API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
74 ms
Server probes · 24h
Subscribers
3,371
active
Total calls
76
last 7 days
status Full status page → · 12 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 5,000 calls / month
  • 3 requests / second
  • Hard cap (429 above quota, no overage)
  • 5,000 calls/month
  • 3 req/sec
  • Search + nearby + lookup
  • No credit card
Sign in to subscribe

Starter

€7.00 /month

  • 150,000 calls / month
  • 12 requests / second
  • Hard cap (429 above quota, no overage)
  • 150k calls/month
  • 12 req/sec
  • All filters
  • Email support
Sign in to subscribe

Pro

€19.00 /month

  • 1,250,000 calls / month
  • 40 requests / second
  • Hard cap (429 above quota, no overage)
  • 1.25M calls/month
  • 40 req/sec
  • Autocomplete / radius search
  • Priority support
Sign in to subscribe

Mega

€52.00 /month

  • 8,000,000 calls / month
  • 120 requests / second
  • Hard cap (429 above quota, no overage)
  • 8M calls/month
  • 120 req/sec
  • Embed in product
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

OpenStreetMap Community API — oanor API marketplace

OpenStreetMap Community API

Live OpenStreetMap community and contribution data as an API — the people and the edits behind the collaborative free world map, served from the official OSM API. Look up any mapper by their user id for their profile (display name, account age, total changesets and GPS traces, roles), pull a user's recent changesets — each edit batch with its comment, the editor used, and how many map features it created, modified or deleted — or read the open and resolved map notes, the community feedback pins, inside a geographic bounding box. The OSM contributor-and-edits layer for mapping, community and dashboard apps. Live, no key. Distinct from geocoding, routing and map-tile APIs that merely consume OpenStreetMap data — this is the OSM community and editing activity itself.

api.oanor.com/openstreetmap-api

Meteorites API — oanor API marketplace

Meteorites API

NASA's catalogue of 45,000+ meteorites recovered on Earth as an API. For each meteorite: its name, NASA id, classification (recclass, e.g. L5, Iron), mass in grams, whether it was seen to fall or simply found, the year, and the latitude/longitude where it was recovered. Look one up by name or id, find the meteorites NEAR any coordinate (great-circle distance), rank by mass or year, list a classification or year, or search. Great for space, education, mapping and museum apps. Distinct from asteroids and close-approach data — these are rocks already on the ground.

api.oanor.com/meteorites-api

Time Zones API — oanor API marketplace

Time Zones API

Every IANA time zone with its coordinates and country, enriched in real time with the current UTC offset, abbreviation, DST status and local time (computed from the system ICU time-zone database — always up to date, no key). Look up a zone by name, list all zones for a country, search zones by name, or find the nearest IANA zones to any latitude/longitude. 418 zones across 247 countries/territories. Ideal for scheduling, calendars, logistics, geo apps and any feature that needs to map a place or coordinate to the right time zone and current local time.

api.oanor.com/timezones-api

Maidenhead Locator API — oanor API marketplace

Maidenhead Locator API

Convert between latitude/longitude and the Maidenhead Locator System — the grid-square "QTH locator" (like JN58td or IO91wm) used by amateur radio, APRS and contesting to describe a position compactly. The encode endpoint turns a latitude and longitude into a locator at 4-, 6-, 8- or 10-character precision. The decode endpoint turns a locator back into the centre coordinates, the south-west corner and the size of the grid square. The distance endpoint gives the great-circle distance (kilometres and miles) and bearing between the centres of two locators — the classic "how far and which way is that station". Everything is computed locally and deterministically, so it is instant and private. Ideal for amateur-radio and APRS tools, contest logging, antenna aiming, and grid-based mapping. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is the Maidenhead system; for Plus Codes, MGRS, UTM and DMS use a geo-convert API and for precise geodesic distance use a geodesy API.

api.oanor.com/maidenhead-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for World Cities API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call World Cities API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for World Cities API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does World Cities API cost?
World Cities API has a free tier with 100 calls / month. Paid plans start at €7.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is World Cities API GDPR-compliant?
All requests to World Cities API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/cities-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/cities-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/cities-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/cities-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.