Census API: Examples for /data/2021/viuspuf

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
3 examples
(default geography)N/Ahttps://api.census.gov/data/2021/viuspuf?get=TABWEIGHT,AVGWEIGHT,BRAKES&FUELTYPE=20&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/viuspuf?tabulate=weight(TABWEIGHT)&col+BRAKES&row+AVGWEIGHT&FUELTYPE=20&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/2021/viuspuf?get=TABWEIGHT,AVGWEIGHT,BRAKES&for=state:*&FUELTYPE=20&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/viuspuf?tabulate=weight(TABWEIGHT)&col+BRAKES&row+AVGWEIGHT&for=state:*&FUELTYPE=20&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/viuspuf?get=TABWEIGHT,AVGWEIGHT,BRAKES&for=state:01&FUELTYPE=20&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/viuspuf?tabulate=weight(TABWEIGHT)&col+BRAKES&row+AVGWEIGHT&for=state:01&FUELTYPE=20&key=YOUR_KEY_GOES_HERE