# US Congressional stock disclosures (QuantSet API)

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

> ## For AI agents
> The QuantSet API is at https://api.quantset.dev. Send the key in the `X-API-Key` header. The sandbox key `mw_demo` needs no signup and reads the sample listings.
> No key yet? An agent can open an account on its own: https://api.quantset.dev/skill.md
> Connect an MCP client to https://api.quantset.dev/mcp. Client setup is at https://api.quantset.dev/agents.md.
> Start with https://api.quantset.dev/llms.txt or read the full reference at https://api.quantset.dev/llms-full.txt. The OpenAPI file is https://api.quantset.dev/openapi.json. Add `.md` to any docs URL to get that page as Markdown.

`GET https://api.quantset.dev/api/v1/politician-trades` · `get_politician_trades`

Send a key in the `X-API-Key` header.
Add `format=csv` to get a UTF-8 table.
Price: 5 credits for each successful request.

## Research questions

### Which disclosures mention Nvidia?

```http
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?

```http
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

- [Choose a listing across exchanges](https://quantset.dev/docs/guides/instrument-ids)
- [Choose a point-in-time cutoff](https://quantset.dev/docs/guides/point-in-time)

## Parameters

- `ticker` (string, optional): Catalog selector, such as NVDA, 7203.T, or a canonical ID such as us:NVDA.
- `politician` (string, optional)
- `chamber` (House | Senate, optional)
- `limit` (integer, 1 to 500, optional): Maximum number of rows to return.
- `snapshot_id` (string, optional): Pin the request to one immutable snapshot so a read across several pages stays consistent.
- `format` (json | csv, optional): Return a JSON page or UTF-8 CSV rows.
- `X-Max-Credits` (integer, 0 to 999,999,999,999, optional, in header): Refuse the request if its maximum charge exceeds this ceiling.
- `X-Workflow-Id` (string, optional, in header): Optional printable identifier for grouping charges in a research workflow.

## Response fields

- `politician` (string)
- `chamber` (string)
- `party` (string)
- `state` (string)
- `instrument_id` (string): The listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.
- `symbol` (string): The ticker without its market prefix.
- `transaction_date` (string): The day the trade took place.
- `disclosure_date` (string): The day the congressional report was disclosed. Use this date to study when the record became public.
- `transaction_type` (string)
- `amount_range` (string): The transaction amount band printed in the disclosure.
- `amount_low` (integer): The lower bound of the disclosed dollar range, when available.
- `amount_high` (integer): The upper bound of the disclosed dollar range. An open-ended band can have a null upper bound.
- `disclosure_url` (string): The source report for a congressional disclosure. Multiple transactions can share one report URL.

## Example

```
curl 'https://api.quantset.dev/api/v1/politician-trades?limit=25' -H 'X-API-Key: YOUR_API_KEY'
```

## Responses

- 200 Successful Response
- 400 Supply one credential.
- 401 Supply a valid API key.
- 402 Reduce the request ceiling or refill your credits.
- 403 Your key does not have the required access.
- 404 The requested listing is absent from the catalog.
- 409 Start the read again with the current snapshot.
- 413 Reduce the page size before requesting CSV again.
- 422 Correct the named parameter and retry.
- 429 Wait for Retry-After seconds.
- 500 The request could not be completed.
- 503 Retry 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.

Group: Actions, ownership and SEC disclosures
Docs page: https://quantset.dev/docs/api/politician-trades
Integrations & Ecosystem: https://quantset.dev/integrations (Claude/Cursor MCP, LangGraph, PydanticAI, CrewAI, Agno, Vercel AI SDK, Mastra, Sheets =QUANTSET(), Excel, Notion & x402)
Full API guide: https://api.quantset.dev/llms-full.txt
