Federal Spending Forensic API avatar

Federal Spending Forensic API

Pricing

from $25.00 / 1,000 results

Go to Apify Store
Federal Spending Forensic API

Federal Spending Forensic API

Uncover the $195 billion USASpending blind spot with forensic cross-referencing. Recompete Radar finds expiring contracts. Set-Aside Scanner accesses $150B+ small business market. SAM.gov integration included. Pay $0.03/result vs Bloomberg's $7,500/year.

Pricing

from $25.00 / 1,000 results

Rating

0.0

(0)

Developer

Jason Pellerin

Jason Pellerin

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

a month ago

Last modified

Share

๐Ÿ•ต๏ธ Federal Spending Forensic API

The official USASpending API has a $195 BILLION blind spot. This Actor uses forensic cross-referencing to find the "Dark Money" contracts 49 federal agencies forgot to report.

Apify License: MIT

๐ŸŽฏ The Problem

The federal spending transparency system is broken:

IssueImpactSource
49 agencies don't report to USASpending.gov>$5B in hidden spendingGAO-24-106214
$195 Billion COVID spending discrepancyTreasury vs. USASpending mismatchGAO-24-106214
$1.2 Trillion in awards not linked to key dataMissing disaster/emergency spending infoGAO-24-106214

Existing solutions either:

  • ๐Ÿ’ธ Cost $7,500+/seat (Bloomberg Gov, GovSpend)
  • ๐Ÿ˜ค Require complex POST requests with aggressive rate limits (Official API)
  • ๐Ÿ˜ด Passively scrape without forensic analysis (Other Apify actors)

๐Ÿ’ก The Solution

Fed-Money Recon doesn't just scrapeโ€”it audits:

"Stop fighting for the visible 70%โ€”snatch the 30% that requires forensic extraction."

๐Ÿ”ฅ Key Features

FeatureWhat It DoesWhy It Matters
๐Ÿ•ต๏ธ Dark Money DetectionCross-references USASpending with agency-direct dataFind contracts competitors don't know exist
๐Ÿšจ Discrepancy AlertsFlags when agency data doesn't match public APIFront-run the news cycle
๐Ÿ”— Sub-Award TracingMaps Prime โ†’ Sub contractor money flowFind tier-2/3 opportunities in Denver
๐Ÿ›๏ธ Missing Agency AlertsFlags the 49 GAO-identified under-reportersKnow when data is incomplete
โšก Instant B2G APINo registration, no rate limitsTarget Agency โ†’ JSON Output
๐Ÿค– LLM-Optimized OutputStructured for AI agentsPerfect for RAG pipelines

๐Ÿš€ Quick Start

{
"searchMode": "contracts",
"agency": "Department of Defense",
"fiscalYear": 2024,
"maxResults": 100,
"enableForensicFlags": true
}

Forensic Audit Mode

{
"searchMode": "forensicAudit",
"agency": "all",
"fiscalYear": 2024,
"maxResults": 500,
"enableForensicFlags": true,
"traceSubAwards": true,
"crossReferenceAgencyPortals": true,
"detectMissingAgencies": true,
"includeGaoFindings": true
}

Local Contractor Search (Denver Focus)

{
"searchMode": "contracts",
"recipientState": "CO",
"recipientCity": "Denver",
"fiscalYear": 2024,
"minAwardAmount": 100000,
"maxResults": 200
}

Sub-Award Chain Mapping

{
"searchMode": "subAwards",
"agency": "Department of Defense",
"fiscalYear": 2024,
"maxResults": 50
}

๐Ÿ“Š Output Structure

Contract Record (Detailed)

{
"awardId": "CONT_AWD_123456_9700_...",
"piid": "FA8501-24-C-0001",
"recipientName": "Lockheed Martin Corporation",
"recipientUei": "EXAMPLE1234567",
"awardAmount": 45000000,
"obligatedAmount": 12500000,
"awardDate": "2024-01-15",
"awardingAgency": "Department of Defense",
"awardingAgencyCode": "097",
"naicsCode": "541330",
"naicsDescription": "Engineering Services",
"description": "Advanced weapons system development...",
"forensicFlags": [
{
"type": "covid_spending_mismatch",
"severity": "warning",
"message": "COVID-related spending detected - GAO found $195B in COVID reporting discrepancies",
"source": "forensic_analysis",
"confidence": 75
}
],
"discrepancyScore": 35,
"placeOfPerformance": {
"city": "Denver",
"state": "CO",
"congressionalDistrict": "01"
},
"dataSource": "usaspending",
"extractedAt": "2024-01-20T10:30:00Z"
}

Discrepancy Alert

{
"agencyName": "Department of the Treasury",
"agencyCode": "TREAS",
"reportedAmount": 50000000000,
"actualAmount": 245000000000,
"discrepancy": 195000000000,
"discrepancyPercent": 390,
"gaoFlagged": true,
"confidenceScore": 90,
"source": "GAO-24-106214 - COVID-19 obligations discrepancy",
"details": "Known GAO-identified reporting discrepancy"
}

