Census API: Examples for /data/2012/ecnlocmine

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 HierarchyGeography LevelExample URLNumber
4 examples
us010https://api.census.gov/data/2012/ecnlocmine?get=NAME,GEO_TTL,NAICS2012_TTL,NAICS2012_LABEL,ESTAB&for=us:*&EMPSZES=001&NAICS2012=21&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/ecnlocmine?get=NAME,GEO_TTL,NAICS2012_TTL,NAICS2012_LABEL,ESTAB&for=us:1&EMPSZES=001&NAICS2012=21&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/2012/ecnlocmine?get=NAME,GEO_TTL,NAICS2012_TTL,NAICS2012_LABEL,ESTAB&for=state:*&EMPSZES=001&NAICS2012=21&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/ecnlocmine?get=NAME,GEO_TTL,NAICS2012_TTL,NAICS2012_LABEL,ESTAB&for=state:01&EMPSZES=001&NAICS2012=21&key=YOUR_KEY_GOES_HERE