News Topics API
Connect stories to subjects without losing the event context.
TOPIC GUIDE / 11
Social content is short, repetitive, and often missing context. Build topic analysis around permitted data, documented sampling, careful deduplication, and clear distinctions between what was observed and what was inferred.

Write down which sources, languages, time windows, and collection methods your dataset covers. A count only describes the material you observed. It should not quietly become a claim about all users, an entire platform, or public opinion.
Keep a record of missing or unavailable content when that affects interpretation. A change in collection coverage can produce a change in topic counts even when the underlying discussion has not changed in the same way.
Identical reposts, lightly edited copies, and original posts about the same event are different relationships. Decide whether the workflow counts individual posts, unique texts, or clusters. Preserve the original records even when the display groups them.
A repeated phrase can be evidence of copying without proving coordination or intent. Keep the classification close to what the data supports. Topic grouping should help a reader inspect the material, not attribute motives that the record cannot establish.
A hashtag may be ironic, unrelated, or too broad to explain a post. Use surrounding text and linked context only when you have appropriate access and a clear reason to include it. Mark the limits when the available text is insufficient.
Separate topic, sentiment, and stance into different tasks. A post about a policy is not necessarily favorable or unfavorable toward it. Avoid inferring a person’s political belief or sensitive identity from a broad content label.
If you display a topic’s change over time, retain the denominator, window, and deduplication policy used for each measurement. Compare like with like. A large increase from a tiny baseline can be less informative than the headline suggests.
Respect the conditions under which the underlying material can be used, retained, and displayed. Topic metadata does not automatically remove obligations attached to source content. Keep deletion and correction handling connected to the records that depend on that content.
This example highlights fields worth discussing when you design your own contract. Define their meanings, allowed values, and review rules before an application relies on them.
| FIELD | PURPOSE |
|---|---|
observation_window | Period of the collected material |
collection_scope | What the sample includes |
cluster_id | Documented grouping of related records |
count_unit | Posts, unique texts, or clusters |
{
"topic_id": "publishing.community",
"observation_window": "example-window",
"collection_scope": "permitted sample",
"count_unit": "unique_texts",
"deduplication_policy": "example-v1"
}Illustrative schema and example values; adapt them to your data and review process.
No. Treat it as one piece of evidence and inspect the surrounding content, including ambiguity and irony.
A collection describes the material it includes. Do not extend its meaning beyond the documented sample and analysis method.
Keep a documented source record where permitted. Group or exclude duplicates for a particular analysis without losing the relationship needed to explain the result.
CONNECTED TOPICS
Connect stories to subjects without losing the event context.
Classify policy subjects with attribution and context.
Label content with evidence, representative tests, and review.