Phantom Ledger is a Railway-hosted proxy that pulls Salesforce report data across all five lines of business and serves it as a clean JSON API — powering the Top Producers widget on SharePoint and any surface that needs ranked producer performance, live.
A lightweight Express server that authenticates to Salesforce via OAuth 2.0 client credentials, fetches up to five report IDs in parallel, parses the Analytics API response, and returns a ranked JSON array for each LOB. Token is cached and refreshed automatically — no manual re-auth needed.
A self-contained HTML widget that calls /reports, renders a ranked leaderboard for each line of business, and refreshes automatically. Designed to be embedded in a SharePoint page via an iframe — no SharePoint framework required, no manual data entry, always current.
Each line of business has its own scoped endpoint for debugging and verification without pulling all five reports at once. Useful for checking a single Salesforce report ID, validating parse logic, or confirming data shape during setup or troubleshooting.
Phantom Ledger is an internal system at YourPolicy — not a public product. Built on Express and deployed on Railway, sourcing live data from Salesforce.