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.
| 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). |
200 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.OAuth2 Bearer token: obtain an access token from the token endpoint and send it in the Authorization header.
Stock ticker symbol. Required.
"AAPL"
Start date (YYYY-MM-DD). Required.
"2024-01-01"
End date (YYYY-MM-DD). Required.
"2024-12-31"
USA spending data.
The response is of type object.