Census API: Examples for /data/2017/ecnbasic
Geography HierarchyGeography LevelExample URLNumber
23 examples
us010https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=us:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=us:1&NAICS2017=61&key=YOUR_KEY_GOES_HERE
region020https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=region:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=region:1&NAICS2017=61&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=state:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=state:24&NAICS2017=61&key=YOUR_KEY_GOES_HERE
statecounty050https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=county:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=county:*&in=state:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=county:001&in=state:01&NAICS2017=61&key=YOUR_KEY_GOES_HERE
stateconsolidated city170https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=consolidated%20city:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=consolidated%20city:*&in=state:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=consolidated%20city:47500&in=state:09&NAICS2017=61&key=YOUR_KEY_GOES_HERE
metropolitan statistical area/micropolitan statistical area310https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:12580&NAICS2017=61&key=YOUR_KEY_GOES_HERE
metropolitan statistical area/micropolitan statistical areametropolitan division314https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=metropolitan%20division:*&in=metropolitan%20statistical%20area/micropolitan%20statistical%20area:14460&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=metropolitan%20division:14454&in=metropolitan%20statistical%20area/micropolitan%20statistical%20area:14460&NAICS2017=61&key=YOUR_KEY_GOES_HERE
combined statistical area330https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=combined%20statistical%20area:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=combined%20statistical%20area:104&NAICS2017=61&key=YOUR_KEY_GOES_HERE
stateplaceE60https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=place:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=place:*&in=state:*&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=place:20525&in=state:24&NAICS2017=61&key=YOUR_KEY_GOES_HERE
stateplacecounty (or part)E65https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=county%20(or%20part):*&in=state:01%20place:48712&NAICS2017=61&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnbasic?get=NAICS2017_LABEL,NAME,GEO_ID&for=county%20(or%20part):001&in=state:01%20place:48712&NAICS2017=61&key=YOUR_KEY_GOES_HERE