# Capitol Trades politician API

Retrieve Capitol Trades politician profiles by ID or URL via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including source politician identifier, reporting-person display name, source filing count, source issuer count, and disclosed transaction-owner category for filing directory, and trade navigation.

Documentation: https://openany.si/market/apis/capitol-trades/capitol-trades-politician-api/?offering=72a3c8be-7eab-46b6-8fa1-29749f94b194
API ID: 72a3c8be-7eab-46b6-8fa1-29749f94b194
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/capitoltrades/v1/politician
Page update time: 2026-12-03T02:46:10.702Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:46:10.260Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Capitol Trades politician API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Politician id (e.g. P000197) or a capitoltrades.com/politicians/... link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "age": {
      "type": "integer"
    },
    "cached": {
      "type": "boolean"
    },
    "chamber": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "date_of_birth": {
      "type": "string"
    },
    "district": {
      "type": "string"
    },
    "filings": {
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "image": {
      "type": "string"
    },
    "issuers": {
      "type": "integer"
    },
    "last_traded": {
      "type": "string"
    },
    "links": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "label": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "most_traded_issuers": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "trades": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "most_traded_sectors": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "trades": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "name": {
      "type": "string"
    },
    "party": {
      "type": "string"
    },
    "recent_trades": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "chamber": {
                "type": "string"
              },
              "comment": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "issuer": {
                "type": "object",
                "properties": {
                  "c2iq": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "country": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "id": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "sector": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "state": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "ticker": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "string"
                      }
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                }
              },
              "owner": {
                "type": "string"
              },
              "politician": {
                "type": "object",
                "properties": {
                  "chamber": {
                    "type": "string"
                  },
                  "dob": {
                    "type": "string"
                  },
                  "first_name": {
                    "type": "string"
                  },
                  "gender": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "last_name": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "nickname": {
                    "type": "null"
                  },
                  "party": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              },
              "price": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "number"
                  }
                ]
              },
              "pub_date": {
                "type": "string"
              },
              "reporting_gap_days": {
                "type": "integer"
              },
              "tx_date": {
                "type": "string"
              },
              "tx_type": {
                "type": "string"
              },
              "tx_type_extended": {
                "type": "null"
              },
              "url": {
                "type": "string"
              },
              "value": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "related_reading": {
      "type": "array",
      "items": {}
    },
    "state": {
      "type": "string"
    },
    "state_code": {
      "type": "string"
    },
    "traded_issuers": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "country": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "last_price": {
                "type": "number"
              },
              "market_cap": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "sector": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "ticker": {
                "type": "string"
              },
              "trailing_change": {
                "type": "object",
                "properties": {
                  "d1": {
                    "type": "number"
                  },
                  "d30": {
                    "type": "number"
                  },
                  "d365": {
                    "type": "number"
                  },
                  "d7": {
                    "type": "number"
                  },
                  "d90": {
                    "type": "number"
                  }
                }
              },
              "url": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "trades": {
      "type": "integer"
    },
    "url": {
      "type": "string"
    },
    "volume": {
      "type": "integer"
    },
    "volume_text": {
      "type": "string"
    },
    "years_active": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/capitoltrades/v1/politician?id=P000197&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "age": 86,
  "cached": false,
  "chamber": "House",
  "credits_used": 1,
  "date_of_birth": "1940-03-26",
  "district": "11",
  "filings": 13,
  "id": "P000197",
  "image": "https://www.capitoltrades.com/assets/politicians/p000197.jpg",
  "issuers": 23,
  "last_traded": "2026-09-08",
  "links": [
    {
      "label": "Go to 2iQ Research home page",
      "url": "https://www.2iqresearch.com/"
    },
    {
      "label": "Official website",
      "url": "https://pelosi.house.gov"
    },
    "… 3 more"
  ],
  "most_traded_issuers": [
    {
      "name": "NVIDIA Corporation",
      "trades": 9
    },
    {
      "name": "Apple Inc",
      "trades": 5
    },
    "… 3 more"
  ],
  "most_traded_sectors": [
    {
      "name": "Information Technology",
      "trades": 23
    },
    {
      "name": "Communication Services",
      "trades": 6
    },
    "… 3 more"
  ],
  "name": "Nancy Pelosi",
  "party": "Democrat",
  "recent_trades": [
    {
      "chamber": "house",
      "comment": "Description: Investment in LLC which is acquiring and managing a commercial office property at 225 Bush Street in San",
      "id": 20003802949,
      "issuer": {
        "c2iq": null,
        "country": null,
        "id": 2335561,
        "name": "REOF XXX LLC",
        "sector": null,
        "state": null,
        "ticker": null,
        "url": "https://www.capitoltrades.com/issuers/2335561"
      },
      "owner": "spouse",
      "politician": {
        "chamber": "house",
        "dob": "1940-03-26",
        "first_name": "Nancy",
        "gender": "female",
        "id": "P000197",
        "last_name": "Pelosi",
        "name": "Nancy Pelosi",
        "nickname": null,
        "party": "democrat",
        "state": "ca",
        "url": "https://www.capitoltrades.com/politicians/P000197"
      },
      "price": null,
      "pub_date": "2026-10-05T13:05:05Z",
      "reporting_gap_days": 24,
      "tx_date": "2026-09-08",
      "tx_type": "buy",
      "tx_type_extended": null,
      "url": "https://www.capitoltrades.com/trades/20003802949",
      "value": 750000
    },
    {
      "chamber": "house",
      "comment": "Description: Purchased 10,000 shares.",
      "id": 20003802220,
      "issuer": {
        "c2iq": "CFZVU1C5",
        "country": "us",
        "id": 430143,
        "name": "Bloom Energy Corp",
        "sector": "industrials",
        "state": "ca",
        "ticker": "BE:US",
        "url": "https://www.capitoltrades.com/issuers/430143"
      },
      "owner": "spouse",
      "politician": {
        "chamber": "house",
        "dob": "1940-03-26",
        "first_name": "Nancy",
        "gender": "female",
        "id": "P000197",
        "last_name": "Pelosi",
        "name": "Nancy Pelosi",
        "nickname": null,
        "party": "democrat",
        "state": "ca",
        "url": "https://www.capitoltrades.com/politicians/P000197"
      },
      "price": 184.89,
      "pub_date": "2026-08-24T13:00:28Z",
      "reporting_gap_days": 28,
      "tx_date": "2026-07-24",
      "tx_type": "buy",
      "tx_type_extended": null,
      "url": "https://www.capitoltrades.com/trades/20003802220",
      "value": 3000000
    },
    "… 13 more"
  ],
  "related_reading": [],
  "state": "California",
  "state_code": "ca",
  "traded_issuers": [
    {
      "country": "us",
      "id": 433770,
      "last_price": 229.28,
      "market_cap": 5536424160000,
      "name": "NVIDIA Corporation",
      "sector": "information-technology",
      "state": "ca",
      "ticker": "NVDA:US",
      "trailing_change": {
        "d1": -0.0052,
        "d30": 0.0868,
        "d365": 0.2175,
        "d7": -0.0403,
        "d90": 0.0825
      },
      "url": "https://www.capitoltrades.com/issuers/433770"
    },
    {
      "country": "us",
      "id": 429789,
      "last_price": 336.64,
      "market_cap": 4912984755200,
      "name": "Apple Inc",
      "sector": "information-technology",
      "state": "ca",
      "ticker": "AAPL:US",
      "trailing_change": {
        "d1": -0.0111,
        "d30": 0.0107,
        "d365": 0.3593,
        "d7": 0.0113,
        "d90": 0.0692
      },
      "url": "https://www.capitoltrades.com/issuers/429789"
    },
    "… 21 more"
  ],
  "trades": 51,
  "url": "https://www.capitoltrades.com/politicians/P000197",
  "volume": 109810000,
  "volume_text": "$109.81M",
  "years_active": "2023 – 2025"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/capitol-trades/capitol-trades-politician-api/?offering=72a3c8be-7eab-46b6-8fa1-29749f94b194

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
