Census API: Examples for /data/timeseries/govsstatefin

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
5 examples
(default geography)N/Ahttps://api.census.gov/data/timeseries/govsstatefin?get=NAME,YEAR,AMOUNT&ITEM_CODE=AGG&time=2024&GOVTYPE=002&AGG_DESC=SF0001&CATEGORY=01&key=YOUR_KEY_GOES_HERE
us010https://api.census.gov/data/timeseries/govsstatefin?get=NAME,YEAR,AMOUNT&for=us:*&ITEM_CODE=AGG&time=2024&GOVTYPE=002&AGG_DESC=SF0001&CATEGORY=01&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/timeseries/govsstatefin?get=NAME,YEAR,AMOUNT&for=us:1&ITEM_CODE=AGG&time=2024&GOVTYPE=002&AGG_DESC=SF0001&CATEGORY=01&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/timeseries/govsstatefin?get=NAME,YEAR,AMOUNT&for=state:*&ITEM_CODE=AGG&time=2024&GOVTYPE=002&AGG_DESC=SF0001&CATEGORY=01&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/timeseries/govsstatefin?get=NAME,YEAR,AMOUNT&for=state:04&ITEM_CODE=AGG&time=2024&GOVTYPE=002&AGG_DESC=SF0001&CATEGORY=01&key=YOUR_KEY_GOES_HERE