---
title: "Politician Trades Summary"
method: GET
path: "/politician-trades/summary"
tags: ["Politician Trades"]
---

# Politician Trades Summary

`GET /politician-trades/summary`

## Request

- Base URL: `https://api.dataporium.io`
- URL: `https://api.dataporium.io/politician-trades/summary`
- Auth: API key in query parameter `apikey`

Totals of congressional trades for charts and analytics, grouped by party, member, symbol, month, year, chamber, trade type, asset class, who holds the asset, state, amount range or filing delay. Two groupings at once make a cross table, for example month and party.

Required: group_by. Every filter of /politician-trades also works here (member_id, member_name, asset_class, held_by, state, trade_from, trade_to, filed_from, filed_to, amount_min, amount_max, late_filing, has_symbol, include_other_filers). The answer is {group_by, date_basis, sort, order, total_groups, limit, offset, groups, totals, about}.

## Query parameters

- `group_by` string, required
- `date_basis` string
- `symbol` string
- `party` string
- `chamber` string
- `trade_type` string
- `days` integer
- `sort` string
- `order` string
- `limit` integer
- `offset` integer

## Response `200`

Successful response (JSON).

- object

## Other responses

- `401`: No API key in the request.
- `403`: The API key is not valid or has expired.

---

[API](https://skmtc.dev/dataporium/apis/dataporium-data-api.md) · [All operations](https://skmtc.dev/dataporium/apis/dataporium-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataporium/apis/dataporium-data-api/revisions/8bc593179dc8?raw)
