Census API: Examples for /data/2017/ecnloccons
All data queries to the Census Data API now require an API key.
Please cut and paste the Example Calls below into your web browser and replace YOUR_KEY_GOES_HERE with your personal API Key.
If you do not have an API Key, request one
here
Geography Hierarchy
Geography Level
Example URL
Number
5 examples
(default geography)
N/A
https://api.census.gov/data/2017/ecnloccons?get=NAME,NAICS2017_LABEL,ESTAB&NAICS2017=23&EMPSZFE=001&key=YOUR_KEY_GOES_HERE
us
010
https://api.census.gov/data/2017/ecnloccons?get=NAME,NAICS2017_LABEL,ESTAB&for=us:*&NAICS2017=23&EMPSZFE=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnloccons?get=NAME,NAICS2017_LABEL,ESTAB&for=us:1&NAICS2017=23&EMPSZFE=001&key=YOUR_KEY_GOES_HERE
state
040
https://api.census.gov/data/2017/ecnloccons?get=NAME,NAICS2017_LABEL,ESTAB&for=state:*&NAICS2017=23&EMPSZFE=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2017/ecnloccons?get=NAME,NAICS2017_LABEL,ESTAB&for=state:01&NAICS2017=23&EMPSZFE=001&key=YOUR_KEY_GOES_HERE