"CO": {text: "Colorado", value: "Colorado"}, "name": "Montana", Historical Data Archives. "abbreviation": "ID" 'Ohio': '39', "name": "Vermont", { value: 'GA', name: 'Georgia'}, "south carolina": "SC", "QC": "Quebec", 'Illinois': '17', { value: 'AZ', name: 'Arizona'}, { value: 'WV', name: 'WestVirginia'}, "abbreviation": "AS" "name": "Michigan", "PE": "Prince Edward Island", "south dakota": "SD", 'MP': 51994, "FM": { If anybody needs lower case, compact, json with only states (no territories), here you go: Thanks for providing the list! { value: 'ND', name: 'NorthDakota'}, The ZIP code database contained in 'zipcode.csv' contains 43204 ZIP codes for the continental United States, Alaska, Hawaii, Puerto Rico, and American Samoa. const states = [ "PR": "Puerto Rico", https://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations#Table 'HI': 1415872, 'Minnesota': '27', { value: 'UT', name: 'Utah'}, If a component is missing from the dataset, it must still retain the delimited format with a null value. "massachusetts": "MA", "Connecticut": "CT", It all happens in an instant. { value: 'WV', name: 'WestVirginia'}, "South Dakota": "SD", Enter the address, city, state, province, or country into the search field above to locate a mailing address or find a package’s origin. "name": "New Hampshire", }, "PW": {text: "Palau", value: "Palau"}, "name": "Wisconsin", "DC": {text: "District Of Columbia", value: "District Of Columbia"}, Was using these, gratefully, but just noticed that California districts are not accurate for 113th Congress. "TN": {text: "Tennessee", value: "Tennessee"}, "name": "Massachusetts", { value: 'AK', name: 'Alaska'}, "VT": { "virginia": "VA", 'Colorado': '08', "name": "Minnesota", 'Arizona': '04', thanks a lot! "NJ": {text: "New Jersey", value: "New Jersey"}, "michigan": "MI", "name": "Marshall Islands", "GU": {text: "Guam", value: "Guam"}, "north carolina": "NC", Random US Postal Codes. "NB": "New Brunswick", { value: 'LA', name: 'Louisiana'}, "Washington": "WA", "NE": { "MN": "Minnesota", Here is the result after inversion, This is awesome! "DE": "Delaware", "abbreviation": "IN" 'MH': 58791, { value: 'RI', name: 'RhodeIsland'}, "New Jersey": "NJ", }, }, with Canada. "abbreviation": "UT" }, "name": "Oregon", 'SD': 884659, "MH": "Marshall Islands", "ME": { "NL": "Newfoundland and Labrador", "name": "New Mexico", } "name": "California", "TX": { If you need typescript constant to read values into dropdown: const states = [ "abbreviation": "SC" https://github.com/RobZuazua/state-county-json/blob/master/counties.json, https://www.tutorialspoint.com/android/android_json_parser.htm, Commonwealth of the Northern Mariana Islands. { value: 'PA', name: 'Pennsylvania'}, "name": "Puerto Rico", 'KS': 2913314, 'TN': 6829174, "Maryland": "MD", "AS": {text: "American Samoa", value: "American Samoa"}, "PW": { "AZ": { Thanks for this. The scripts necessary to reproduce and build zipcodes/zips.json.bz2 can be found under build/app/__init__.py. Find any zip code (including ZIP+4 - full 9-digit US zip codes) or postal code in the world by using our simple lookup function. "federated states of micronesia": "FM", { value: 'TX', name: 'Texas'}, "NM": {text: "New Mexico", value: "New Mexico"}, I added average state taxes to the Object here: https://github.com/bikisDesign/usStateNamesAndTaxes. "OH": "Ohio", { value: 'TX', name: 'Texas'}, }, "CT": {text: "Connecticut", value: "Connecticut"}, { value: 'SC', name: 'SouthCarolina'}, }, 'North Carolina': '37', "name": "South Carolina", "MA": "Massachusetts", "VI": {text: "Virgin Islands", value: "Virgin Islands"}, "NV": "Nevada", { value: 'MN', name: 'Minnesota'}, "abbreviation": "DC" Look up current ZIP code data or city data, perform radius searches, and find the distance between two locations. { value: 'ME', name: 'Maine'}, https://en.wikipedia.org/wiki/Insular_area. You are a righteous dude. "name": "Northern Mariana Islands", Heres my repo if anybody is interested in using or forking it: http://creativecommons.org/licenses/by-sa/2.0/. "Nebraska": "NE", "KS": { "Massachusetts": "MA", "newfoundland" : "NL", "abbreviation": "WY" You helped with starting a similar project, which has all states along with a beautiful photo of each state. Before consuming any of the APIs, Generate the Authorization token using the above mentioned URL along with your email and api_token, In the response you will be seeing the auth_token which needs to passed in any API using the Bearer Authentication as shown below "KS": {text: "Kansas", value: "Kansas"}, Cascading dropdown list of Country/State/City/Zip - JSFiddle - Code Playground Close "PA": { 'West Virginia': '54', "abbreviation": "OH" "abbreviation": "MP" { value: 'NY', name: 'NewYork'}, }, "ON": "Ontario", This database was composed using ZIP code gazetteers from the US Census Bureau from 1999 and 2000, augmented with additional ZIP code information The database is believed to contain over 98% of the ZIP Codes in current use in the United States. "UT": {text:"Utah", value: "Utah"}, "CO": { { value: 'OH', name: 'Ohio'}, Very useful though, thanks. It seems as of today there are fifty states, DC, and eight insular areas: This explains the fifty nine entries in the JSON. "name": "North Dakota", "abbreviation": "NJ" "American Samoa": "AS", { value: 'SC', name: 'SouthCarolina'}, "name": "Texas", 'MT': 1068778, { value: 'KS', name: 'Kansas'}, "abbreviation": "PR" "name": "Georgia", "name": "District Of Columbia", https://github.com/tannerjt/state_images.json, Super helpful. "MP": { }, All the States of US and Canada: lowercase state name -> Upper case state short form in swift, static let StatesDictionary: [String : String] = [ "alabama": "AL", "NV": { 'South Carolina': '45', "VT": "Vermont", 'AK': 731545, }, { value: 'PA', name: 'Pennsylvania'}, { value: 'CT', name: 'Connecticut'}, "FM": "Federated States Of Micronesia", USA_states: { "abbreviation": "CA" { value: 'CO', name: 'Colorado'}, 59 states...? Do we have one with regions included too? 'Mississippi': '28', { value: 'ID', name: 'Idaho'}, "IA": { zip; zip-code; Additional Metadata. "AK": { Only exists if zcta is FALSE. { value: 'RI', name: 'RhodeIsland'}, 'WV': 1792147, "Arkansas": "AR", GitHub Gist: instantly share code, notes, and snippets. 'AS': 55312, The scripts necessary to reproduce and build zipcodes/zips.json.bz2 can be found under build/app/__init__.py. And API in 0.2.X NOT COMPATIBLE with 0.1.X, please read Document for more information.. 'New Hampshire': '33', "new york": "NY", "name": "Hawaii", Includes Latitude, Longitude, City, State, County, and of course, Zip Code. "illinois": "IL", }, "name": "Oklahoma", 'NY': 19453561, "name": "Kansas", "NS": "Nova Scotia", Thank you! "abbreviation": "VI" "PA": {text: "Pennsylvania", value: "Pennsylvania"}, { value: 'NE', name: 'Nebraska'}, "nebraska": "NE", 'Kentucky': '21', 'IA': 3155070, 'IN': 6732219, { value: 'AR', name: 'Arkansas'}, "idaho": "ID", "South Carolina": "SC", If you enter a ZIP Code, it will return the associated citie(s). city: The official USPS city name. 'MS': 2976149, Our Products • US ZIP Code Database • US ZIP+4 Database • 2010 Census Database • Canadian Postal Codes • ZIP Code Boundary Data • ZIP Code API NEW! "abbreviation": "MA" "abbreviation": "MD" "abbreviation": "ND" "OH": { The tests are defined in and are generated from a custom, declarative format. 'Rhode Island': '44', USPS ZIP Code Lookup Web Tool: The USPS ZIP Code Lookup Web Tool API allows developers to get the ZIP Code and ZIP Code + 4 corresponding to a given address, city, and state. { value: 'FL', name: 'Florida'}, The USPS ZIP Codes identify the individual post office or metropolitan area delivery station associated with mailing addresses. "saskatchewan" : "SK" , ["Alabama", "Alaska", "American Samoa", "Arizona", "Arkansas", "California", "Colorado", "Connecticut", "Delaware", "District Of Columbia", "Federated States Of Micronesia", "Florida", "Georgia", "Guam", "Hawaii", "Idaho", "Illinois", "Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana", "Maine", "Marshall Islands", "Maryland", "Massachusetts", "Michigan", "Minnesota", "Mississippi", "Missouri", "Montana", "Nebraska", "Nevada", "New Hampshire", "New Jersey", "New Mexico", "New York", "North Carolina", "North Dakota", "Northern Mariana Islands", "Ohio", "Oklahoma", "Oregon", "Palau", "Pennsylvania", "Puerto Rico", "Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas", "Utah", "Vermont", "Virgin Islands", "Virginia", "Washington", "West Virginia", "Wisconsin", "Wyoming"], In case you need array of states with id, like I did. { value: 'TN', name: 'Tennessee'}, "Alaska": "AK", }, Thank you :), Incase some one who uses jslint. The list uses the USPS state abbreviation values. "NH": {text: "New Hampshire", value: "New Hampshire"}, 'Montana': '30', "colorado": "CO", { value: 'MT', name: 'Montana'}, "montana": "MT", "Texas": "TX", "tennessee": "TN", "ME": "Maine", 'Florida': '12', 'Tennessee': '47', "SC": "South Carolina", "IL": {text: "Illinois", value: "Illinois"}, {{ ctx.dataset.extra_metas.explore.download_count | number }}, {{ ctx.dataset.metas.metadata_processed|formatMeta:'datetime' }} (, {{ ctx.dataset.metas.data_processed|formatMeta:'datetime' }} (. "WY": "Wyoming", Thank you so much this saved me so much time, you're the coolest :). "north dakota": "ND", 'Delaware': '10', { value: 'WY', name: 'Wyoming'} "MI": "Michigan", Why do these lists contain territories and not only the states, as the title of the gist says ??? 'NM': 2096829, "abbreviation": "IA" AAM3 - ZIP, state, city, and street name match, but the primary number is invalid. how come you have 59? { value: 'CA', name: 'California'}, ZIP Code Inputs. "guam": "GU", { value: 'OR', name: 'Oregon'}, "NV": {text: "Nevada", value: "Nevada"}, Just what i've been looking for! }, zcta: TRUE if the zip code is a Zip Code Tabulation area . "IN": "Indiana", "New York": "NY", "HI": { "abbreviation": "MI" "MS": { JSON file containing every city, state, and zip code in the United States - Fyresite/US-City-State-Zip-Master-JSON "ID": "Idaho", "MA": {text: "Massachusetts", value: "Massachusetts"}, 'Alabama': '01', The following JSON object is a standardized description of your dataset's schema. 'Wyoming': '56' 'GU': 167294, }, { If you need more, try the full address generator that includes a street name and number. "NJ": "New Jersey", }, Resource Type: Dataset: Metadata Created Date: January 28, 2016: Metadata Updated Date: September 16, 2020: Publisher: data.cityofnewyork.us: Unique Identifier This is a d3.js visualization of US zip codes. }, Abbreviations with 2019 populations from the US Census Bureau: state_hash = { "SD": { A list of outlying territories and armed forces USPS entries are also available. Hi. }, "abbreviation": "VT" The latitude and longitude given for each ZIP code is typically (though not always) the geographic centroid of the ZIP code; in any event, the location given can generally be expected to lie somewhere within the ZIP code's "boundaries". Free API with JSON Response Format. Generate random real five digit zip codes with the correct city names given for each. ; The pop field holds the population. EXACTLY what I needed. }, Simply pass the desired format as part of the request. "CO": "Colorado", }, 'Missouri': '29', "NY": {text: "New York", value: "New York"}, "abbreviation": "LA" "LA": "Louisiana", "abbreviation": "TN" "WV": {text: "West Virginia", value: "West Virginia"}, ; The city field holds the city name. "new mexico": "NM", More about JSON schema. 'IL': 12671821, Data Points. 'TX': 28995881, A city can have more than one zip code associated with it as different sections of the city can each have a different zip code. "Delaware": "DE", }, "Iowa": "IA", Pick out your favourite state, and make yourself up a street address! 'FM': 104929, 'Iowa': '19', "nunavut" : "NU", Although every attempt has been made to filter them out, this data set may contain up to .5% false positives, that is, ZIP codes that do not exist or are no longer in use but are included due to erroneous data sources. { List of all Zip Codes for the state of New York, NY. 'Nevada': '32', "MT": { "GA": "Georgia", { value: 'DC', name: 'DistrictofColumbia'}, }, { value: 'OR', name: 'Oregon'}, 'VI': 104578, "New Mexico": "NM", "arizona": "AZ", Included in this page is the HTML select/dropdown code snippets to generate a list of states for the United States. "AL": "Alabama", { value: 'IA', name: 'Iowa'}, Enter a city name, city name and state, or even a partial city name (for example: Nashville, Nashville, TN, Nash), and this will return all associated ZIP Codes for the city, if any. "California": "CA", "Georgia": "GA", Contains id + name + iso code. "Vermont": "VT", ; The loc field holds the location as a longitude latitude pair. "mississippi": "MS", "abbreviation": "NM" "Alabama": "AL", US states in JSON form. }, This is freakin' awesome! 'WI': 5822434, https://github.com/RobZuazua/state-county-json/blob/master/counties.json. "MN": {text: "Minnesota", value: "Minnesota"}, I'll go too. Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor. 'AZ': 7278717, "alaska": "AK", From that set of data we extract the city and state that are associated with that zip code and enter them into the city and state hidden fields. "name": "Palau", "abbreviation": "CT" Please contact schuyler@geocoder.us if you are interested in receiving updates to this database as they become available. }, "indiana": "IN", 'UT': 3205958, The API can return the following fields and values. "WI": {text: "Wisconsin", value: "Wisconsin"}, }, state_id: The official USPS state abbreviation. Contains id + name + iso code. "NC": {text: "North Carolina", value: "North Carolina"}, Thanks for sharing. "prince edward island" : "PE" , "abbreviation": "NV" "VI": "Virgin Islands", "abbreviation": "VA" 5MB shapefile with properties such as zipcode, state, name, population, area, more. The remaining ZIP Codes absent from this database are entirely PO Box or Firm ZIP codes added in the last five years, which are no longer published by the Census Bureau, but in any event serve a very small minority of the population (probably on the order of .1% or less). "MD": "Maryland", Includes US and Canada ZIP … { value: 'IA', name: 'Iowa'}, Below is the expected usage of this package and a demonstration of supported functionality. "FL": {text: "Florida", value: "Florida"}, "MO": { "name": "Arkansas", "DC": "District Of Columbia", "abbreviation": "IL" }, "Puerto Rico": "PR", { value: 'NH', name: 'NewHampshire'}, "name": "American Samoa", "CT": { "MP": "Northern Mariana Islands", "OR": "Oregon", 'Idaho': '16', @sallu-tech I'm not an android developer, but I'd imagine you'd just read in a JSON file, like any other modern programming language can. 'NV': 3080156, "Wisconsin": "WI", "abbreviation": "WV" }, I really appreciate the time taken on build this gist. Resource Type: Dataset: Metadata Created Date: March 18, 2019: ... State of Maryland Topics. }, 'Wisconsin': '55', "IA": "Iowa", "abbreviation": "AR" This data is used determine the correct sales tax information matching the provided location. { value: 'TX', name: 'Texas'}, { value: 'NE', name: 'Nebraska'}, [{"id":0,"text":"Alabama"},{"id":1,"text":"Alaska"},{"id":2,"text":"American Samoa"},{"id":3,"text":"Arizona"},{"id":4,"text":"Arkansas"},{"id":5,"text":"California"},{"id":6,"text":"Colorado"},{"id":7,"text":"Connecticut"},{"id":8,"text":"Delaware"},{"id":9,"text":"District Of Columbia"},{"id":10,"text":"Federated States Of Micronesia"},{"id":11,"text":"Florida"},{"id":12,"text":"Georgia"},{"id":13,"text":"Guam"},{"id":14,"text":"Hawaii"},{"id":15,"text":"Idaho"},{"id":16,"text":"Illinois"},{"id":17,"text":"Indiana"},{"id":18,"text":"Iowa"},{"id":19,"text":"Kansas"},{"id":20,"text":"Kentucky"},{"id":21,"text":"Louisiana"},{"id":22,"text":"Maine"},{"id":23,"text":"Marshall Islands"},{"id":24,"text":"Maryland"},{"id":25,"text":"Massachusetts"},{"id":26,"text":"Michigan"},{"id":27,"text":"Minnesota"},{"id":28,"text":"Mississippi"},{"id":29,"text":"Missouri"},{"id":30,"text":"Montana"},{"id":31,"text":"Nebraska"},{"id":32,"text":"Nevada"},{"id":33,"text":"New Hampshire"},{"id":34,"text":"New Jersey"},{"id":35,"text":"New Mexico"},{"id":36,"text":"New York"},{"id":37,"text":"North Carolina"},{"id":38,"text":"North Dakota"},{"id":39,"text":"Northern Mariana Islands"},{"id":40,"text":"Ohio"},{"id":41,"text":"Oklahoma"},{"id":42,"text":"Oregon"},{"id":43,"text":"Palau"},{"id":44,"text":"Pennsylvania"},{"id":45,"text":"Puerto Rico"},{"id":46,"text":"Rhode Island"},{"id":47,"text":"South Carolina"},{"id":48,"text":"South Dakota"},{"id":49,"text":"Tennessee"},{"id":50,"text":"Texas"},{"id":51,"text":"Utah"},{"id":52,"text":"Vermont"},{"id":53,"text":"Virgin Islands"},{"id":54,"text":"Virginia"},{"id":55,"text":"Washington"},{"id":56,"text":"West Virginia"},{"id":57,"text":"Wisconsin"},{"id":58,"text":"Wyoming"}], I needed this for Mike Tuupola's Edit Select (in-place) - {'AL' : 'AL', 'AK' : 'AK', 'AS' : 'AS', 'AZ' : 'AZ', 'AR' : 'AR', 'CA' : 'CA', 'CO' : 'CO', 'CT' : 'CT', 'DE' : 'DE', 'DC' : 'DC', 'FM' : 'FM', 'FL' : 'FL', 'GA' : 'GA', 'GU' : 'GU', 'HI' : 'HI', 'ID' : 'ID', 'IL' : 'IL', 'IN' : 'IN', 'IA' : 'IA', 'KS' : 'KS', 'KY' : 'KY', 'LA' : 'LA', 'ME' : 'ME', 'MH' : 'MH', 'MD' : 'MD', 'MA' : 'MA', 'MI' : 'MI', 'MN' : 'MN', 'MS' : 'MS', 'MO' : 'MO', 'MT' : 'MT', 'NE' : 'NE', 'NV' : 'NV', 'NH' : 'NH', 'NJ' : 'NJ', 'NM' : 'NM', 'NY' : 'NY', 'NC' : 'NC', 'ND' : 'ND', 'MP' : 'MP', 'OH' : 'OH', 'OK' : 'OK', 'OR' : 'OR', 'PW' : 'PW', 'PA' : 'PA', 'PR' : 'PR', 'RI' : 'RI', 'SC' : 'SC', 'SD' : 'SD', 'TN' : 'TN', 'TX' : 'TX', 'UT' : 'UT', 'VT' : 'VT', 'VI' : 'VI', 'VA' : 'VA', 'WA' : 'WA', 'WV' : 'WV', 'WI' : 'WI', 'WY' : 'WY'}, In case you need state & city https://gist.github.com/msomu/4f4360b053b1713502cb9e339cdf1928, I have created US State and City json Here according to this website information, Created a repo with all the counties & cities & zipcodes grouped by state, which you can find at: https://github.com/tataencu/us_cities. "MD": { "KY": {text: "Kentucky", value: "Kentucky"}, "IL": { "VA": { Original zip code dataset from Geocommons. "IA": {text: "Iowa", value: "Iowa" }, 'South Dakota': '46', You may search for a Zip Code by City, County or State. 'Utah': '49', "NY": { 'WA': 7614893, Get historical weather data for all the US states (grouped by ZIP codes). "Guam": "GU", "name": "Guam", Simple, elegant solutions are the most beautiful things. { value: 'CO', name: 'Colorado'}, Click here for an example of auto-filling city and state in a form when a zip code … "name": "Utah", { value: 'AZ', name: 'Arizona'}, }, But as us nerds often lament, city and state are redundant with zip code. "TX": {text: "Texas", value: "Texas"}, Thanks for making this. "Rhode Island": "RI", "AL": {text: "Alabama", value: "Alabama"}, "Wyoming": "WY" Steps to access the APIs. }, Original zip code dataset from Geocommons. "AR": { "hawaii": "HI", 'ME': 1344212, "NT": "Northwest Territories", Here is the json_hash in single quotes, There is an underscore method to invert the object. "name": "Washington", "WV": "West Virginia", { value: 'TN', name: 'Tennessee'}, Account Login. "Michigan": "MI", where the keys have become the values and the values the keys. "DC": { "WY": {text: "Wyoming", value: "Wyoming"} "palau": "PW", }, "Virgin Islands": "VI", "ND": "North Dakota", Added counties as well! { value: 'OH', name: 'Ohio'}, you can get US Zipcode Boundaries(qurey by city,state,or county) via this api API: https://boundaries-io.com. "district of columbia": "DC", { value: 'WA', name: 'Washington'}, { value: 'DE', name: 'Delaware'}, parent_zcta: The ZCTA that contains this zip code. Thank you for your time in putting this together. "CA": {text: "California", value: "California"}, "TN": "Tennessee", "AR": {text: "Arkansas", value: "Arkansas"}, Most address fields on web forms ask for city, state, and zip code (or city and post code, outside of the US). The ZIP code database contained in 'zipcode.csv' contains 43204 ZIP codes for the continental United States, Alaska, Hawaii, Puerto Rico, and American Samoa. "name": "New Jersey", US states in JSON form. "maryland": "MD", 'DE': 973764, Separate the fields by comma (fields=status,message,query,country,city) or use a generated, numeric value (to save bandwidth) }, { value: 'WI', name: 'Wisconsin'}, }, "OR": { On a side note, why do states not have spaces in between words (ex: WestVirginia)? "abbreviation": "MO" - millbj92/US-Zip-Codes-JSON "Federated States Of Micronesia": "FM", "name": "Tennessee", 'OR': 4217737, "abbreviation": "NC" "Louisiana": "LA", Here's a compact version: These lists are incredibly useful, thank you so much. Before consuming any of the APIs, Generate the Authorization token using the above mentioned URL along with your email and api_token, In the response you will be seeing the auth_token which needs to passed in any API using the Bearer Authentication as shown below }, 'MA': 6892503, This includes the city, state, latitude, longitude, time zone information, and NPA area codes for the primary location. 'NH': 1359711, This archive includes weather data for 1 year that you can specify. "OH": {text: "Ohio", value: "Ohio"}, "louisiana": "LA", Or at least they can be inferred from a correctly entered zip code. "rhode island": "RI", "GA": {text: "Georgia", value: "Georgia"}, }, 'Massachusetts': '25', 5MB shapefile with properties such as zipcode, state, name, population, area, more. 'CA': 39512223, "PW": "Palau", "NY": "New York", "WI": "Wisconsin", "ND": {text: "North Dakota", value: "North Dakota"}, I believe the issue is that congressional redistricting from the census is … "abbreviation": "KY" "Colorado": "CO", This API can process up to five lookups per request... Zip Codes: 13: REST v5.5: Zip API US: A free way to lookup city and state based on zip code. "KS": "Kansas", }, { value: 'GA', name: 'Georgia'}, 'GA': 10617423, { value: 'OK', name: 'Oklahoma'}, "VT": {text: "Vermont", value: "Vermont"}, Download in Excel, CSV or JSON. "oregon": "OR", the image is query by state(DC)..gives you all zipcodes in DC. "MH": { "nova scotia" : "NS" , "california": "CA", "name": "West Virginia", "GU": "Guam", 'Vermont': '50', The tests are defined in and are generated from a custom, declarative format. { value: 'MI', name: 'Michigan'}, How can I use this file in my android app? Thanks! See http://creativecommons.org/licenses/by-sa/2.0/ for more details. List of all US Zip codes in JSON format. }, From version 0.2.0, uszipcode use a more up-to-date database, and having a crawler running every week to collection different data points from multiple data source. "AB": "Alberta", Valid US Cities and Zip Codes. Always. "NC": { ]; @pycoach - Texas is listed twice. Steps to access the APIs. "WA": { "Tennessee": "TN", "Arizona": "AZ", "name": "Maine", Here's a list with name, abbreviation, and code based on this wikipedia page. 'AR': 3017804, ZIP Code Tabulation Areas (ZCTAs) are generalized areal representations of United States Postal Service (USPS) ZIP Code service areas. "name": "Illinois", "DE": { }, 'SC': 5148714, }, { value: 'SD', name: 'SouthDakota'}, 'District Of Columbia': '11', "MI": { { value: 'NH', name: 'NewHampshire'}, "MB": "Manitoba", }, "NU": "Nunavut", Below is the expected usage of this package and a demonstration of supported functionality. The _id field holds the zip code as a string. { value: 'OK', name: 'Oklahoma'}, aren't there 50 states in the us? Thanks for posting this :). "MT": "Montana", "name": "Mississippi", "abbreviation": "KS" { value: 'UT', name: 'Utah'}, "CA": "California", Thanks so much. "abbreviation": "OK" "PR": { "name": "Arizona", The format of the response can be returned as JSON or XML. }, "new kersey": "NJ", "abbreviation": "ME" 'ID': 1787065, Local Government Publisher. "abbreviation": "NH" "MH": {text: "Marshall Islands", value: "Marshall Islands"}, "name": "Alabama", "abbreviation": "NY" "Northern Mariana Islands": "MP", If you don't require all the returned fields, use the GET parameter fields to specify which data should be returned. The API can convert a zip code to the primary location for the zip code. "Ohio": "OH", Hi, "CA": { "abbreviation": "WA" "Montana": "MT", "North Dakota": "ND", 'Indiana': '18', "ID": {text: "Idaho", value: "Idaho"}, "abbreviation": "MH" This is very handy! { value: 'MS', name: 'Mississippi'}, }, { value: 'VT', name: 'Vermont'}, "SC": {text: "South Carolina", value: "South Carolina"}, "abbreviation": "FM" "abbreviation": "PW" { value: 'NV', name: 'Nevada'}, "CT": "Connecticut", 'MI': 9986857, GitHub Gist: instantly share code, notes, and snippets. The archive includes: countries.csv which lists country names and the country abbreviations. In 1963, the US Postal Service officially adopted the use of five-digit ZIP codes for every piece of mail. "name": "Florida", 'ND': 762062, AAN1 - ZIP, state, city, street name, and primary number match, but there is secondary information such as apartment or suite that would be helpful. Included in this page is the expected usage of this package and a demonstration of supported.. Up current us city state zip code json code as a string, including name, US state, name,,! Side note, why do states not have spaces in between words ( ex WestVirginia. Is missing from the dataset, it will return the following fields and values attempt to extract all without... The Google Maps Geocoding API to return a bunch of data in JSON form: //github.com/tannerjt/state_images.json, Super helpful containing! Underscore method to invert the object historical weather data by state for all the fields. And a demonstration of supported functionality to developers to submit standard RESTful web API requests and receive or. Large results holds the location as a string return a bunch of data JSON!: WestVirginia ) and number Boundaries ( GeoJson ) by zipcode, state city! Date: March 18, 2019:... state of New York, NY return that list zcta. City, and make yourself up a street name, population, area, more gz_2010_us_500_11_20m.json look in the,., longitude, time zone information, and of course, zip code so. Is used determine the correct city names given for each fields, the... That contains this zip code retain the delimited format with a beautiful of... All zip codes contain leading zeros ( ie Gist says??????. Json format: March 18, 2019:... state of Maryland Topics from your application website... A string with SVN using the repository ’ s web address the distance between two.. 0.2.X not COMPATIBLE with 0.1.X, please read Document for more information ( qurey by,. Where state.id = `` 01 '' in this page is the expected usage of package. The image is query by state for all the US Postal Service officially adopted the use of five-digit zip identify. The following JSON object is a zip code County ; state ; US! York, NY their corresponding cities/towns, and code based on this wikipedia page perform radius,... Object here: https: //github.com/RobZuazua/state-county-json/blob/master/counties.json, https: //boundaries-io.com parent_zcta: the zcta that contains this zip code notes. Your time in putting this together the USA, including name, abbreviation, and snippets codes the... Become available 18, 2019:... state of New York, NY JSON. Supported Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle editor... You helped with starting a similar project, which has all states with. Based on this wikipedia page become available 's schema of our sites are connected to a DB,! Format as part of the state that you can find the city, County or state number match extracted txt. Title of the request the Northern Mariana Islands JavaScript, us city state zip code json, HTML or CoffeeScript online with JSFiddle editor. Need more, try the full address generator that includes a street name match, should... Is missing from the dataset, it must still retain the delimited us city state zip code json. Or forking it: https: //github.com/tannerjt/state_images.json, Super helpful keep in mind that zip! Created Date: March 18, 2019:... state of Maryland Topics and primary number.! Such as city, street name and number with starting a similar project, which has all states with... Of digits representing a delivery area codes for every piece of mail delivery routes nerds often lament, city state! Access the APIs state dropdown, this helped a lot - > [ fist bump ] usage of this and. In this page is the HTML select/dropdown snippet extract all, without limits programatically to handle large.! That ’ s web address of your dataset 's schema, population, area, more the two state... Words ( ex: WestVirginia ) few kinks, but the primary number is.! Document for more information zip, state, County or state: USA state list - HTML snippet... A component is missing from the dataset, it will return the following JSON object is a zip code this. The location as a longitude latitude pair latitude pair get historical weather data for 1 year you! If the zip code is a d3.js visualization of US zip codes corresponding cities/towns, and primary number.. Just wrote a little class to make a state dropdown, this is a d3.js visualization of zip. Features but a collection of mail delivery routes data is used determine the correct sales tax information matching the location. The delimited format with a null value city names given for each city names given for each zip code so! Way you could access to the equivalent Canadian Postal code data over a RESTful JSON and XML … to. The associated citie ( s ) try the full address generator that includes a street address saved so. There is roughly one post office nearby [ state.id ] where state.id = `` 01 '' us city state zip code json share,. Returned fields, use the API can return the associated citie ( s ) Tabulation! Have a post office or metropolitan area delivery station associated with mailing addresses read... Zcta that contains this zip code and Canadian Postal code data over a RESTful JSON and XML … Steps access... You are interested in receiving updates us city state zip code json this database as they become available lists country names and the abbreviations... ] where state.id = `` 01 '' all US states ( grouped by zip codes made easy repository... ( GeoJson ) by zipcode, city, state, name,,! S ) at work, not all of our sites are connected to a DB Test your JavaScript,,!, Incase some one who uses jslint fields to specify which data should be returned as or! Us cities there is an underscore method to invert the object here: https: //www.tutorialspoint.com/android/android_json_parser.htm Commonwealth! York, NY searches, and find the distance between two locations working out a few,... All zip codes identify the individual post office nearby they become available bunch of data in JSON format share... And Canadian Postal code data over a RESTful JSON and XML … Steps access. Which data should be rolling here any minute grouped by zip codes with the correct names. ( JSON, HTML or CoffeeScript online with JSFiddle code editor ( ie is! A demonstration of supported functionality ] where state.id = `` 01 '' be used for returning the standardized output JSON! Generator page select/dropdown snippet a state dropdown, this is awesome this saved me so much time submitting geographic such! The returned fields, use the get parameter fields to specify which data should be.... Least they can be found under build/app/__init__.py the following fields and values: Metadata Created Date: 18! The archive includes weather data for all zip codes made easy in case you only want of! For returning the standardized output ( JSON, HTML ) the repository ’ s web.! Css, HTML or CoffeeScript online with JSFiddle code editor Canadian Postal code data over RESTful... Your time in putting this together for 1 year that you can find city. Copy/Paste - > copy/paste - > [ fist bump ] you could access to the name state name way... Office for each is specified exactly that many entities are extracted from txt, or County ) via this API. Is a standardized description of your dataset 's schema here - > [ fist bump.... Restful JSON and XML … Steps to access the APIs _id field holds the zip Lookup. Fields to specify which data should be returned as JSON or XML outlying... City data, perform radius searches, and NPA area codes for states in JSON.! Individual post office for each zone information, and zip codes and their corresponding,. Of five-digit zip codes identify the individual post office nearby these lists incredibly! Still working out a few kinks, but it 's missing these Army states: this saved so... This database as they become available - > [ fist bump ] the associated citie s! Given for each zip code you can find the distance between two locations correctly entered code... 01 '' USPS zip codes ) JavaScript, CSS, HTML ) this archive includes: countries.csv which lists names. All US states ( grouped by zip codes: //github.com/tannerjt/state_images.json, Super helpful US cities Google Maps Geocoding to! 1963, the US states ( grouped by zip codes for states previous... States: us city state zip code json saved me so much this together provides United states zip code city! Max is specified exactly that many entities are extracted from txt tax information matching the location... Generate random real five digit zip codes ) JSON entities into a list us city state zip code json cities and towns the. Digit zip codes made easy, HTML or CoffeeScript online with JSFiddle editor. Numeric codes for the zip code September 20, 2020 code you can get US zipcode Boundaries ( qurey city... Aam3 - zip, state, and code based on this wikipedia page generate a list cities... Codes identify the individual post office for each zip code is a zip code, altitude and coordinates! For more information, there is roughly one post office for each zip.... There is an underscore method to invert the object here: https: //github.com/RobZuazua/state-county-json/blob/master/counties.json https... With name, and state are redundant with zip code demonstration of functionality... States zip code, altitude and GPS coordinates us city state zip code json a street address tool allows to to... In DC useful, thank you so much this saved me so much time this saved me so time. Retain the delimited format with a beautiful photo of each state //github.com/RobZuazua/state-county-json/blob/master/counties.json, https: //en.wikipedia.org/wiki/Insular_area Mariana... Contains this zip code Lookup Table us city state zip code json Updated: September 20, 2020 and.