Transactions

Returns paginated politician trading transactions, including politician identity, stock metadata, transaction dates, asset class, amount range, and option details when applicable.
Author:Will ShawWill Shaw
Reviewed by:Charlie TianCharlie Tian
Fact checked by:Vera YuanVera Yuan
Updated June 11, 2026
GET/politicians/transactions

Query Parameters

Name Type Example Description
asset_typestringCommon_StockAsset class filter. Use values such as Common_Stock or All.
pagenumber1Page number. Default is 1.
idnumber7Optional politician ID filter from /politicians.
sortstringtransaction_dateSort field. Default is transaction_date.
orderstringdescSort order: asc or desc. Default is desc.

Auth

headers: { 'Authorization': 'Replace with your API token' }

Examples

fetch('https://api.gurufocus.com/data/politicians/transactions?asset_type=Common_Stock&page=1&id=7&sort=transaction_date&order=desc', { method: 'GET', headers: { 'Authorization': 'Replace with your API token' }})

Responses

Successful response. The exact payload fields depend on this endpoint.

Example Body (Field Reference)

No response body is documented for this status.

Introduction

Returns paginated politician trading transactions across the GuruFocus politician dataset.

You can query the full feed or narrow the response to one politician by passing an id from /politicians.

Query Parameters

Display NameField NameTypeRequiredDescription
Asset Typeasset_typestringNoAsset class filter. Example: Common_Stock or All.
PagepagenumberNoPage number to fetch. Default is 1.
Politician IDidnumberNoFilter transactions to a single politician ID from /politicians.
SortsortstringNoSort field. Default is transaction_date.
OrderorderstringNoSort direction. Use asc or desc. Default is desc.

Response Notes

The response includes pagination metadata and a data array of transaction records.

Top-level response fields:

  • count
  • currentPage
  • lastPage
  • total
  • data

Each transaction item can include:

  • Politician identity fields such as id, full_name, position, state, and party
  • Stock reference fields such as stockid, symbol, company, exchange, and industry
  • Transaction details such as class, trans_type, amount, transaction_date, and disclosure_date
  • Option metadata such as option_type, strike_price, and expiration_date when applicable

Response Reference

Display NameField NameType
Countcountnumber
Current PagecurrentPagenumber
Last PagelastPagenumber
Totaltotalnumber
Datadataarray

Transaction Item

Display NameField NameType
Politician IDidnumber
Full Namefull_namestring
Official Nameofficial_fullstring
Positionpositionstring
Statestatestring
Partypartystring
Symbolsymbolstring
Companycompanystring
Exchangeexchangestring
Industryindustrystring
Asset Classclassstring
Stock IDstockidstring
Transaction Typetrans_typestring
Amountamountstring
Transaction Datetransaction_datestring
Disclosure Datedisclosure_datestring
Option Typeoption_typestring
Strike Pricestrike_pricestring
Expiration Dateexpiration_datestring

Common Workflow

  1. Call /politicians to get politician IDs.
  2. Call /politicians/transactions?id={id} to fetch one politician's trading history.
  3. Use asset_type=All if you want to include non-common-stock records.