Sign in

Get site top posts

documented

View a site’s top posts and pages by views.

GET /sites/{site}/stats/top-postsStatsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://public-api.wordpress.com/rest/v1.1/sites/{{$site}}/stats/top-posts?context={{$context}}&summarize={{$summarize}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json"
Get site top posts · WordPress.com · OpenIntegrations