trending

Newsroom momentum ranked by an explicit computed metric (newsroom-momentum-v1)

get/api/v1/trending

Request

  • Base URL: https://news.itsbaba.com
  • URL: https://news.itsbaba.com/api/v1/trending
  • Auth: HTTP bearer

Query parameters

lang'en' | 'he'

Output language. Hebrew falls back to English per field when a row is missing.

metric'acceleration' | 'velocity' | 'heat' | 'importance'

Which computed signal orders the page. Unknown values are 400.

windowinteger

How many minutes back to consider a state row current, 15-10080. Values below 15 are raised to 15; above 10080 are clamped.

limitinteger

Page size. Non-integer or negative values are 400; values above 100 are clamped to 100 and echoed as page.limit.

cursorstring

Opaque keyset cursor from a previous page nextCursor. Ranked by the same metric, so a cursor is only valid for the metric that produced it. Malformed values are 400.

Response

Success

object required

Changes

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