Congress Trades API

Congress Trades 交易记录 API

获取美国国会议员的财务披露和股票交易(议员、股票代码、交易类型、金额区间和日期),可按议员、股票代码或日期范围筛选。

POST/v1/run/congress.trades
可用率
100.00%
30d · 29 次调用
请求数
29
30d · 按周,近 12 周
响应时间
9.4s
中位数 · 30d

试一试

发出你的第一个请求

打开于
获取免费密钥
示例响应
免费运行只返回前 3 条结果。为密钥充值即可获得完整响应。
{
  "data": {
    "items": [
      {
        "amountRange": "19.99",
        "assetName": "Example title",
        "assetType": "general",
        "chamber": "example",
        "firstName": "Alex",
        "id": "a1b2c3d4",
        "lastName": "Rivera",
        "owner": "Alex Rivera",
        "reportedUtc": 12.5,
        "stateDistrict": "CA",
        "symbol": "example",
        "tradedUtc": 12.5,
        "transactionType": "general",
        "year": 2024
      }
    ]
  },
  "found": true,
  "reason": "not_found"
}
响应类型定义
interface CongressTradesResponse {
  data: {
    items: {
      amountRange?: string;
      assetName?: string;
      assetType?: string;
      chamber?: string;
      firstName?: string;
      id: string;
      lastName?: string;
      owner?: string;
      reportedUtc?: number;
      stateDistrict?: string;
      symbol: string;
      tradedUtc?: number;
      transactionType?: string;
      year?: number;
    }[];
  } | null;
  found: boolean;
  reason?: "not_found";
}

完整的参数与响应参考:这个接口的每个字段、类型和示例。

参考

请求、响应与价格

最近验证于 2026-09-29 · 可用率和延迟按 30d 统计
POST /v1/run/congress.trades
curl -X POST https://api.getanyapi.com/v1/run/congress.trades \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":5}'
字段类型示例值
请求体
endDatestring要包含的最晚交易日期(含当天),格式为 YYYY-MM-DD(例如 2026-06-01)。
firstNamestring按国会议员的名字筛选,不区分大小写的部分匹配(例如 Nancy)。
lastNamestring按国会议员的姓氏筛选,不区分大小写的部分匹配(例如 Pelosi)。
limitinteger5最多返回的结果数(1-25,默认 25)。按返回的结果数扣费,所以上限越低,费用越少。
startDatestring要包含的最早交易日期(含当天),格式为 YYYY-MM-DD(例如 2026-01-01)。
tickerstring只保留涉及该股票代码的交易(例如 NVDA)。
响应
dataobjectThe result wrapper, or null when nothing was found.
data.itemsobject[]Disclosure records: member name and chamber, stock ticker, transaction type, amount range, and transaction/report dates. Populated whenever the provider has data for the entity.
data.items[].amountRangestringDisclosed dollar amount range for the transaction.
data.items[].assetNamestringFull name of the traded asset. Populated whenever the provider has data for the entity.
data.items[].assetTypestringHouse disclosure asset class code, e.g. ST for stock or OP for option.
data.items[].chamberstringCongressional chamber, e.g. House or Senate.
data.items[].firstNamestringMember's first name. Populated whenever the provider has data for the entity.
data.items[].idstringStable disclosure record identifier. Populated whenever the provider has data for the entity.
data.items[].lastNamestringMember's last name. Populated whenever the provider has data for the entity.
data.items[].ownerstringTrade owner code, e.g. SP (spouse), JT (joint), DC (dependent child).
data.items[].reportedUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Date the transaction was reported/disclosed.
data.items[].stateDistrictstringMember's state and district, e.g. PA11.
data.items[].symbolstringStock ticker symbol of the traded asset. Populated whenever the provider has data for the entity.
data.items[].tradedUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Date the transaction occurred.
data.items[].transactionTypestringTransaction type code, e.g. P (purchase), S (sale).
data.items[].yearintegerCalendar year of the disclosure filing.
foundbooleanTrue when at least one disclosure record was returned.
reason"not_found"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
价格
每次请求价格(上限)USDUS$0.0534
价格(/千条结果)USDUS$2.05

常见问题

关于 Congress Trades 交易记录 API

AnyAPI 的 Congress Trades 交易记录 API 只需一次 POST 请求 /v1/run/congress.trades,就以统一格式的 JSON 返回 Congress Trades 数据。获取美国国会议员的财务披露和股票交易(议员、股票代码、交易类型、金额区间和日期),可按议员、股票代码或日期范围筛选。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千条结果 US$2.05,单次请求最多 US$0.0534,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Congress Trades 交易记录 API 调用中有 100.0% 成功,响应时间中位数为 9.4 秒,共测量 29 次调用。

费用:每千条结果 US$2.05,单次请求最多 US$0.0534,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。

获取美国国会议员的财务披露和股票交易(议员、股票代码、交易类型、金额区间和日期),可按议员、股票代码或日期范围筛选。响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。

过去 30 天,通过 AnyAPI 发起的 Congress Trades 交易记录 API 调用中有 100.0% 成功,响应时间中位数为 9.4 秒,共测量 29 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。