Forensic Report

The Key-Value Store contains a comprehensive FORENSIC_REPORT with:

  • Executive summary with total discrepancies
  • Top 10 highest-risk contracts
  • Missing agency alerts
  • Data quality scores
  • Actionable recommendations

๐ŸŽฏ Use Cases

1. ๐Ÿข B2G Startups

Problem: Can't afford $22k/year Bloomberg seat
Solution: Instant API access to contract intelligence with forensic flags

2. ๐Ÿ“ฐ Investigative Journalists

Problem: Need to audit federal spending for stories
Solution: Discrepancy alerts + missing agency detection = front-page material

3. ๐Ÿ”จ Government Contractors

Problem: Finding sub-award opportunities
Solution: Trace money flow from DoD โ†’ Prime โ†’ You

4. ๐Ÿค– AI Agents / LLMs

Problem: Need structured government data for RAG
Solution: LLM-optimized output format with consistent schema

๐Ÿ“ˆ Forensic Flag Types

Flag TypeSeverityDescription
missing_agency_dataWarningAgency is one of 49 GAO-identified under-reporters
discrepancy_detectedCriticalMismatch between USASpending and agency-direct data
gao_flaggedWarningGAO audit finding related to this agency/contract
retroactive_modificationInfoModified >180 days after the period of performance ended
amount_anomalyInfoSuspiciously round numbers or unusual patterns
covid_spending_mismatchWarningCOVID fundsโ€”GAO found $195B discrepancy
unlinked_awardInfoMissing NAICS/PSC codes (part of $1.2T unlinked)
sub_award_gapWarningSub-awards don't sum to prime award amount
fpds_discrepancyWarningField-level mismatch against FPDS-NG (only when FPDS actually responded)
fpds_not_foundInfoAward absent from FPDS-NG

late_reporting is retired as of 1.1.0. It compared Last Modified Date to Start Date and so fired on every contract running longer than a year. USASpending's search fields carry no first-reported timestamp, which means reporting lag is not derivable and the flag was not measuring what it named. retroactive_modification replaces it and measures something the data supports.

Reading the FPDS cross-reference

fpdsStatus is four-valued: matched, mismatched, not_found, unavailable. Only mismatched is a finding. unavailable means the lookup itself failed and carries no implication about the award, with the cause recorded in fpdsUnavailableReason. FPDS-NG currently serves HTML rather than JSON on this endpoint, so unavailable is the common result. fpdsMatch stays undefined whenever the check could not be performed, so absent verification is never confused with failed verification.

โšก Performance

MetricValue
Average extraction50-100 contracts/minute
Rate limit handlingAutomatic backoff
Forensic analysis<1ms per contract
Max results1,000 per run

๐Ÿ’ฐ Pricing

  • $0.03 per result (contracts, awards, agencies)
  • Minimum charge: $0.01

Far cheaper than Bloomberg Gov's $7,500/seat/year!

๐Ÿ”Œ n8n Integration

Install the companion n8n node for workflow automation:

$npm install n8n-nodes-federal-spending-forensic-api

See the n8n Integration Guide for workflow examples.

๐Ÿค API Reference

Endpoints Used

  • POST /api/v2/search/spending_by_award/ - Contract/award search
  • GET /api/v2/awards/count/subaward/{id} - Sub-award counts
  • POST /api/v2/subawards/ - Sub-award details
  • GET /api/v2/agency/{code}/ - Agency profiles

Rate Limiting

The official USASpending API has aggressive rate limits that return silent empty responses. This Actor implements:

  • Automatic request throttling (150ms minimum between requests)
  • Exponential backoff on 429 responses
  • Retry logic with jitter

๐Ÿ“š Data Sources

SourceTypeReliability
USASpending.govOfficial APIPrimary (with known gaps)
GAO-24-106214Audit reportForensic baseline
Agency Direct*Cross-referenceEnhanced (when enabled)

*Agency-direct cross-referencing is a premium feature requiring additional configuration.

๐Ÿ† Why Choose This Actor?

FactorOfficial APIBloomberg GovThis Actor
CostFree$7,500+/year$0.03/result
SetupComplex POST requestsSales call requiredInstant
Rate LimitsAggressiveN/AHandled automatically
Forensic AnalysisโŒLimitedโœ… Full
Missing Agency DetectionโŒโŒโœ… 49 agencies
Sub-Award TracingPainfulโœ…โœ… Automated
LLM-OptimizedโŒโŒโœ…

๐Ÿ“ž Support

๐Ÿ“œ License

MIT License - Use freely for commercial and non-commercial purposes.


Built with ๐Ÿ” by AI Solutionist | Uncovering the $195B blind spot