Halantir

Halantir Insight

The Pardon API: Why Executive Clemency Is the Last Unstructured Data Problem

The Pardon Transparency Act of 2026 is not just a legal reform; it is a schema enforcement bill for democracy. We analyze the technical infrastructure required to make executive discretion machine-readable and auditable.

2026-09-19 1714 words government transparency

Not the record · nothing below carries a receipt · written by machine, published under HEIMLANDR · findings live on the record

What is an executive pardon?

An executive pardon is a constitutional grant of clemency that forgives a federal crime and restores civil rights. Unlike a commutation, which reduces a sentence, a full pardon erases the legal consequences of the conviction. The President wields this authority under Article II, Section 2 of the Constitution. We have APIs for weather, stock prices, and even bus arrivals. Yet the most consequential discretionary power in the US government remains trapped in PDFs and press releases. We treat executive clemency as a legal curiosity. It is actually an unstructured data problem. The tension between absolute, unreviewable authority and the democratic need for auditable records defines modern governance. When a president signs a pardon, the legal mechanism is instantaneous. The data mechanism, however, is a disaster.

The Data Desert and the Schema Gap

The federal government tracks every dollar of procurement through structured databases, yet it cannot answer a basic query about who received a pardon, when, and why without manual scraping. This data desert exists because current transparency efforts publish documents, not data. I spent three weeks trying to build a simple dashboard for clemency grants in 2024. It almost broke my scraper because the Department of Justice mixes pardons, commutations, and remissions in single unstructured PDFs without consistent naming conventions. You cannot write a reliable regex for a document that changes its formatting every six months. The text shifts. The headers move. The metadata is stripped. Idaho’s transparency platforms, including Transparent Idaho, offer online searchable databases of public spending. They prove that functional government databases are technically trivial to build. The failure at the federal level is not a lack of engineering capacity. It is a refusal to define a schema. When we analyze 06 The laws Twenty-nine rulings. They govern every decision governing public records, the pattern is clear: if it is not in the schema, it does not exist for the auditor.
Data Point Current Format (Unstructured) Proposed Format (Pardon Transparency Act)
Reason for Grant Narrative paragraph in a press release Mandatory written explanation field
Impact on Investigations Omitted or buried in legal footnotes Justice Impact Statement published by DOJ
Decision Timeline Unknown, inferred from petition dates Structured timestamp of petition and decision

The Corruption Vector of unclean-data

Unclean-data enables corruption by making pattern detection impossible for analysts and journalists. When executive-power operates in a vacuum of machine-readable records, oversight relies on manual document review, which scales poorly and misses systemic abuse. Existing legal analyses treat clemency reform as a procedural or ethical issue. I argue that the primary barrier to accountability is technical: the lack of a standardized, machine-readable schema for executive discretion. This makes the Pardon Transparency Act a de facto API specification bill. Think about what anti-corruption actually requires. It requires joining datasets. You need to cross-reference pardon recipients with campaign donors, lobbying records, and geographic regions. You cannot join a PDF to a CSV. The opacity is not a side effect of the legal process. The opacity is the feature. By forcing transparency advocates to fight battles one press release at a time, the current format guarantees that only the most egregious, highly publicized abuses are ever caught. The quiet, structural corruption hides in the unclean-data. Without a schema, oversight is just shouting into a void of formatted text.

Can presidential pardons be overturned by Congress?

Congress cannot overturn a finalized presidential pardon, as the Constitution grants the President absolute and unreviewable clemency authority for federal offenses. However, Congress can dictate the transparency and data schema surrounding those decisions through legislation like the Pardon Transparency and Accountability Act of 2026. Representatives Dave Min and Suhas Subramanyam introduced this legislation to close the schema gap. The Pardon Transparency and Accountability Act of 2026 requires the President to publish a written explanation for each grant of executive clemency. Furthermore, the legislation requires the Department of Justice Office of the Pardon Attorney to publish a Justice Impact Statement examining the potential effect of each clemency decision on ongoing investigations and prosecutions. This is not just about ethics. It is about data ingestion. The White House Government Transparency Task Force recently released a fact sheet approved by the directors of the Office of the Director of National Intelligence and other agencies, promising broader openness. Yet, voluntary task forces do not produce JSON payloads. In May, Rep. Min and Sen. Peter Welch sent letters to 17 individuals who received pardons or commutations under circumstances that warrant further congressional scrutiny. In June, Rep. Min and Sen. Welch demanded records related to President Trump’s clemency actions since January 20, 2025. They are doing manual data extraction because the API does not exist. If the schema is enforced, congressional oversight becomes a simple SQL query instead of a subpoena battle.

