get_congress_politician
Get a single politician's congressional trading profile in one request—total, buy, and sell trade counts, recent disclosure date, top tickers, and recent trades—using a bioguide ID or URL slug.
Instructions
Get one politician's congressional trading profile (Pro plan+). Returns one politician's profile — identity fields, total/buy/sell trade counts, most recent trade's disclosure date, their top N most-traded tickers (by trade count), and their N most recent trades (same shape as GET /v1/congress/trades). Use this for a one-call politician overview rather than paging /v1/congress/trades?politician= yourself. Accepts either a bioguide ID (e.g. "P000197") or the politician's URL slug (e.g. "nancy-pelosi") in the path, matched case-insensitively against whichever field applies. Returns 404 NOT_FOUND if neither matches. Requires Pro plan or higher (402 PLAN_REQUIRED on Free/Starter). Query runs live — no caching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idOrSlug | Yes | Politician's bioguide ID (e.g. "P000197") or URL slug (e.g. "nancy-pelosi"), exact match, case-insensitive. Tried against both fields. | |
| top_tickers | No | Number of most-traded tickers to include. Defaults to 10, maximum 50. | |
| recent_trades | No | Number of most recent trades to include. Defaults to 20, maximum 100. |