Census API: Examples for /data/2012/ecnpetrstat
Geography HierarchyGeography LevelExample URLNumber
4 examples
stateN/Ahttps://api.census.gov/data/2012/ecnpetrstat?get=NAICS2012_TTL,GEO_TTL,ST,GEO_ID,ESTAB&for=state:*&OWNERTYPE=001&NAICS2012=4247101&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/ecnpetrstat?get=NAICS2012_TTL,GEO_TTL,ST,GEO_ID,ESTAB&for=state:02&OWNERTYPE=001&NAICS2012=4247101&key=YOUR_KEY_GOES_HERE
usN/Ahttps://api.census.gov/data/2012/ecnpetrstat?get=NAICS2012_TTL,GEO_TTL,ST,GEO_ID,ESTAB&for=us:*&OWNERTYPE=001&NAICS2012=4247101&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/ecnpetrstat?get=NAICS2012_TTL,GEO_TTL,ST,GEO_ID,ESTAB&for=us:00&OWNERTYPE=001&NAICS2012=4247101&key=YOUR_KEY_GOES_HERE