QuantSet Docs Developer console

Endpoints / Actions, ownership and SEC disclosures

US Congressional stock disclosures

Public STOCK Act Periodic Transaction Reports disclosed by members of Congress.

GET/api/v1/politician-trades

API key5 credits per request Use a key with access to this operation.

View as MarkdownWhole API as text

Parameters

tickerstring

Catalog selector, such as NVDA, 7203.T, or a canonical ID such as us:NVDA.

politicianstring
chamberHouse | Senate
limitinteger, 1 to 500

Maximum number of rows to return.

snapshot_idstring

Pin the request to one immutable snapshot so a read across several pages stays consistent.

formatjson | csv

Return a JSON page or UTF-8 CSV rows.

Response

Response fields (13)

Each row has these fields. Rows arrive in data, next to schema_version, snapshot_id, total_count, next_cursor, provenance.

  • politicianstring
  • chamberstring
  • partystring
  • statestring
  • instrument_idstring

    The listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.

  • symbolstring

    The ticker without its market prefix.

  • transaction_datestring

    The day the trade took place.

  • disclosure_datestring

    The day the congressional report was disclosed. Use this date to study when the record became public.

  • transaction_typestring
  • amount_rangestring

    The transaction amount band printed in the disclosure.

  • amount_lowinteger

    The lower bound of the disclosed dollar range, when available.

  • amount_highinteger

    The upper bound of the disclosed dollar range. An open-ended band can have a null upper bound.

  • disclosure_urlstring

    The source report for a congressional disclosure. Multiple transactions can share one report URL.

View response example or schema

Research questions

Which disclosures mention Nvidia?

GET https://api.quantset.dev/api/v1/politician-trades?ticker=NVDA&chamber=House&limit=20

Read transaction_type and transaction_date for each matched line. Several lines can link to the same disclosure_url. Count distinct document links to count filings.

What did a particular member disclose most recently?

GET https://api.quantset.dev/api/v1/politician-trades?politician=Pelosi&chamber=House&limit=10

The archive matches a case-insensitive substring of the member’s name and sorts by disclosure_date descending, then transaction_date. Check the full politician field for each match. A member-only query can also surface filing notices with no decoded ticker.

Reading the results

transaction_date is the reported day of the trade. disclosure_date is the filing day. For example, a June 3 purchase filed on June 20 belongs in a June 3 trading timeline. A public-information study can first consider it on June 20, subject to filing-time precision. These fields contain dates only.

For a reported $1,001–$15,000 band, amount_low is 1001 and amount_high is 15000. Preserve amount_range when quoting the document. An open-ended band can have a lower bound and a null upper bound. Two null bounds mean no numeric band could be extracted. A midpoint, share count, execution price or profit would require additional evidence.

Coverage and limits

The archive is built from US House Periodic Transaction Reports. A single report can disclose several transactions or only a notice that the report was filed. The dataset coverage endpoint counts distinct disclosure documents and uses disclosure dates for its date range. It does not count individual trades. The chamber parameter also accepts Senate, but the House archive cannot establish Senate coverage.

A scanned or unparsed filing can appear as periodic_transaction_report with null ticker, amount and trade date. Filtering by ticker excludes those notices. Open disclosure_url to inspect the filing. Missing reports, unreadable lines and the result limit make a zero-row response insufficient evidence that a member made no trades.

state is returned on some rows. State and date ranges are not request filters for this operation. Filtering a bounded result locally describes only those returned rows. If an archive match is unavailable, some queries can fall back to recent filing notices; a null snapshot_id identifies a live result.

Related guides

CSV, spreadsheets and agents

The same rows as a spreadsheet-ready table. Add format=csv to the request.

curl "https://api.quantset.dev/api/v1/politician-trades?limit=25&format=csv" -H "X-API-Key: YOUR_API_KEY"

Or pull it straight into Google Sheets with one formula. Excel and larger pulls

=IMPORTDATA("https://api.quantset.dev/api/v1/politician-trades?limit=25&format=csv&apikey=YOUR_API_KEY")

AI agents call this endpoint over HTTP, or read its Markdown version. Connect Claude, ChatGPT, Cursor or your own agent

Errors

StatusCodeWhat to do
400conflicting_credentialsSupply one credential.
401invalid_credentialsSupply a valid API key.
402insufficient_creditsReduce the request ceiling or refill your credits.
403insufficient_accessYour key does not have the required access.
404unknown_instrumentThe requested listing is absent from the catalog.
409snapshot_changedStart the read again with the current snapshot.
413export_too_largeReduce the page size before requesting CSV again.
422invalid_parameter, ambiguous_instrumentCorrect the named parameter and retry.
429rate_limitedWait for Retry-After seconds.
500internal_errorThe request could not be completed.
503temporarily_unavailableRetry safe reads after a short delay.

Questions

What does US Congressional stock disclosures cost?
5 credits for each successful request. A request that fails costs nothing.
Which plan includes it?
Every account. Free credits, credit packs and subscriptions all read this data.
Can I get it as CSV or in a spreadsheet?
Yes. Add format=csv to the request. In Google Sheets, put that URL inside IMPORTDATA with a data-only key in apikey.
Can an AI agent use this?
Yes. An agent calls it over HTTP like any client. Add .md to this page's address for a version written for agents.
What does null mean in the response?
The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.