• Installs:
  • Today: 0
  • All Time: 37200

GeoDB Cities.Cities

Find cities, filtering by optional criteria. If no criteria are set, you will get back all known cities with a population of at least 1000.

Test This Block

Optional Parameters
  • limit
    Query string
    The maximum number of results to retrieve
  • countryIds
    Query string
    Only cities in these countries (comma-delimited country codes or WikiData ids)
  • includeDeleted
    Query string
    Whether to include any cities marked deleted: ALL | SINCE_YESTERDAY | SINCE_LAST_WEEK | NONE
  • minPopulation
    Query string
    Only cities having at least this population
  • namePrefix
    Query string
    Only cities whose names start with this prefix. If languageCode is set, the prefix will be matched on the name as it appears in that language.
  • location
    Query string
    Only cities near this location. Latitude/longitude in ISO-6709 format: ±DD.DDDD±DDD.DDDD
  • radius
    Query string
    The location radius within which to find cities
  • distanceUnit
    Query string
    The unit of distance to use: MI | KM
  • offset
    Query string
    The zero-ary offset into the results
  • excludedCountryIds
    Query string
    Only cities NOT in these countries (comma-delimited country codes or WikiData ids)
  • sort
    Query string
    How to sort the results. Format: ±SORT_FIELD,±SORT_FIELD where SORT_FIELD = countryCode | elevation | name | population
  • timeZoneIds
    Query string
    Only cities in these time-zones
  • asciiMode
    Query string
    Display results using ASCII characters
  • languageCode
    Query string
    Display results in this language
  • hateoasMode
    Query string
    Include HATEOAS-style links in results
Show Optional Parameters
TEST Function

Nice try, But you still have to Log in.
Meanwhile, you can enjoy this limerick:

"A programming genius called HEAP
Had trouble in getting to sleep
So he made his lambs troup
through a huge FOR-NEXT loop
FOR 1 TO 10000: NEXT sheep."

Sign in to get the snippet
Sign In
GeoDB Cities
$ / m
We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.

Oops, we are missing some details

Looks like there are a few missing details that you haven't filled in yet.
These details are important and will help us protect you and let you know about anything new.


Why sign up to RapidAPI?

  • integrate
    Integrate APIs into your app
    Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
  • keys
    Save all API keys in one place
  • notifications
    Get notifications about API changes
  • stats
    Get stats and monitor API connections
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view


    esccloses this view