Census API: Examples for /data/2012/cbp
Geography HierarchyGeography LevelExample URLNumber
12 examples
(default geography)N/Ahttps://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&NAICS2012=00&key=YOUR_KEY_GOES_HERE
us010https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=us:*&NAICS2012=00&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=us:00&NAICS2012=00&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=state:*&NAICS2012=00&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=state:01&NAICS2012=00&key=YOUR_KEY_GOES_HERE
statecounty050https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=county:*&NAICS2012=00&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=county:*&in=state:*&NAICS2012=00&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=county:001&in=state:01&NAICS2012=00&key=YOUR_KEY_GOES_HERE
metropolitan statistical area/micropolitan statistical area310https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:*&NAICS2012=00&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:10100&NAICS2012=00&key=YOUR_KEY_GOES_HERE
combined statistical area330https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=combined%20statistical%20area:*&NAICS2012=00&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2012/cbp?get=NAME,GEO_ID,NAICS2012_LABEL,LFO,EMPSZES,ESTAB&for=combined%20statistical%20area:104&NAICS2012=00&key=YOUR_KEY_GOES_HERE