Twinkle HubTwinkle Hub

美國聯邦公報 (Federal Register) 全文檢索

us_search_federal_register

🇺🇸 États-Unislecture seule

關鍵字 / Keywords: 美國聯邦公報 行政命令 規則 行政法規 EPA FDA federal register agency rule proposed notice presidential document executive order regulation

Scope: US Federal Register (daily journal of the federal government) via GovInfo's cross-collection search endpoint.

Federal Register contains agency final rules, proposed rules, notices, and presidential documents (executive orders, proclamations). Continuous publication since 1994 in GovInfo.

Endpoint: POST https://api.govinfo.gov/search (query: collection:FR AND {your_query} [AND publishdate:range({from},{to})])

Args: query: free-text query (e.g. "EPA methane rule", "section 230", "executive order 14023"). Combined with collection:FR under implicit AND. date_from / date_to: YYYY-MM-DD publish-date filter. limit: pageSize (GovInfo cap 100). offset_mark: pagination cursor from previous response's next_offset_mark; "*" starts from newest.

Returns dict with results — each row has title, package_id (e.g. FR-2024-12-27), granule_id (per-document id), date_issued, government_author[], download URLs (download_txt_url, download_pdf_url, download_mods_url for XML metadata), original_url back to www.govinfo.gov/app/details/. License: US Public Domain. Requires US_GOVINFO_API_KEY for signed ceiling (1000/hr).

Paramètres

NomTypeDescription
query *string
date_fromstring
date_tostring
limitinteger
offset_markstring
Schéma JSON brut
{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "date_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date From"
    },
    "date_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date To"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "offset_mark": {
      "default": "*",
      "title": "Offset Mark",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "title": "us_search_federal_registerArguments",
  "type": "object"
}

Comment appeler

Amorce — paramètres dans le tableau
us_search_federal_register({ query: "…" })