What I want is an API that will give all the list of zip codes based on city/district name. Is there any API (Free or paid) available which can fulfill my requirement.
I want to build the following components in react.
- The user first selects the country.
- Then users select states within the country.
- After state selection, another dropdown shows list of cities/districts within that state.
- and finally the fourth dropdown which shows all the zip codes within that city.
I got npm packages for the country, states, and cities dropdown but I unable to find any API or npm packages for the zipcodes. Please suggest any API of npm-package.