360 Secure SkillHub
360 安全技能中心

Usaspending

这是一款基于Python的美国联邦支出数据查询工具,无需API密钥,核心功能涵盖检索联邦奖项、受助方、顶级机构,查询奖项/受助方/机构详情,按类别、时间统计支出,列出CFDA项目等。典型场景包括联邦支出数据分析、合同调研、受助方背景核查等,通过CLI命令传参调用,默认输出JSON,仅依赖Python 3.10+标准库。

aiwithabidi
aiwithabidi
热度 49.16
最近更新 2026-05-10 17:41:45
分类:数据依赖:代码执行 / 第三方 API应用场景:数据处理 / 财务 / 研究 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add usaspending
Metadata
name
usaspending
description
USAspending.gov — federal spending data, contracts, grants, awards, agencies, and recipient search. No API key required.
homepage
https://www.agxntsix.ai
license
MIT
compatibility
Python 3.10+ (stdlib only — no dependencies)
metadata
{"openclaw":{"emoji":"🏛️","requires":{},"primaryEnv":"","homepage":"https://www.agxntsix.ai"}}

🏛️ USAspending

USAspending.gov — federal spending data, contracts, grants, awards, agencies, and recipient search. No API key required.

Requirements

No API key required for basic usage.

Quick Start

# Search federal awards
python3 {{baseDir}}/scripts/usaspending.py search-awards --keywords <value> --award-type "contracts" --limit "25" --page "1"

# Get award details
python3 {{baseDir}}/scripts/usaspending.py get-award <id>

# Search recipients
python3 {{baseDir}}/scripts/usaspending.py search-recipients --keyword <value> --limit "25"

# Get recipient details
python3 {{baseDir}}/scripts/usaspending.py get-recipient <id>

# List top-tier agencies
python3 {{baseDir}}/scripts/usaspending.py list-agencies

# Get agency details
python3 {{baseDir}}/scripts/usaspending.py get-agency --code <value>

# Spending by category
python3 {{baseDir}}/scripts/usaspending.py spending-by-category --category "awarding_agency" --filters "JSON"

# Spending over time
python3 {{baseDir}}/scripts/usaspending.py spending-over-time --group "fiscal_year" --filters "JSON"

# List CFDA programs
python3 {{baseDir}}/scripts/usaspending.py list-cfda

# Autocomplete search
python3 {{baseDir}}/scripts/usaspending.py autocomplete --search-text <value>

Output Format

All commands output JSON by default.

Script Reference

Script Description
{baseDir}/scripts/usaspending.py Main CLI — all commands in one tool

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation