All appsMaps & Travel

Zippopotam.us API

Look up postal codes and zip codes from a workflow, in the 70 countries Zippopotam.us covers. No key needed. Call it from Lodol with no code and send what it returns to any other app.

actions
9

Actions

Steps a workflow can run in Zippopotam.us.

  • Look up a postal codeGet every place a postal code covers: the place name, the state and its abbreviation, and the coordinates as numbers rather than the strings the service sends. A code often covers more than one place, so all of them come back rather than a first one picked as the answer.
  • Check a postal codeCheck whether a postal code really exists in a country and get back a yes or a no rather than a failed step. A code that does not exist is an answer, and so is a country the service does not cover, so a workflow validating a form can branch on the result and say what to fix.
  • Check a postal code matches a placeCheck that a postal code and the city or state someone typed alongside it actually go together. The state is matched against its name and its abbreviation, so California and CA are the same answer. Answers rather than failing, and says what disagreed.
  • Find postal codes for a cityRun the lookup the other way round: give a country, a state and a city and get every postal code the city holds. US states and Canadian provinces written out in full are translated into the abbreviation the service wants. Or search the state by part of a name, and get every city it is part of, each with its codes.
  • Get coordinates for a postal codeGet one latitude and longitude as numbers a mapping, weather or routing step can use directly. A code covering several places returns the middle of them and says how many it averaged, or you can name a place to get that one place's point exactly.
  • Measure the distance between two postal codesMeasure how far apart two postal codes are, in kilometers and in miles, so a workflow can decide whether an address is inside a delivery radius or what to charge for shipping. The two codes can be in different countries.
  • Find the nearest postal codeGiven one postal code and a list of others, find which is closest, with all of them ranked by distance: the step that routes a lead to its nearest branch or picks the warehouse that should ship an order. A code in the list that does not exist is reported rather than failing the step.
  • Find nearby postal codesList the postal codes around one, nearest first, each with its places, its state and how far away it is in kilometers and miles, with no list of codes to give. Use it to widen a search to the neighboring area or sketch a delivery zone around an address.
  • List supported countriesList the 70 countries the service covers, with each one's two-letter code, the other names it answers to, an example postal code, the range it holds, how many codes that is and the form it stores them in. Makes no request.

Automate Zippopotam.us with Lodol.

Connect Zippopotam.us, then hand Lodol the job in Slack, Claude or ChatGPT.

Free plan, no credit card