Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

US Congress Stock Trades

https://api.sandbase.ai/v1/api/congress/trades

Get US Congress members' financial disclosures and stock trades (member, ticker, transaction type, amount range, and dates), filterable by member, ticker, or date range. Results come newest filing first (by reportedUtc, not tradedUtc), so a recent filing can list trades made years earlier.

Giá
Từ $0.00905USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 6 tùy chọn

Phòng thử nghiệm

Đầu vào
125
Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less. Phạm vi: 1 đến 25.
Filter to transactions involving this stock ticker symbol (e.g. NVDA).
Latest transaction date to include, inclusive, in YYYY-MM-DD format (e.g. 2026-06-01).
Filter by the congressional member's last name, case-insensitive partial match (e.g. Pelosi).
Filter by the congressional member's first name, case-insensitive partial match (e.g. Nancy).
Earliest transaction date to include, inclusive, in YYYY-MM-DD format (e.g. 2026-01-01).
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

US Congress Stock Trades API

Get US Congress members' financial disclosures and stock trades (member, ticker, transaction type, amount range, and dates), filterable by member, ticker, or date range. Results come newest filing first (by reportedUtc, not tradedUtc), so a recent filing can list trades made years earlier.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "congress/trades", "limit": 5}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
endDatestringNoLatest transaction date to include, inclusive, in YYYY-MM-DD format (e.g. 2026-06-01).
firstNamestringNoFilter by the congressional member's first name, case-insensitive partial match (e.g. Nancy).
lastNamestringNoFilter by the congressional member's last name, case-insensitive partial match (e.g. Pelosi).
limitintegerNoMaximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.
startDatestringNoEarliest transaction date to include, inclusive, in YYYY-MM-DD format (e.g. 2026-01-01).
tickerstringNoFilter to transactions involving this stock ticker symbol (e.g. NVDA).

Pricing

Billed at the actual cost of each call: about $0.00181 per result returned, up to $0.0462 per request (about $0.00905 for the request above). A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
US CongressTừ $0.00905 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API US Congress Stock Trades?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/congress/trades với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API US Congress Stock Trades có giá bao nhiêu?

Từ $0.00905 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API US Congress Stock Trades chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: limit (integer), ticker (string), endDate (string), lastName (string), firstName (string) và startDate (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API US Congress Stock Trades trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của US Congress không?

Không. US Congress Stock Trades chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của US Congress.