Federal Spending Forensic API icon

Federal Spending Forensic API

Forensic federal spending intelligence - Uncover the $195B USASpending blind spot

Agency Profile

AI-generated

Summary

Fetches federal agency spending profiles and GAO findings via the Apify federal spending forensic actor.

Inputs

  • agency — Filter by federal agency. Defaults to 'all' (all agencies). Select specific agencies from the list as needed.
  • fiscalYear — Federal fiscal year (October 1 – September 30). Defaults to 2025; valid range 2015–2026.
  • waitForCompletion — Whether to wait for the actor run to complete before returning results. Defaults to true. When false, returns immediately with a run ID for later status checking.
  • advancedOptions — Collection of optional advanced parameters. Includes recipientName, recipientState, placeOfPerformanceState, pscCode, enableForensicFlags, traceSubAwards, and timeout.

Output shape

When waitForCompletion is true: an array of items, each containing the actor's raw dataset results augmented with _operation, _runId, and _datasetId properties. When waitForCompletion is false: a single item { success: true, status: 'RUNNING', runId, datasetId, operation, message: 'Extraction started. Use Get Run Status to check progress. }`.

Results are fetched from the Apify dataset associated with the started run. Each result item represents one record from the actor's default dataset.

Examples

Example 1: Get agency spending profiles for the Department of Defense for fiscal year 2024, waiting for completion.

Set agency to 'Department of Defense', fiscalYear to 2024, leave waitForCompletion at true (default).

Links

Discussion