Skip to content
TRUMP STOCK TRACKER
Open data

Public API

A read-only JSON API over the structured dataset. Every list response uses a consistent envelope: { data, meta } with totals and pagination in meta. The full machine spec is at /api/v1/openapi.json.

Authentication & limits

No key is required: anonymous callers get 500 requests/day per IP. With an API key (sent as the X-API-Key header) the default limit is 1000/day. Current usage is returned in X-RateLimit-* headers on every response. For a key, contact the address in the spec.

GET /api/v1/transactions

Query disclosed transactions

Searchable, filterable, paginated. Only transactions from publicly-released filings are returned.

params: search · type · dateFrom · dateTo · bandMin · sortBy · order · page · limit

GET /api/v1/transactions/{id}

One transaction with its correlations

GET /api/v1/filings

List publicly-released filings

GET /api/v1/statements

Query the President's public statements

params: dateFrom · dateTo · channel · ticker · page · limit

GET /api/v1/actions

Query official government actions

params: dateFrom · dateTo · type · ticker · page · limit

GET /api/v1/correlations

Query scored timing correlations

params: transactionId · ticker · kind · minScore · page · limit

GET /api/v1/companies

Companies in the disclosure dataset with aggregates

GET /api/v1/companies/{ticker}

One company: profile, trades, prices, correlations

GET /api/v1/graph

The knowledge graph as { nodes, links }

Without parameters: the full company-aggregated graph. With node + depth: a bounded breadth-first neighborhood of one node (lazy expansion; depth ≤ 3, hard edge cap).

params: node · depth

GET /api/v1/export/transactions.ndjson

Bulk export — every public transaction as NDJSON

One JSON object per line; suitable for jq / pandas pipelines.

GET /api/v1/export/transactions.csv

Bulk export — every public transaction as CSV

GET /api/v1/openapi.json

This specification

Data is published solely for news and transparency dissemination to the general public (5 U.S.C. § 13107(c)). Disclosed amounts are statutory ranges, never exact figures. Correlation scores are analytical indices, never findings of wrongdoing.