Skills
在 Duaer 里查美国联邦机构预算
在 Duaer 里:USAspending 提供的美国联邦各机构当前财年预算授权、已承付金额与实际支出。一次成功查询用 1 额度。
能拿到什么
每条结果含 agency、abbreviation、toptierCode、fiscalYear、fiscalQuarter、budgetAuthorityUsd、obligatedUsd、outlaysUsd 等字段,并附来源链接。
密钥
调用前先获取 Duaer 密钥.
调用技能
下面这段是给智能体复制的英文技能,和数据市场里的复制内容相同。
---
name: duaer-usaspending
description: >-
Duaer US federal agency budgets. Budget authority, obligations, and outlays of US federal agencies for the current fiscal year, from USAspending.
One successful search uses 1 Duaer credit.
---
# Duaer US federal agency budgets
Duaer US federal agency budgets lists US federal agencies with their current fiscal year budget authority, obligations, and outlays from USAspending, largest first.
## When to use
- Rank US agencies by budget.
- Get one agency’s share of federal spending.
## When not to use
- Regulations and notices. Use https://skills.duaer.com/federal-register.md.
- Company finances. Use https://skills.duaer.com/sec-filings.md.
## Call
`GET https://api.duaer.com/v1/data/usaspending?sort=budget&limit=5`
Header: `Authorization: Bearer <Duaer key>`
Use an account key or a model API key.
Get a Duaer key: https://skills.duaer.com/keys.md
## Parameters
Provide `sort` or `words`.
- `sort` — `budget`, `obligated`, or `outlays`. Largest first.
- `words` — Optional. Agency name or abbreviation, such as defense or NASA.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.
## Examples
- `GET https://api.duaer.com/v1/data/usaspending?sort=budget&limit=5` — the five largest agencies by budget authority.
- `GET https://api.duaer.com/v1/data/usaspending?words=NASA` — NASA’s budget and outlays.
## Result
The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:
- `agency`, `abbreviation`, `toptierCode` — agency and its codes.
- `fiscalYear`, `fiscalQuarter` — reporting period.
- `budgetAuthorityUsd`, `obligatedUsd`, `outlaysUsd` — US dollars.
- `shareOfTotalPct` — share of all federal budget authority.
Fields without a value are left out.
## Credits
A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.
## Related
- https://skills.duaer.com/federal-register.md — Duaer US Federal Register
- https://skills.duaer.com/imf.md — Duaer IMF indicators