Census API: Examples for /data/2012/ecncomp

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
usN/Ahttps://api.census.gov/data/2012/ecncomp?get=GEO_TTL,ST,GEO_ID,ESTAB,RCPTOT&for=us:*&NAICS2007=42&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/ecncomp?get=GEO_TTL,ST,GEO_ID,ESTAB,RCPTOT&for=us:00&NAICS2007=42&key=YOUR_KEY_GOES_HERE
stateN/Ahttps://api.census.gov/data/2012/ecncomp?get=GEO_TTL,ST,GEO_ID,ESTAB,RCPTOT&for=state:*&NAICS2007=42&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/ecncomp?get=GEO_TTL,ST,GEO_ID,ESTAB,RCPTOT&for=state:02&NAICS2007=42&key=YOUR_KEY_GOES_HERE