Annotation types
Entity annotations
Named-entity recognition (NER) identifies specific mentions in post text:
Entity annotations include a confidence score and position in the text.
Context annotations
Semantic analysis that classifies posts by topic and domain:- Domain: Broad category (Sports, Entertainment, Technology)
- Entity: Specific topic within the domain (NBA, Marvel Movies, AI)
Requesting annotations
Addcontext_annotations and entities to your tweet.fields:
Response structure
Entity annotation fields
Context domains
X uses 80+ domains to categorize posts. Common domains include:- Entertainment
- Sports
- Business & Tech
- Other
Domain 131 (Unified Twitter Taxonomy) powers X’s Topics feature visible to users on the platform.
Using annotations in filters
Search and filtered stream
Filter posts by context annotation entity ID:Practical examples
Language support
Annotations are available for multiple languages:
Coverage varies by domain and market.
Important notes
- Annotations are not retroactive—only applied when entities are tracked
- The same entity can appear in multiple domains (e.g., a celebrity is both Person and Actor)
- Entity IDs are stable across domains
Resources
Context Entity List
CSV of available context annotation entities.