{"id":29515,"date":"2020-05-01T18:32:26","date_gmt":"2020-05-01T10:32:26","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=29515"},"modified":"2020-05-01T16:43:52","modified_gmt":"2020-05-01T08:43:52","slug":"zip-code-api-developers","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/","title":{"rendered":"Free Zip Code &amp; Radius API For Web Developers"},"content":{"rendered":"<p>The United States is <strong>full of zip codes<\/strong> regulated by the USPS. These can pose a confusing mess to organize manually.<\/p>\n<p>The free <strong><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/www.zipcodeapi.com\/\">Zip Code API<\/a><\/strong> is way simpler and it makes <strong>pulling zip codes<\/strong> a breeze. At the moment it <strong>only works for the United States<\/strong> but it could easily expand worldwide given enough traction.<\/p>\n<figure><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/www.zipcodeapi.com\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/zip-code-api-developers\/01-zip-code-api-homepage.jpg?newedit\" alt=\"zip code api homepage\" width=\"800\" height=\"397\"><\/a><\/figure>\n<p>One reason you might use this API is to pull <strong>related zip codes from a surrounding area<\/strong>. This could be used for a <a href=\"https:\/\/www.hongkiat.com\/blog\/50-freelance-job-sites-for-designers-programmers-best-of\/\">job search website<\/a> or a housing\/real estate web app.<\/p>\n<p>The opportunities are almost endless considering this API <strong>goes much further than single digits<\/strong>. Here are just <strong>a few common uses<\/strong>:<\/p>\n<ul>\n<li>Convert zip code to city\/town<\/li>\n<li>Convert city\/town to zip code<\/li>\n<li>Pull zip codes from a nearby radius<\/li>\n<li>Find the distance between two zip codes<\/li>\n<li>Organize a list of zips ordered closest to each other<\/li>\n<\/ul>\n<p>Because this is such a massive API it <strong>does have data caps<\/strong>. You could always <strong><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/www.zipcodeapi.com\/Plans\">get a paid plan<\/a><\/strong> but I\u2019m a big fan of <strong>free content<\/strong>.<\/p>\n<p>With the free plan, you get <strong>1,200 API requests <em>per day<\/em><\/strong> which should be more than enough for simple applications. If you\u2019re hoping to make money with your site then you can <strong>always upgrade later<\/strong>.<\/p>\n<p>However, you can sign up for a free API plan and <strong>never pay a dime<\/strong>. Every account <strong>gets its own API key\/secret combo<\/strong> to attach into one application. From there, you can <strong>pass API endpoints<\/strong> based on zip code data, distances, or related zips based on radius.<\/p>\n<p>The <strong><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/www.zipcodeapi.com\/API\">documentation page<\/a><\/strong> has more info if you\u2019re looking for <strong>a place to start<\/strong>. One cool feature is the <strong><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/www.zipcodeapi.com\/RealTime\">real-time map<\/a><\/strong> which shows <strong>how many API requests<\/strong> are being pulled at any given second.<\/p>\n<figure><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/www.zipcodeapi.com\/RealTime\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/zip-code-api-developers\/02-real-time-api-map-zipcodes.jpg?newedit\" alt=\"zip codes api\" width=\"800\" height=\"513\"><\/a><\/figure>\n<p>Since this is <strong>still a newer tool<\/strong>, it doesn\u2019t have that much activity. But you only need to watch for a few seconds to catch <strong>live API calls in action<\/strong>.<\/p>\n<p>This is definitely one of the coolest APIs I\u2019ve ever seen, including the <a href=\"https:\/\/www.hongkiat.com\/blog\/display-w3c-data-using-web-api\/\">W3C API<\/a>. If you\u2019re ever creating a website that needs to <strong>pull dynamic zip code data<\/strong> this API is free for 1,200 requests daily.<\/p>\n<p>You can <strong>tinker with ideas<\/strong> on the <strong><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/www.zipcodeapi.com\/Examples\">examples page<\/a><\/strong> and <strong>get started<\/strong> by checking out the <strong><a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/www.zipcodeapi.com\/API\">API settings<\/a><\/strong>.<\/p>","protected":false},"excerpt":{"rendered":"<p>The United States is full of zip codes regulated by the USPS. These can pose a confusing mess to organize manually. The free Zip Code API is way simpler and it makes pulling zip codes a breeze. At the moment it only works for the United States but it could easily expand worldwide given enough&hellip;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3393],"tags":[511],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Free Zip Code &amp; Radius API For Web Developers - Hongkiat<\/title>\n<meta name=\"description\" content=\"The United States is full of zip codes regulated by the USPS. These can pose a confusing mess to organize manually. The free Zip Code API is way simpler\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Free Zip Code &amp; Radius API For Web Developers\" \/>\n<meta property=\"og:description\" content=\"The United States is full of zip codes regulated by the USPS. These can pose a confusing mess to organize manually. The free Zip Code API is way simpler\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-01T10:32:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/zip-code-api-developers\/01-zip-code-api-homepage.jpg?newedit\" \/>\n<meta name=\"author\" content=\"Jake Rocheleau\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jake Rocheleau\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/\"},\"author\":{\"name\":\"Jake Rocheleau\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\"},\"headline\":\"Free Zip Code &amp; Radius API For Web Developers\",\"datePublished\":\"2020-05-01T10:32:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/\"},\"wordCount\":389,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/zip-code-api-developers\\\/01-zip-code-api-homepage.jpg?newedit\",\"keywords\":[\"Web Developers\"],\"articleSection\":[\"Toolkit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/\",\"name\":\"Free Zip Code &amp; Radius API For Web Developers - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/zip-code-api-developers\\\/01-zip-code-api-homepage.jpg?newedit\",\"datePublished\":\"2020-05-01T10:32:26+00:00\",\"description\":\"The United States is full of zip codes regulated by the USPS. These can pose a confusing mess to organize manually. The free Zip Code API is way simpler\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/zip-code-api-developers\\\/01-zip-code-api-homepage.jpg?newedit\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/zip-code-api-developers\\\/01-zip-code-api-homepage.jpg?newedit\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/zip-code-api-developers\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Free Zip Code &amp; Radius API For Web Developers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/966b2daea15283b4145e71aa98a82c2a\",\"name\":\"Jake Rocheleau\",\"description\":\"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/jake\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Free Zip Code &amp; Radius API For Web Developers - Hongkiat","description":"The United States is full of zip codes regulated by the USPS. These can pose a confusing mess to organize manually. The free Zip Code API is way simpler","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/","og_locale":"en_US","og_type":"article","og_title":"Free Zip Code &amp; Radius API For Web Developers","og_description":"The United States is full of zip codes regulated by the USPS. These can pose a confusing mess to organize manually. The free Zip Code API is way simpler","og_url":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2020-05-01T10:32:26+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/zip-code-api-developers\/01-zip-code-api-homepage.jpg?newedit","type":"","width":"","height":""}],"author":"Jake Rocheleau","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Jake Rocheleau","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/"},"author":{"name":"Jake Rocheleau","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a"},"headline":"Free Zip Code &amp; Radius API For Web Developers","datePublished":"2020-05-01T10:32:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/"},"wordCount":389,"commentCount":0,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/zip-code-api-developers\/01-zip-code-api-homepage.jpg?newedit","keywords":["Web Developers"],"articleSection":["Toolkit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/","url":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/","name":"Free Zip Code &amp; Radius API For Web Developers - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/zip-code-api-developers\/01-zip-code-api-homepage.jpg?newedit","datePublished":"2020-05-01T10:32:26+00:00","description":"The United States is full of zip codes regulated by the USPS. These can pose a confusing mess to organize manually. The free Zip Code API is way simpler","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/zip-code-api-developers\/01-zip-code-api-homepage.jpg?newedit","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/zip-code-api-developers\/01-zip-code-api-homepage.jpg?newedit"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/zip-code-api-developers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Free Zip Code &amp; Radius API For Web Developers"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/966b2daea15283b4145e71aa98a82c2a","name":"Jake Rocheleau","description":"Jake is a writer and designer with over 10 years experience working on the web. He writes about user experience design and cool resources for designers","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/jake\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-7G3","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=29515"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29515\/revisions"}],"predecessor-version":[{"id":50147,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29515\/revisions\/50147"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=29515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=29515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=29515"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=29515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}