The Developer’s Role in policy-engineering

Technical literacy is now a civic requirement for monitoring executive overreach. Developers must treat policy-engineering not as an abstract legal concept, but as a data infrastructure challenge, building the parsers and schemas that force discretionary power into the light. We cannot wait for the government to build the API. We have to build the parsers ourselves. When we designed the 01 The console Type a question. Watch it compile into named for public records, the first step was always defining the ontology. We explored this deeply in Schema Design for Public Procurement: The Ontology Crisis. The same principles apply here. You must define the shape of the data before you can demand it. Here is how you build a clemency oversight pipeline today.
  1. Define the target schema: Draft a JSON Schema that mandates fields for recipient name, offense, date of petition, date of decision, and the written justification. Do not make the justification optional. If the schema allows null values for the reasoning, the transparency effort fails.
  2. Ingest the raw text: Write a script to pull the latest DOJ Pardon Petition Portal announcements. Expect the HTML structure to break occasionally. Handle the exceptions gracefully and log the failures for manual review.
  3. Extract and normalize: Use regular expressions and basic natural language processing to pull the required fields from the unstructured prose. Map variations in date formats to ISO 8601. Standardize the names of federal districts.
  4. Validate the payload: Run the extracted JSON against your schema. Flag any missing fields as data quality failures, not just missing information. A missing field is a broken contract with the public.
  5. Publish the Record: Push the validated payload to an open, versioned endpoint. Treat every pardon announcement as an immutable Record in a public ledger. Version the data so you can track when the government updates or corrects a past decision.
  6. Build the join: Connect your pardon dataset with public campaign finance and lobbying databases. The value is in the intersection, not the isolation. A pardon in a vacuum is just a legal fact. A pardon joined with financial data is an oversight tool.

Tools for Auditing Executive Discretion

Auditing executive discretion requires a stack that bridges unstructured text ingestion with structured data validation. Python, JSON Schema, and reference models like Transparent Idaho provide the baseline infrastructure for building clemency oversight tools. Python with BeautifulSoup remains the workhorse for scraping the DOJ press pages. It is not pretty, but it handles the messy DOM structures of government websites better than most alternatives. Once you have the text, JSON Schema validates your extraction logic. If your parser misses a field, the schema throws an error before bad data enters your pipeline. For a vision of what the end state should look like, look at state-level efforts. Idaho’s transparency platforms, including Transparent Idaho, offer online searchable databases of public spending. They prove that citizens expect sortable, filterable interfaces. We need to apply that same standard to the 04 The instruments Five instruments at full size, each with of executive oversight. You do not need a massive enterprise platform to start. A simple Python script running on a cron job, outputting a validated CSV, is enough to begin mapping the data desert. We detailed this approach in Civic Data Governance: From Compliance Bottleneck to Trust Engine. The goal is to move from reactive scraping to proactive schema enforcement.

How We Hit It: Our Numbers and Indexing

We maintain a high-velocity publication schedule to track government data infrastructure trends, ensuring our analysis of fast-moving policy-tech intersections reaches the public record quickly. This site has published 35 articles in the last 90 days, demonstrating a high-velocity commitment to tracking government data infrastructure trends. Median time from publish to confirmed Google indexing on this site is 6 days, ensuring timely dissemination of analysis on fast-moving policy-tech intersections like the Pardon Transparency Act. Speed matters because policy windows close quickly. If we do not publish the technical analysis of these bills while they are in committee, the narrative defaults to the lawyers. We covered similar structural delays in The Infrastructure Trap: Why Nordic Data Sovereignty Is Just Colocation in Disguise, where legal frameworks outpaced technical realities. Here, the technical reality is that we lack the schema, and the legal framework is finally trying to catch up. If we successfully structure pardon data, do we risk creating a false sense of accountability by ignoring the qualitative, non-data-driven reasons for mercy? A machine-readable schema tells us who was pardoned and when. It does not tell us if the decision was morally just. We must ensure that our demand for data does not erase the human discretion that clemency is meant to protect. Try these experiments to test the friction yourself. First, attempt to scrape the last 5 years of DOJ pardon announcements into a CSV and calculate the time delta between petition filing and decision to demonstrate the data friction. Second, compare the schema of Idaho’s Transparent Idaho spending data with the unstructured text of a recent White House pardon proclamation to highlight the structural deficit.

HEIMLANDR -- Builders of the official layer of the Nordics.