Skip to main content

API JSON (api.json)

The recommended general-purpose template for most API integrations. Includes all data fields most customers need.

At a glance

Template codeapi.json
Output formatsJSON
Supported endpointsListening API exports, Listening API streaming, Explore+ API search
Streaming supportYes

See Conventions for behaviour shared across all templates.

Field reference

FieldPathDescriptionTypeExampleEarned SourcesOwned Sources
Document MetadataHigh-level details for documents, such as the document type and ID
Document IDidUnique ID of the document in the Meltwater platformstring
"1713459776000_K49ugt285FchyyIqJ15D85lyR5wA"
AllXFacebookInstagramTikTokLinkedIn
Published Date & Timepublished_dateDate & time when the document was published by the sourcedatetime
"2024-01-01T14:30:45.000Z"
AllXFacebookInstagramTikTokLinkedIn
Indexed Date & Timeindexed_dateDate & time when the document was added to the Meltwater platformdatetime
"2024-01-01T14:30:45.000Z"
AllXFacebookInstagramTikTokLinkedIn
URLurlURL of the documentstring
"https://edition.cnn.com/2024/04/21/world/lyrid-meteor-shower-april-pink-moon-scn"
NewsRSSFacebookInstagramRedditForumsBlogsCommentsReviewsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokBroadcastFacebookInstagramTikTokLinkedIn
Parent URLparent.urlThe URL of the parent document, for example if this document is a replystring
"https://lihkg.com/thread/3680511/page/29"
FacebookRedditForumsCommentsYouTube
Thread Titlethread.titleTitle of the thread this document relates tostring
"What do you think of the latest iPhone?"
FacebookForumsKakaoTalk
Thread URLthread.urlURL of the thread this document relates tostring
"https://lihkg.com/thread/3680511/page/29"
FacebookRedditForumsFacebook
Document External IDexternal_idUnique ID of the document in the source platformstring
"1781005504061268063"
XX
Source MetadataDetails of the source that the document originates from
Information Typesource.information_typeInformation type of the source, for example 'news'string
"news"
"social"
AllXFacebookInstagramTikTokLinkedIn
Source IDsource.idUnique ID of the source in the Meltwater platformstring
"social:tiktok"
NewsRSSXFacebookInstagramRedditForumsBlogsCommentsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokBroadcastXFacebookInstagramTikTokLinkedIn
Source Typesource.typeThe type of the source, for example a forumstring
"online news"
"rss"
"blog"
"forum"
"reviews"
"comments"
"social network"
AllXFacebookInstagramTikTokLinkedIn
Source Namesource.nameThe name of the sourcestring
"New York Times"
"Facebook"
NewsRSSXFacebookInstagramRedditForumsBlogsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokBroadcastXFacebookInstagramTikTokLinkedIn
Source Domainsource.domainDomain or subdomain for the sourcestring
"bbc.com"
NewsRSSFacebookInstagramRedditForumsBlogsCommentsReviewsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokBroadcastXFacebookInstagramTikTokLinkedIn
Source URLsource.urlURL of the source onlinestring
"http://www.bbc.com"
NewsRSSFacebookInstagramRedditForumsBlogsCommentsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokXFacebookInstagramTikTokLinkedIn
Outlet Typessource.outlet_typesThe type of outlet, when a news sourcearray(string)
"magazine"
"blog"
NewsBroadcast
Match ContextDetails of why this document has been matched for output
Matched Inputmatched.inputsInputs that caused the document to matcharray(object)
{"type": "search", "name": "My Search", "id": 1234 }
{"type": "tag", "name": "My Tag" }
AllXFacebookInstagramTikTokLinkedIn
Keywordsmatched.keywordsKeywords that were found and led to the matcharray(string)
"Tesla"
"artificial intelligence"
AllXFacebookInstagramTikTokLinkedIn
Hit Sentencematched.hit_sentenceSentence within the document that led to the matchstring
"..announced today that they plan to launch a new product featuring new AI capabilities..."
NewsRSSFacebookInstagramForumsBlogsCommentsReviewsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokBroadcastFacebookInstagramTikTokLinkedIn
AuthorDetails of the document's author, such as name or handle
Author Nameauthor.nameName of the document's authorstring
"John Smith"
NewsRSSFacebookForumsBlogsReviewsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokXFacebookTikTok
Author Handleauthor.handleHandle of the document's authorstring
"john_smith"
FacebookRedditBlogsCommentsTwitchPinterestBilibiliDouyinWeiboWeChatYoukuLineVoomKakaoTalkTikTokXInstagramTikTok
Author Profile URLauthor.profile_urlProfile URL of the document's authorstring
"https://instagram.com/john_smith"
FacebookRedditBlogsReviewsYouTubeTwitchPinterestBilibiliDouyinWeiboWeChatYoukuLineVoomKakaoTalkTikTokXInstagram
Author External IDauthor.external_idID of the author in the source platformstring
"1363119296"
XX
ContentContent fields for the document, such as title
Titlecontent.titleTitle of the documentstring
"Today Joe Biden announced his plans for social care"
NewsRSSFacebookForumsBlogsYouTubeTwitchBilibiliDouyinREDWeChatYoukuKakaoTalkBroadcast
Opening Textcontent.opening_textOpening text of the documentstring
"In the past 20 years, the reverence for the film has only grown, to the point that Napoleon (Jon Heder), Pedro (Efren Ramirez) and Uncle ..."
NewsRSSFacebookInstagramForumsBlogsCommentsReviewsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokXFacebookInstagramTikTokLinkedIn
Bodycontent.bodyText content of the document. For Facebook and Instagram, the full text is supplied. For other social sources the first 280 characters, for news the first 140 characters.string
"In the past 20 years, the reverence for the film has only grown, to the point that Napoleon (Jon Heder), Pedro (Efren Ramirez) and Uncle ..."
FacebookInstagramForumsBlogsCommentsReviewsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokFacebookInstagramTikTok
By Linecontent.bylineBy line of the document, as provided for news articlesstring
"Written by Jane Doe"
NewsRSS
Image URLcontent.imageURL for the main image of a documentstring
"http://images.newsite.com/path/to/image.jpg"
NewsXFacebookInstagramRedditForumsBlogsYouTubeTwitchPinterestBilibiliDouyinREDWeiboYoukuLineVoomKakaoTalkTikTokInstagramTikTok
Hashtagscontent.hashtagsHashtags within the document contentarray(string)
"#ai"
"#course"
InstagramBlogsYouTubeTwitchPinterestBilibiliDouyinREDWeiboLineVoomTikTokFacebookInstagramTikTok
Mentionscontent.mentionsMentions within the document contentarray(string)
"@BBC"
"@CNN"
InstagramYouTubeTikTokInstagram
Emojiscontent.emojisEmojis within the document contentarray(string)
"😂"
"👍"
"🔥"
FacebookInstagramForumsBlogsCommentsTwitchPinterestDouyinREDWeiboWeChatLineVoomKakaoTalkTikTokFacebookInstagramTikTok
Linkscontent.linksLinks found within the document contentarray(string)
"http://www.newsite.com/link/to/article"
NewsFacebookInstagramRedditForumsBlogsYouTubeTwitchPinterestBilibiliWeiboWeChatYoukuLineVoom
Content Typecontent_typeThe type of content contained in the documentstring
"news article"
"other"
"audio"
"video"
"review"
"comment"
"blog post"
"forum post"
"forum post reply"
"direct message"
"quote"
"repost"
"reply"
"comment"
"social post"
AllXFacebookInstagramTikTokLinkedIn
EnrichmentsEnrichments applied by the Meltwater platform, such as sentiment
Language Codeenrichments.language_code2-letter code of the language detected for the documentstring
"en"
"fr"
"de"
AllXFacebookInstagramTikTokLinkedIn
Sentimentenrichments.sentimentOverall sentiment of the documentstring
"positive"
"neutral"
"negative"
"unknown"
NewsRSSXFacebookInstagramRedditForumsBlogsCommentsReviewsTwitchPinterestBilibiliDouyinREDWeiboYoukuLineVoomKakaoTalkTikTokBroadcastXFacebookInstagramTikTokLinkedIn
Keyphrasesenrichments.keyphrasesKeyphrases found within the document contentarray(string)
"Machine Learning"
"Artificial Intelligence"
NewsRSSXFacebookInstagramRedditForumsBlogsCommentsReviewsTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokBroadcastXFacebookInstagramTikTokLinkedIn
Named Entitiesenrichments.named_entitiesNamed entities detected in the content with sentiment and typearray(object)
{"name": "Emerging Technologies", "sentiment": "positive", "type": "organization"}
NewsRSSXFacebookInstagramRedditForumsBlogsCommentsReviewsTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkTikTokBroadcastFacebookInstagramTikTokLinkedIn
LocationLocation details, for example the country of the document's origin
Country Codelocation.country_code2-letter code of the country where the document was publishedstring
"us"
"fr"
NewsRSSXFacebookInstagramRedditForumsBlogsCommentsReviewsYouTubeTwitchPinterestBilibiliDouyinREDWeiboWeChatYoukuLineVoomKakaoTalkBroadcastXFacebookInstagramTikTokLinkedIn
Citylocation.cityCity where the document was publishedstring
"London"
"Paris"
NewsXFacebookWeibo
Statelocation.stateState where the document was publishedstring
"California"
"Florida"
NewsXFacebookDouyinWeibo
Regionlocation.regionRegion where the document was publishedstring
"Rhode Island"
NewsXFacebookDouyinWeibo
Geolocation.geoApproximate latitude and longitude where the document was publishedobject
{"latitude": 43.64801, "longitude": -93.36827}
NewsXFacebookInstagramRedditForumsBlogsCommentsReviewsTwitchBilibiliDouyinWeiboWeChatYoukuBroadcastX
Source MetricsMetrics for the source of the document, such as reach
AVEsource.metrics.aveAdvertising Value Equivalency of the documentnumeric
10.42
NewsRSSXFacebookRedditTwitchPinterestWeiboKakaoTalkBroadcastX
Reachsource.metrics.reachReach for the document, for example number of followers for social authors, or estimate of number of visitors for a news sitenumeric
1532
NewsRSSXFacebookRedditTwitchPinterestWeiboKakaoTalkBroadcastX
Global Reachsource.metrics.global_reachThe estimated audience for a source across the globe.numeric
13521
NewsRSSXFacebookRedditTwitchPinterestWeiboKakaoTalkX
National Reachsource.metrics.national_reachThe estimated audience for a source in the source's country.numeric
13521
NewsRSSXFacebookRedditTwitchPinterestWeiboKakaoTalkBroadcastX
Local Reachsource.metrics.local_reachThe estimated audience for a source for a defined local market, such as a city, region, or DMA.numeric
13521
NewsRSSXFacebookRedditTwitchPinterestWeiboKakaoTalkX
Desktop Reachsource.metrics.reach_desktopEstimate of number of visitors for a news site using a desktop computernumeric
1002
NewsRSS
Mobile Reachsource.metrics.reach_mobileEstimate of number of visitors for a news site using a mobile devicenumeric
987
NewsRSS
Document MetricsMetrics for the document, such as engagement and social echo
Editorial Echometrics.editorial_echoHow many times the article is referenced with a hyperlink in the body of a different articlenumeric
1000
News
Social Echometrics.social_echo.totalNumber of times an article has been shared on social networksnumeric
1054
News
Social Echo - Xmetrics.social_echo.xNumber of times an article has been shared on Xnumeric
10
News
Social Echo - Facebookmetrics.social_echo.facebookNumber of times an article has been shared on Facebooknumeric
52
News
Social Echo - Redditmetrics.social_echo.redditNumber of times an article has been shared Redditnumeric
19
News
Viewsmetrics.viewsNumber of views of the social postnumeric
100342
XTwitchBilibiliYouku
Estimated Viewsmetrics.estimated_viewsEstimated views for a news article based on the reach of the sourcenumeric
10012
News
Engagementmetrics.engagement.totalTotal engagement for the social post or articlenumeric
910
NewsXFacebookInstagramForumsBlogsCommentsPinterestBilibiliDouyinREDWeiboLineVoomTikTokTikTok
Likesmetrics.engagement.likesNumber of likes for the social postnumeric
10
XFacebookBlogsTikTokTikTokLinkedIn
Repliesmetrics.engagement.repliesNumber of replies for the social postnumeric
18
FacebookInstagramRedditCommentsBilibiliDouyinREDWeiboLineVoomKakaoTalkTikTokTikTokLinkedIn
Commentsmetrics.engagement.commentsNumber of comments for the social postnumeric
10
FacebookInstagramTikTokTikTok
Sharesmetrics.engagement.sharesShares of the documentnumeric
23
FacebookPinterestWeiboLineVoomKakaoTalkTikTokTikTok
Quotesmetrics.engagement.quotesNumber of quotes of the social postnumeric
10
X
Repostsmetrics.engagement.repostsNumber of reposts of the social postnumeric
10
X
Reactionsmetrics.engagement.reactionsTotal number of reactions for the social postnumeric
17
XFacebookInstagramRedditBlogsBilibiliDouyinREDWeiboLineVoomKakaoTalkTikTokTikTokLinkedIn
Customer ContextCustomer-specific metadata for the document, such as if the document has been tagged
Tagscustom.tagsTags applied to the document in the Meltwater applicationarray(string)
"My tag"
"Brand mentions"
AllFacebookInstagramTikTokLinkedIn
Hiddencustom.hiddenTrue if the document has been hidden in the Meltwater applicationboolean
true
false
AllXFacebookInstagramTikTokLinkedIn
Visibilitycustom.visibleWhether the document is public (available to all customers), or private to the customer exporting datastring
"public"
"private"
AllXFacebookInstagramTikTokLinkedIn
Custom CategoriesExports onlycustom.custom_categoriesIf Custom Categories are specified for classification, which categories match this documentarray(object)
{"id":534,"name":"BMW"}
{"id":73016,"name":"Toyota"}
AllXFacebookInstagramTikTokLinkedIn
Custom FieldsExplore+ onlycustom.custom_fieldsCustom Field values that have been matched to this document through assignment rulesarray(object)
{ "id": 123, "name": "Environment", "values": [{ "id": 456, "name": "Green Energy" }] }
AllXFacebookInstagramTikTokLinkedIn