Requesting article data
To include article data in your request, setattach_articles_data: true
:
Default article fields
By default, whenattach_articles_data
is set to true
, each article object
includes four basic fields:
id
: Unique identifier for the articletitle
: Article titlelink
: URL link to the articlemedia
: Media associated with the article
Available additional fields
The API supports requesting additional article fields through theadditional_article_fields
parameter. Available fields include:
-
Author information:
author
: Primary author of the articleauthors
: List of authors of the articlejournalists
: List of journalists associated with the article
-
Publication details:
published_date
: Date the article was publishedpublished_date_precision
: Precision of the published datename_source
: Name of the source where the article was publishedlanguage
: Language in which the article is writtendescription
: Brief description of the articlecontent
: Full content of the article
-
Domain information:
domain_url
: Domain URL of the articlefull_domain_url
: Full domain URL of the article
-
Article attributes:
is_headline
: Indicates if the article is a headlinepaid_content
: Indicates if the article is paid contentrights
: Rights information for the articlerank
: Rank of the article’s sourceis_opinion
: Indicates if the article is an opinion pieceword_count
: Word count of the articletwitter_account
: Twitter account associated with the article
-
Link analysis:
all_links
: List of all URLs mentioned in the articleall_domain_links
: List of all domain URLs mentioned in the articleextraction_data.parent_url
: Parent URL information from extraction metadata
-
Natural language processing:
nlp.theme
: Article themes or categoriesnlp.summary
: AI-generated article summarynlp.sentiment
: Sentiment analysis scoresnlp.ner_PER
: Named entities (persons)nlp.ner_ORG
: Named entities (organizations)nlp.ner_MISC
: Named entities (miscellaneous)nlp.ner_LOC
: Named entities (locations)
Requesting additional fields
Useadditional_article_fields
to request specific fields beyond the default
ones: