Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

131
Visualizações
Zip code validation to match City and State

Hi I have a registration form, and on the address details we require the user to input it's State, City and Zipcode.

My problem is I need to verify the Zipcode if it is the correct Zipcode on the Users State and City.

Example.

If user put's Minnesota (State), Bloomington (City) so if user puts 55437 it should be a valid zipcode. But the tricky part is that some City have multiple Zipcodes so I need to have a data for all of the Zipcode available on that City.

I tried google api geocoding but the return from the API is not consistent. Can anyone suggest on what API or package that is best for this? or Some data where I can store on my DB so that I'll have reference for all the City and Zipcodes.

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

You could use https://www.zipcodeapi.com/. This call https://www.zipcodeapi.com/API#locToZips gives you possible zip codes for a city. There is a free version and a low cost version.

about 4 years ago · Juan Pablo Isaza Relatório

0

You can use this data or maybe search for another free zipcode resource. Hope this helps.

https://github.com/midwire/free_zipcode_data

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda