v1
latestOpenAPI 3.0.02026-07-24191334.4 KBtrending articles
List trending articles for a spot
Retrieve the trending article for a Spot ID in a given time period
get/trending-articles
Headers
x-api-keystring required
Unique OpenWeb engagement token<br /><br />Follow these steps to obtain the engagement token:<ol><li>From your OpenWeb Admin Dashboard, click <strong>Settings</strong>.</li><li>Under <strong>Authentication Tokens</strong>, copy the <strong>Engagement</strong> value.</li></ol><strong>NOTE:</strong> This value <strong>must not</strong> be exposed to users.
x-spot-idstring required
Spot ID of the partner
x-countinteger
Number of articles to return
x-interval'day' | 'week' | 'month'
Period of time (last day, week, or month) to return highest trending articles
Response
Example response
Example response
{
"articles": [
{
"url": "https://www.domain.com/article-title",
"SpotID": "sp_Iba9aFpQ",
"PostID": "e8475866-40d2-4b45-964a-ce0edg483f744",
"ArticleTags": [
"\"Donald Trump\",\"Stormy Daniels\", \"Susan Necheles\", \"Trump Organization\""
],
"ConversationID": "sp_Iba9aFpQ_e8475866-40d2-4b45-964a-ce0edg483f744",
"TotalCommentCount": 5340,
"TotalReplyCount": 6845,
"IntervalCommentCount": 5340,
"IntervalReplayCount": 6845,
"ArticleDate": 1715258940
}
]
}