Duaer

入门

在 Duaer 里查美国 GovInfo 文献

在 Duaer 里:GovInfo:美国法案、联邦公报、联邦法规汇编、法院意见等官方出版物。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「美国 GovInfo 文献」:GovInfo:美国法案、联邦公报、联邦法规汇编、法院意见等官方出版物。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 美国 GovInfo 文献,或打开 数据市场。相关:美国国会法案、美国联邦公报。

适合做什么

  • 查涉及数据隐私的联邦公报通知。
  • 查最新提到某主题的法案文本。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → US GovInfo documents。
  2. 填 Words(如 data privacy);Collection(BILLS)、Sort(newest)可选。
  3. Limit 默认 10,最大 20。执行。

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

用 API 调用

  • GET https://api.duaer.com/v1/data/govinfo?words=data%20privacy
  • Authorization: Bearer <Duaer key>

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

调用技能(英文)

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

---
name: duaer-govinfo
description: >-
  Duaer US GovInfo documents. GovInfo: US bills, Federal Register, CFR, court opinions, and other official publications.
  One successful search uses 1 Duaer credit.
---

# Duaer US GovInfo documents

Duaer US GovInfo documents searches GovInfo, the official source of US federal publications, and links each result to its govinfo.gov page. Duaer holds the upstream API key; you only send your Duaer key.

## When to use

- Find Federal Register notices about data privacy.
- Find the newest bill texts that mention a topic.

## When not to use

- Bill status and actions. Use https://skills.duaer.com/congress-bills.md.
- Federal Register documents with agency details. Use https://skills.duaer.com/federal-register.md.

## Call

`GET https://api.duaer.com/v1/data/govinfo?words=data%20privacy`

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 `words`.

- `words` — Words to search, such as data privacy.
- `collection` — Optional. Collection code such as BILLS, FR, CFR, USCOURTS, or CREC.
- `sort` — Optional. `relevance` or `newest`. Default `relevance`.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/govinfo?words=data%20privacy` — publications about data privacy.
- `GET https://api.duaer.com/v1/data/govinfo?words=privacy&collection=BILLS&sort=newest` — the newest bill texts about privacy.

## Result

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

- `packageId`, `granuleId`, `collection` — GovInfo ids and collection.
- `dateIssued`, `authors`, `lastModified` — issue date, government authors, and last update.

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-bills.md — Duaer US Congress bills
- https://skills.duaer.com/federal-register.md — Duaer US Federal Register

常见问题

Duaer 的美国 GovInfo 文献检索扣多少额度?

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

Duaer 美国 GovInfo 文献的 collection 有哪些?

常用的有 BILLS(法案文本)、FR(联邦公报)、CFR(联邦法规汇编)、USCOURTS(法院意见)、CREC(国会记录)。

同组