Get article counts

Count articles grouped by feed, day, or hour. Use before list/search for cheap planning. Doubles as a feed-velocity check (group_by=feed, since_hours=1 shows which feeds are noisiest right now).

post/get_article_counts

Request

  • Base URL: https://newsmind.app/api/v1
  • URL: https://newsmind.app/api/v1/get_article_counts
  • Auth: OAuth 2 (authorization code, authorization URL https://newsmind.app/oauth/authorize, token URL https://newsmind.app/oauth/token, scopes: mcp)

Request body

group_by'feed' | 'day' | 'hour' required

Bucket dimension. 'feed' returns one row per feed; 'day' / 'hour' return time buckets.

unread_onlyboolean

Only count articles the user hasn't marked read.

since_hoursnumber

Only articles published in the last N hours.

since_daysnumber

Only articles published in the last N days.

feed_idinteger

Limit to a specific feed (useful with group_by=day or hour).

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.