Download OpenAPI specification:
API
streamId required | integer The stream to search on |
filter[range][after] required | string <date-time> The beginning of the date range to search |
filter[range][before] required | string <date-time> The end of the date range to search |
pagination[page] required | integer Default: 1 The page of the results to return |
pagination[page_size] required | integer <= 5000 Default: 10 The number of results to return per page. The combined value of page and page_size cannot exceed the maximum results of 5000 mentions |
sort[field] | string Enum: "published_at" "timestamp" "created_at" The field to sort by |
sort[order] | string Enum: "asc" "desc" The order to sort by |
format required | string Enum: "json" "csv" JSON or CSV |
X-Auth-Token required | string The API Token |
{- "id": 1233,
- "type": "onlineArticle",
- "timestamp": 1722470400194,
- "createdAt": "2024-08-02T02:08:26.000Z",
- "publishedAt": "2024-08-02T02:08:26.000Z",
- "medium": "Online",
- "title": "A particularly interesting article title",
- "author": "Article Author",
- "source": "Sydney Morning Herald",
- "timeZone": "Australia/Sydney",
- "locationCountry": "Australia",
- "locationState": "New South Wales",
- "locationCity": "Sydney",
- "languageCode": "en-AU",
- "sentiment": -0.1,
- "keywords": [
- "foo",
- "bar"
], - "wordCount": 2493,
- "audience": 250000,
- "advertisingValue": 100,
- "impactScore": [
- {
- "score": 223.92,
- "grade": "Medium"
}
]
}
Multiple status values can be provided with comma separated strings
format | string Enum: "json" "csv" JSON or CSV |
[- {
- "id": 3349,
- "label": "The Daily Show",
- "createdAt": "2023-06-14T02:34:56.000Z",
- "updatedAt": "2023-06-14T02:34:56.000Z",
- "queryStyle": "boolean",
- "keywords": "foo",
- "excludedKeywords": "bar",
- "defaultSentimentRating": 0,
- "archived": false,
- "magazineContent": true,
- "onlineContent": true,
- "podcastContent": true,
- "printContent": true,
- "radioContent": true,
- "socialContent": true,
- "tvContent": true
}
]
Returns a statistics summary for a stream.
streamId required | integer The stream to search on |
filter[range][after] required | string The beginning of the date range to search |
filter[range][before] required | string <date-time> The end of the date range to search |
format required | string Enum: "json" "csv" JSON or CSV |
X-Auth-Token required | string The API Token |
{- "streamId": 3349,
- "streamLabel": "The Daily Show",
- "before": "2023-06-14T02:34:56.000Z",
- "after": "2023-06-14T02:34:56.000Z",
- "media": [
- "Online",
- "Print",
- "TV",
- "Radio"
], - "advertisingValues": [
- {
- "label": "TV",
- "values": {
- "count": 100,
- "total": 100
}
}, - {
- "label": "Radio",
- "values": {
- "count": 100,
- "total": 100
}
}
], - "audiencesByType": [
- {
- "label": "TV",
- "value": 100
}, - {
- "label": "Radio",
- "value": 100
}
], - "sentimentAggregation": [
- {
- "label": "Negative",
- "values": {
- "from": 0,
- "to": 10,
- "doc_count": 100
}
}, - {
- "label": "Trending Negative",
- "values": {
- "from": 0,
- "to": 10,
- "doc_count": 100
}
}, - {
- "label": "Balanced",
- "values": {
- "from": 0,
- "to": 20,
- "doc_count": 100
}
}, - {
- "label": "Trending Positive",
- "values": {
- "from": 30,
- "to": 40,
- "doc_count": 100
}
}, - {
- "label": "Positive",
- "values": {
- "from": 40,
- "to": 50,
- "doc_count": 100
}
}
]
}