Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

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.

Cena
Od $0.00905USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 6 opcjonalnych

Playground

Wejście
125
Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less. Zakres: od 1 do 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).
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
US CongressOd $0.00905 za wywołanieJSON

Pytania

FAQ

Jak używać API US Congress Stock Trades?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/congress/trades z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API US Congress Stock Trades?

Od $0.00905 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API US Congress Stock Trades?

Nie są wymagane żadne parametry. Opcjonalne: limit (integer), ticker (string), endDate (string), lastName (string), firstName (string) i startDate (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API US Congress Stock Trades?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego US Congress lub klucza API?

Nie. US Congress Stock Trades działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API US Congress.