ppuzzle — bash
$ |
# Political Puzzle API v2.4.1
status: connected
scope: senate
members: 100
active_coalitions: 23
complexity_index: 0.847
depth: 3
# Analysis complete in 412ms

Political Complexity, Quantified

Open infrastructure for political data analysis. APIs, datasets, and developer tools for modeling legislative networks, coalition dynamics, and policy influence.

Data API v2.4

REST & GraphQL Endpoints

Query structured political datasets with filtering, pagination, and real-time streaming support. Covers legislative records back to 1973.

GET /v2/members
GET /v2/votes/{bill_id}
POST /v2/analyze/coalition
GET /v2/timeline/{member_id}
Field Type Description
member_id string Bioguide identifier
complexity float Network complexity index
coalitions array Active voting coalitions
Tools CLI

Developer Toolkit

Command-line tools and SDKs for integrating political data analysis into research pipelines and data journalism workflows.

# Install ppuzzle CLI
$ npm install -g @ppuzzle/cli
# Authenticate
$ ppuzzle auth login
# Analyze a legislative network
$ ppuzzle analyze \
--scope senate \
--depth 3 \
--output json
ppuzzle-cli Full-featured terminal client
ppuzzle-py Python SDK with pandas integration
ppuzzle-js Node.js / browser client
Datasets 2024

Political Data Repository

Curated datasets covering voting records, sponsorship networks, campaign finance, and committee assignments across federal and state legislatures.

congress-votes
4.2M records · Updated daily
coalition-networks
892K records · Updated weekly
policy-influence
1.8M records · Updated monthly
state-legislatures
11.4M records · Updated daily