🎉 Latest Premium features: Detailed Stats & Summaries page • Custom Manual Entries • Stealth Mode • Get Premium →

REST API endpoints

Simple History has a few WP REST API endpoints that developers can use to fetch the log themself.

To access these you must authenticate your requests.

Endpoints

🔍 Events

Contains the same data as the main events feed.

  • GET /wp-json/simple-history/v1/events
  • GET /wp-json/simple-history/v1/events/has-updates
  • GET /wp-json/simple-history/v1/events/<event-id>
  • POST /wp-json/simple-history/v1/events/<event-id>/stick
  • POST /wp-json/simple-history/v1/events/<event-id>/unstick

📈 Stats

These endpoints contain the same data as the Premium add-on uses on the Stats and Summaries page/History insights page.

  • /wp-json/simple-history/v1/stats/summary – Brief overview with total counts for events, users, content, media, plugins, and core updates
  • /wp-json/simple-history/v1/stats/activity-overview – Daily activity breakdown
  • /wp-json/simple-history/v1/stats/peak-days – High activity day analysis
  • /wp-json/simple-history/v1/stats/peak-times – Peak activity time patterns
  • /wp-json/simple-history/v1/stats/users – Detailed user activity insights
  • /wp-json/simple-history/v1/stats/content – Content modification statistics
  • /wp-json/simple-history/v1/stats/media – Media upload and management metrics
  • /wp-json/simple-history/v1/stats/plugins – Plugin installation and update data
  • /wp-json/simple-history/v1/stats/core – WordPress core update tracking