Duaer

入门

在 Duaer 里查美国国会法案

在 Duaer 里:Congress.gov:美国国会的法案、决议与已成法的公法,含提出院别与最新进展。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「美国国会法案」:Congress.gov:美国国会的法案、决议与已成法的公法,含提出院别与最新进展。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 美国国会法案,或打开 数据市场。相关:美国国会议员、美国联邦法规文件。

适合做什么

  • 跟踪本届国会新提出的能源或税收法案。
  • 列出第 118 届国会通过的公法。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → US Congress bills。
  2. 填 Title Words(如 energy);Congress(如 118)、Bill Type(hr 或 s)、Laws Only(yes)可选。
  3. Limit 默认 10,最大 20。执行。

查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/congress-bills?words=energy
  • Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。

调用技能(英文)

与数据市场「复制技能」一致。

---
name: duaer-congress-bills
description: >-
  Duaer US Congress bills. Congress.gov: US bills, resolutions, and public laws with their sponsor chamber and latest action.
  One successful search uses 1 Duaer credit.
---

# Duaer US Congress bills

Duaer US Congress bills lists bills from Congress.gov, most recently updated first, with the latest action. Filter by Congress, bill type, or title words, or keep only bills that became law. Duaer holds the upstream API key; you only send your Duaer key.

## When to use

- Follow new energy or tax bills in the current Congress.
- List the public laws passed by the 118th Congress.

## When not to use

- Federal agency rules. Use https://skills.duaer.com/regulations.md.
- Daily Federal Register notices. Use https://skills.duaer.com/federal-register.md.

## Call

`GET https://api.duaer.com/v1/data/congress-bills?words=energy`

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 `congress`, `billType`, `lawsOnly`, or `words`.

- `congress` — Optional. Congress number such as 118. Default is the current Congress.
- `billType` — Optional. `hr`, `s`, `hjres`, `sjres`, `hconres`, `sconres`, `hres`, or `sres`.
- `lawsOnly` — Optional. `yes` to list only bills that became law.
- `words` — Optional. Words in the bill title, such as energy.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/congress-bills?words=energy` — recently updated bills about energy.
- `GET https://api.duaer.com/v1/data/congress-bills?congress=118&lawsOnly=yes` — public laws of the 118th Congress.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `congress`, `billType`, `number` — bill identity, such as 119 HR 9340.
- `billTitle`, `originChamber`, `introducedDate` — title, House or Senate, and date.
- `latestActionDate`, `latestAction` — the newest step, such as a vote or a referral.
- `updateDate` — when Congress.gov last changed the bill.

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/congress-members.md — Duaer US Congress members
- https://skills.duaer.com/regulations.md — Duaer Regulations.gov documents

常见问题

Duaer 的美国国会法案检索扣多少额度?

查到结果时扣 1 额度;没有结果或出错不扣。

Duaer 美国国会法案的“最新进展”是什么?

是 Congress.gov 记录的该法案最近一步,例如提交委员会、表决或签署成法。Duaer 按最近更新时间排序。

同组