Census API: Examples for /data/2012/ecncomp
Geography HierarchyGeography LevelExample URLNumber
4 examples
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
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