USAspending.gov Federal Awards Search (usaspending_awards): Deterministic MCP & Cached JSON Guide
Connect AI agents and backend pipelines to USAspending.gov Federal Awards Search (https://api.usaspending.gov) via https://devour-fin.fastmesh.dev/v1/organs/usaspending_awards/invoke and https://mcp.fastmesh.dev/mcp. Upstream JSON payloads are parsed deterministically with a 14-day cross-tenant cache.
1. Direct REST & MCP Invocation
curl -fsSL -X POST "https://devour-fin.fastmesh.dev/v1/organs/usaspending_awards/invoke" \
-H "Content-Type: application/json" \
-d '{"params": {"fields": ["Award ID", "Recipient Name", "Award Amount"], "filters": {"time_period": [{"start_date": "2024-01-01", "end_date": "2024-03-31"}], "award_type_codes": ["A", "B", "C", "D"]}, "limit": 3, "page": 1}}'
JSON-RPC 2.0 MCP call via https://devour-fin.fastmesh.dev/mcp or SuperBus https://mcp.fastmesh.dev/mcp (local upstream port 9053):
{
"jsonrpc": "2.0",
"id": 27,
"method": "tools/call",
"params": {
"name": "usaspending_awards",
"arguments": {
"fields": [
"Award ID",
"Recipient Name",
"Award Amount"
],
"filters": {
"time_period": [
{
"start_date": "2024-01-01",
"end_date": "2024-03-31"
}
],
"award_type_codes": [
"A",
"B",
"C",
"D"
]
},
"limit": 3,
"page": 1
}
}
}
2. Deterministic Normalized Output Contract
{
"ok": true,
"slug": "usaspending_awards",
"superbus_id": "fingov:usaspending_awards",
"hand_id": "fingov_usaspending_awards_v1",
"source": "USAspending.gov Federal Awards Search",
"verified": true,
"auth_mode": "public_no_auth",
"response_format": "json",
"cache_ttl_days": 14,
"cache_hit": true,
"upstream_calls": 0,
"charged_micros": 0,
"zero_charge_on_empty": true,
"decimal_fields": [
"Award Amount"
],
"receipt_sha256": "sha256_verified_evidence_digest",
"sample_schema_fields": [
"spending_level",
"limit",
"results[].internal_id",
"results[].Award ID",
"results[].Recipient Name",
"results[].Award Amount"
]
}
3. Covered Official Endpoints & Cache Policy
| Organ Slug | Official Source | Format | Cache TTL | Decimal Fields |
|---|---|---|---|---|
usaspending_awards | USAspending.gov Federal Awards Search | JSON | 14 days | Award Amount |
4. Engineering Guarantees & Anti-Fake-200 Controls
- SuperBus & Organ Identity: Exposed as MCP tool usaspending_awards (fingov:usaspending_awards on SuperBus, hand_id: fingov_usaspending_awards_v1) from U.S. Department of the Treasury / OMB.
- Upstream Endpoint: https://api.usaspending.gov/api/v2/search/spending_by_award/ (verified HTTP 200, auth: public_no_auth).
- Empty-Result $0 Rule: Treat results == [] as empty ($0 billing, do not cache).
- Header & Rate Policy: Public USAspending v2 API; bounded limit <= 100 per page. Required headers: {"User-Agent": "FinGovMCP/1.0 (+https://devour-fin.fastmesh.dev; compliance-bot@fastmesh.dev)", "Content-Type": "application/json"}.
- Cache & Second-Hit Economics: Verified hits are cached for 14 days; repeat hits consume 0 upstream requests.
- Decimal Fields: Lossless decimal.Decimal parsing on: Award Amount.
5. Prepaid Credit Tiers (Never Expire) & Agent Manifests
Start with the 5-second Try-Now explorer at devour-fin.fastmesh.dev or unlock high-volume cached throughput with Starter ($19), Pro ($79), or Scale ($249) prepaid packs.
skill.md · llms.txt · openapi.json · GET /v1/organs · sitemap.xml
Related FinGov & Regulatory MCP Guides
FastMesh FinGov Deterministic Engine (devour-fin.fastmesh.dev) ·
SuperBus: https://mcp.fastmesh.dev/mcp · Support: ops@fastmesh.dev