Default
USA Spending
Changed onGet a list of government's spending activities from USASpending dataset for public companies. This dataset can help you identify companies that win big government contracts which is extremely important for industries such as Defense, Aerospace, and Education.
get/stock/usa-spending
Request
- Base URLhttps://finnhub.io/api/v1
- AuthAPI key in query parameter token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
symbolstring required
Symbol.
fromstring date required
From date <code>YYYY-MM-DD</code>. Filter for <code>actionDate</code>
tostring date required
To date <code>YYYY-MM-DD</code>. Filter for <code>actionDate</code>
Response
successful operation
Example response
{
"symbol": "symbol",
"data": [
{
"totalValue": 0.8008282,
"symbol": "symbol",
"country": "country",
"awardingOfficeName": "awardingOfficeName",
"performanceCity": "performanceCity",
"recipientParentName": "recipientParentName",
"performanceCongressionalDistrict": "performanceCongressionalDistrict",
"performanceCounty": "performanceCounty",
"performanceStartDate": "performanceStartDate",
"awardingAgencyName": "awardingAgencyName",
"performanceCountry": "performanceCountry",
"performanceZipCode": "performanceZipCode",
"awardDescription": "awardDescription",
"performanceState": "performanceState",
"recipientName": "recipientName",
"awardingSubAgencyName": "awardingSubAgencyName",
"permalink": "permalink",
"actionDate": "actionDate",
"performanceEndDate": "performanceEndDate",
"naicsCode": "naicsCode"
},
{
"totalValue": 0.8008282,
"symbol": "symbol",
"country": "country",
"awardingOfficeName": "awardingOfficeName",
"performanceCity": "performanceCity",
"recipientParentName": "recipientParentName",
"performanceCongressionalDistrict": "performanceCongressionalDistrict",
"performanceCounty": "performanceCounty",
"performanceStartDate": "performanceStartDate",
"awardingAgencyName": "awardingAgencyName",
"performanceCountry": "performanceCountry",
"performanceZipCode": "performanceZipCode",
"awardDescription": "awardDescription",
"performanceState": "performanceState",
"recipientName": "recipientName",
"awardingSubAgencyName": "awardingSubAgencyName",
"permalink": "permalink",
"actionDate": "actionDate",
"performanceEndDate": "performanceEndDate",
"naicsCode": "naicsCode"
}
]
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking