Capitol Trades trades API

Use the Capitol Trades trades API to retrieve congressional trade disclosures and their reported transaction details. Choose the documented selection using politician selector (politician), issuer selector (issuer); refine the result with political party (party), legislative chamber (chamber). A disclosure records the transaction type, owner, reporting dates and value range, so a reported interval or filing delay is not mistaken for an exact trade size or execution timestamp. Compare transaction and filing dates, distinguish reported value bands and follow public congressional trading disclosures. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (25)
Politician id(s), comma separated, e.g. `P000197` (ids come from /capitoltrades/v1/politicians).
Issuer id(s), comma separated, e.g. `433770` (ids come from /capitoltrades/v1/issuer-search).
Party, comma separated: democrat, republican, other.
Chamber: house or senate.
Politician's state, two-letter code(s), e.g. `ca,ny`.
Committee code(s), e.g. `hsag` (House Agriculture), `ssfi` (Senate Finance), `hsba` (House Financial Services).
Asset type(s): stock, etf, crypto, mutual-fund, corporate-bond, municipal-security, stock-options, reit, abs, etn, futures, indices, preferred-shares, private-equity-fund, venture-capital, hedge-pvt-eq-funds-non-eif, non-public-stock, other-investment-fund, other-securities, ownership-interest, stock-appreciation-right, variable-annuity.
Transaction type(s): buy, sell, exchange, receive.
Trade size band(s), 1-10: 1 under $1K, 2 $1K-15K, 3 $15K-50K, 4 $50K-100K, 5 $100K-250K, 6 $250K-500K, 7 $500K-1M, 8 $1M-5M, 9 $5M-25M, 10 $25M-50M.
Issuer market cap band(s), 1-6: 1 mega (over $200B), 2 large, 3 mid, 4 small, 5 micro, 6 nano (under $50M).
Issuer's US state, two-letter code(s).
Issuer's country, two-letter code(s), e.g. `gb`.
Label(s): faang, crypto, memestock, spac.
Politician gender: male or female.
Issuer sector(s): communication-services, consumer-discretionary, consumer-staples, energy, financials, health-care, industrials, information-technology, materials, real-estate, utilities, other.
Trade date window: 30d, 90d, 180d, 365d, all (the site keeps about three years), or a range `2026-01-01,2026-03-31`.
Publication date window, same values as tx_date.
Sort: -pubDate (default, newest published first), pubDate, -txDate, txDate, reportingGap, -reportingGap.
Page number (default 1). Pass `next_page` back here; null on the last page.
Results per page, 1-100 (default 12).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

{
  "applied_filters": {
    "party": [
      "democrat"
    ],
    "tx_date": "90d"
  },
  "cached": false,
  "count": 12,
  "credits_used": 1,
  "next_page": 2,
  "page": 1,
  "page_size": 12,
  "total": 977,
  "total_pages": 82,
  "trades": [
    {
      "chamber": "senate",
      "comment": null,
      "id": 10000066987,
      "issuer": {
        "c2iq": "HPSVU1B2",
        "country": "us",
        "id": 429725,
        "name": "Amgen Inc",
        "sector": "health-care",
        "state": "ca",
        "ticker": "AMGN:US",
        "url": "https://www.capitoltrades.com/issuers/429725"
      },
      "owner": "spouse",
      "politician": {
        "chamber": "senate",
        "dob": "1955-10-20",
        "first_name": "Sheldon",
        "gender": "male",
        "id": "W000802",
        "last_name": "Whitehouse",
        "name": "Sheldon Whitehouse",
        "nickname": null,
        "party": "democrat",
        "state": "ri",
        "url": "https://www.capitoltrades.com/politicians/W000802"
      },
      "price": 434.03,
      "pub_date": "2026-11-03T07:07:30Z",
      "reporting_gap_days": 18,
      "tx_date": "2026-10-15",
      "tx_type": "sell",
      "tx_type_extended": null,
      "url": "https://www.capitoltrades.com/trades/10000066987",
      "value": 32500
    },
    {
      "chamber": "senate",
      "comment": null,
      "id": 10000066988,
      "issuer": {
        "c2iq": "NH4VU1C8",
        "country": "us",
        "id": 433382,
        "name": "Microsoft Corp",
        "sector": "information-technology",
        "state": "wa",
        "ticker": "MSFT:US",
        "url": "https://www.capitoltrades.com/issuers/433382"
      },
      "owner": "spouse",
      "politician": {
        "chamber": "senate",
        "dob": "1955-10-20",
        "first_name": "Sheldon",
        "gender": "male",
        "id": "W000802",
        "last_name": "Whitehouse",
        "name": "Sheldon Whitehouse",
        "nickname": null,
        "party": "democrat",
        "state": "ri",
        "url": "https://www.capitoltrades.com/politicians/W000802"
      },
      "price": 539.44,
      "pub_date": "2026-11-03T07:07:30Z",
      "reporting_gap_days": 18,
      "tx_date": "2026-10-15",
      "tx_type": "sell",
      "tx_type_extended": null,
      "url": "https://www.capitoltrades.com/trades/10000066988",
      "value": 8000
    },
    "… 10 more"
  ]
}

Response result

Response structure

Inferred from examples
  • applied_filtersobject
    • partystring[]
    • tx_datestring
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • next_pageinteger
  • pageinteger
  • page_sizeinteger
  • totalinteger
  • total_pagesinteger
  • trades(object | string)[]
    • chamberstring
    • commentnull
    • idinteger
    • issuerobject
      • c2iqstring
      • countrystring
      • idinteger
      • namestring
      • sectorstring
      • statestring
      • tickerstring
      • urlstring
    • ownerstring
    • politicianobject
      • chamberstring
      • dobstring
      • first_namestring
      • genderstring
      • idstring
      • last_namestring
      • namestring
      • nicknamenull
      • partystring
      • statestring
      • urlstring
    • pricenumber
    • pub_datestring
    • reporting_gap_daysinteger
    • tx_datestring
    • tx_typestring
    • tx_type_extendednull
    • urlstring
    • valueinteger

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Capitol Trades trades API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.