Census API: Examples for /data/2020/cbp

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
16 examples
us010https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=us:*&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=us:1&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=state:*&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=state:01&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
statecounty050https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=county:*&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=county:*&in=state:*&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=county:001&in=state:01&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
metropolitan statistical area/micropolitan statistical area310https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:*&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:10100&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
combined statistical area330https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=combined%20statistical%20area:*&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=combined%20statistical%20area:104&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
statecongressional district500https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=congressional%20district:*&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=congressional%20district:*&in=state:*&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=congressional%20district:01&in=state:01&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
zip code861https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=zip%20code:*&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/cbp?get=NAME,NAICS2017_LABEL,ESTAB,PAYANN,PAYQTR1,EMP&for=zip%20code:90210&NAICS2017=00&LFO=001&EMPSZES=001&key=YOUR_KEY_GOES_HERE