Production Ready

Cropgen World Location APIs

Global countries, states, and cities APIs for registration workflows. Built with Node.js, Express, and MongoDB.

How This Works

  1. Call /api/countries to render country dropdown.
  2. On country selection, call /api/states/:countryCode.
  3. On state selection, either search with /api/cities?state=XX&q=text or paginate with /api/cities/all.

Base URL

https://location.cropgenapp.com

Standard Response Shape

{
  "success": true,
  "data": [...]
}