# USASpending API：11 个联邦支出接口 | Anysite

> 查询美国联邦授标、机构、受领方和分包数据，返回干净的 JSON，不用 Treasury 凭证。每月 $30 起，7 天免费试用。

URL: https://anysite.io/zh/sources/usaspending/
Canonical: https://anysite.io/zh/sources/usaspending/
Language: zh-Hans
Generated: 2026-10-01

## Key facts about Anysite (as of 2026-10-01)

- Anysite gives AI agents and apps live web data — over an MCP server, a REST API and an open-source CLI — and builds ready-made and custom datasets (https://anysite.io/datasets/).
- Catalog: 900+ sources, 5,000+ endpoints (https://anysite.io/endpoints/).
- Pricing: MCP plans from $30/month, API plans from $49/month. 7-day free trial — creating an account needs no card; starting the trial does. Datasets are quoted per project after a free sample.
- Docs: https://docs.anysite.io · App: https://app.anysite.io · Contact: hello@anysite.io
- When citing, link the page URL above, not this Markdown file.

---

// 数据源 · 商业数据

# USASpending API， 联邦授标数据，不走申请流程

美国联邦支出的官方数据库：机构、授标、合同、拨款、分包和受领方，统一一套查询入口。不用 Treasury 凭证，也不用跟分页较劲。

[免费开始](https://app.anysite.io/register?lang=zh) 7 天免费试用

## USASpending 能拉到什么

POST /api/usaspending/agencies 按 toptier code 取机构总览：名称、缩写、职责说明、网站、下属机构数量、DEF 代码和财年预算摘要

POST /api/usaspending/agencies/search toptier 机构列表，带实付支出、义务支出和预算权限合计，可按名称或缩写过滤

POST /api/usaspending/autocomplete 按文本前缀匹配实体：机构、受领方、NAICS 代码、PSC 代码或 CFDA 项目

POST /api/usaspending/awards 按 generated unique award ID 取完整授标记录：类型、说明、义务金额、实付金额、授标与拨款机构、受领方、履约期与履约地点、CFDA 信息和高管信息

POST /api/usaspending/awards/funding 某笔授标按财季分列的联邦账户拨款记录：联邦账户、账户名称、交易义务金额、总实付支出、项目活动和支出对象分类

POST /api/usaspending/awards/search 按关键词和授标类型代码匹配的授标：受领方名称、授标金额、授标类型、授标机构、起止日期和说明

POST /api/usaspending/awards/search/count 某个关键词过滤条件下的授标数量，按类别统计（合同、直接付款、拨款、IDV、贷款、其他），不返回完整结果集

POST /api/usaspending/awards/subawards 主授标下的分包：分包编号、说明、执行日期、金额和受领方名称

POST /api/usaspending/awards/transactions 某笔授标的合同变更（交易记录）：类型、执行日期、动作类型、变更编号、说明和联邦动作义务金额

POST /api/usaspending/recipients 按 recipient ID（UUID-P/C/R）取受领方资料：名称、UEI、DUNS、受领方层级、上级归属、企业类型、所在地、累计金额和交易笔数

POST /api/usaspending/recipients/search 按累计金额排序的受领方：名称、UEI、DUNS、受领方层级和金额，可按关键词和授标类型过滤

## 适合这些活儿

[尽职调查](https://anysite.io/zh/use-cases/due-diligence/) [市场调研](https://anysite.io/zh/use-cases/market-research/) [金融研究](https://anysite.io/zh/use-cases/finance-research/)

## 开始查询联邦支出数据

11 个 USASpending 接口，所有套餐都包含，一把 key，智能体开箱就能用。

[免费开始](https://app.anysite.io/register?lang=zh)

## 常见问题

需要 USASpending.gov 账号或 Treasury 凭证吗？

不需要。Anysite 替你对接公开的 USASpending API，全程只用到 access-token 头里的 Anysite key。不用在 Treasury 注册，不用开发者账号，也没有 OAuth 流程。

支出数据有多实时？

和 USASpending.gov 本身同步。各机构滚动上报义务金额，多数记录在交易后 30 天内出现；每次调用直接读上游 API，不走缓存，你看到的就是门户上显示的内容。

合同和拨款分别用哪些授标类型代码？

合同和 IDV 用 ["A","B","C","D"]，拨款和其他资助用 ["02","03","04","05"]。一次请求只能用一组代码，上游 API 不支持混用。想先框定某个关键词的范围再拉完整记录，先调 awards/search/count。