Countries Cities

फ्रीमियम
द्वारा Geo API | अपडेट किया गया 15일 전 | Location
लोकप्रियता

9 / 10

लेटेंसी

151ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Response limit

Rapid account: R Vaccari
R-Vaccari
3년 전

Hello.
I’m testing the API with the free plan for an app I’m building. I’ve noticed that requesting cities from a country without additional parameters gives me 100 results, instead of all cities in the country. Why is there such a limit? It is not mentioned in the description or pricing pages.

Rapid account: Natkapral
natkapral Commented 2년 전

Hi,

You can do it by passing a query parameter: order_by=population
This will sort cities by population in ascending order.

Rapid account: Stef 5812
stef5812 Commented 2년 전

Does anyone know how to orderby popultion for example

Rapid account: Andriusjavait
andriusjavait Commented 2년 전

any chance get all cities in country ? or only you have to call 5 more request using links, anyway my point i want get all result not just 100? if its not possible i will unsiscibe because i paying a lot but not get functionality

Rapid account: Natkapral
natkapral Commented 3년 전

Hi,

Currently the system returns maximum 100 results per page for free users and 1000 for paid plans. Data includes cities and small towns If you use ‘page’ parameter you can retrieve all data page by page, Also you can use ‘min_population’ parameter to return only big cities by specifying the minimal population.

I would be able to provide more help if you can describe me your use case.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें