GET
/healthService health and uptime check.
https://location.cropgenapp.com/health
Production Ready
Global countries, states, and cities APIs for registration workflows. Built with Node.js, Express, and MongoDB.
/api/countries to render country dropdown./api/states/:countryCode./api/cities?state=XX&q=text or paginate with
/api/cities/all.
https://location.cropgenapp.com
/healthService health and uptime check.
https://location.cropgenapp.com/health
/api/countriesReturns all countries sorted by name.
https://location.cropgenapp.com/api/countries
/api/states/:countryCodeReturns states for selected country code.
https://location.cropgenapp.com/api/states/IN
/api/cities?state=XX&q=text&limit=20Searches cities by state and text (case-insensitive).
https://location.cropgenapp.com/api/cities?state=MH&q=yavatmal
/api/cities/all?state=XX&page=1&limit=100Returns paginated city list for a state.
https://location.cropgenapp.com/api/cities/all?state=MH&page=1&limit=100
{
"success": true,
"data": [...]
}