openapi: 3.2.0
info:
title: trending articles API
version: '1.0'
contact:
name: OpenWeb
url: https://www.openweb.com/
description: This API fetches and sorts the trending articles from a specific spot.
servers:
- url: https://api.openweb.com/engagement-api
tags:
- name: trending articles
description: Trending Articles
paths:
/trending-articles:
parameters: []
get:
summary: List trending articles for a spot
tags:
- trending articles
responses:
'200':
$ref: '#/components/responses/ArticleObject'
description: Retrieve the trending article for a Spot ID in a given time period
parameters:
- $ref: '#/components/parameters/x-api-key'
- $ref: '#/components/parameters/x-spot-id'
- $ref: '#/components/parameters/x-count'
- $ref: '#/components/parameters/x-interval'
operationId: getTrendingArticles
x-operation-id-source: derived
components:
parameters:
x-api-key:
name: x-api-key
in: header
required: true
schema:
type: string
description: Unique OpenWeb engagement token
Follow these steps to obtain the engagement token:
- From your OpenWeb Admin Dashboard, click Settings.
- Under Authentication Tokens, copy the Engagement value.
NOTE: This value must not be exposed to users.
x-interval:
name: x-interval
in: header
required: false
schema:
type: string
enum:
- day
- week
- month
default: day
description: Period of time (last day, week, or month) to return highest trending articles
x-count:
name: x-count
in: header
required: false
schema:
type: integer
default: 10
description: Number of articles to return
x-spot-id:
name: x-spot-id
in: header
required: true
schema:
type: string
description: Spot ID of the partner
responses:
ArticleObject:
description: Example response
content:
application/json:
schema:
type: object
properties:
articles:
type: array
x-stoplight:
id: 2qocwifmzsxbd
description: Trending articles for the spot within the interval specified the API request header
items:
type: object
properties:
url:
type: string
description: URL of the article
example: https://www.domain.com/article-title
title:
type: string
description: Title or name of the article
thumbnail_url:
type: string
description: URL for the thumbnail
SpotID:
type: string
description: Unique OpenWeb identifier for a property
example: sp_Iba9aFpQ
PostID:
type: string
description: Unique identifier for the post
example: e8475866-40d2-4b45-964a-ce0edg483f744
ArticleTags:
type: array
description: Comma-delimited list of tags associated with the article
items:
type: string
example: '"Donald Trump","Stormy Daniels", "Susan Necheles", "Trump Organization"'
ConversationID:
type: string
description: Unique identifier for the Conversation or thread
example: sp_Iba9aFpQ_e8475866-40d2-4b45-964a-ce0edg483f744
TotalCommentCount:
type: integer
description: Total comment count of the article
example: 5340
TotalReplyCount:
type: integer
description: Total reply count of the article
example: 6845
IntervalCommentCount:
type: integer
description: Count of comments added during the requested time interval
example: 5340
IntervalReplayCount:
type: integer
description: Count of replies added during the requested time interval
example: 6845
ArticleDate:
type: integer
format: int64
description: Unix timestamp of the article
example: 1715258940
examples: {}
x-provenance:
method: searched
source: https://developers.openweb.com/reference
harvested: '2026-10-14'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://developers.openweb.com/reference/get_trending-articles.md
merge:
pages: 1
deduped: 0
conflicts_kept_first: 0