Census API: Examples for /data/2018/cbp
Geography HierarchyGeography LevelExample URLNumber
15 examples
(default geography)N/Ahttps://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&key=YOUR_KEY_GOES_HERE
us010https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=us:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=us:00&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=state:01&key=YOUR_KEY_GOES_HERE
statecounty050https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=county:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=county:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=county:001&in=state:01&key=YOUR_KEY_GOES_HERE
metropolitan statistical area/micropolitan statistical area310https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:10100&key=YOUR_KEY_GOES_HERE
combined statistical area330https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=combined%20statistical%20area:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=combined%20statistical%20area:104&key=YOUR_KEY_GOES_HERE
statecongressional district500https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=congressional%20district:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=congressional%20district:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2018/cbp?get=NAICS2017_LABEL,NAICS2017,GEO_ID,LFO,LFO_LABEL,EMPSZES_LABEL,EMPSZES,EMP&for=congressional%20district:01&in=state:01&key=YOUR_KEY_GOES_HERE