USA Spending
Retrieve government spending (USASpending) for public companies. Filter by symbol and date range (actionDate). Only recent data is available via the API.
Use Case: Identify companies that win government contracts for defense, aerospace, or education research.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol (e.g. LMT, BA). |
from | string | Yes | From date YYYY-MM-DD (filter actionDate). |
to | string | Yes | To date YYYY-MM-DD (filter actionDate). |
Response
Success returns200 OK with a JSON object containing a data array of spending records (e.g. symbol, recipientName, totalValue, actionDate, awardingAgencyName, awardDescription, permalink), and symbol.
Errors: 400 when symbol or dates are missing, 401 unauthorized, 404 when no data found, 500 server error.Authorizations
OAuth2 Bearer token: obtain an access token from the token endpoint and send it in the Authorization header.
Query Parameters
Stock ticker to query. Send the plain uppercase symbol exactly as you'd type it on a brokerage screen, e.g. AAPL, MSFT.
"AAPL"
Start of the date window, inclusive. Format: YYYY-MM-DD (e.g. 2024-01-01).
"2024-01-01"
End of the date window, inclusive. Format: YYYY-MM-DD (e.g. 2024-12-31).
"2024-12-31"