analyze_content
AI-powered content analysis featuring language detection, topic extraction, sentiment analysis, and SEO quality scoring. Perfect for content classification and quality assessment.
Use Cases
Content Classification
Automatically categorize articles, blog posts, or documents by topic and sentiment
SEO Quality Assessment
Score content quality for readability, keyword usage, and SEO best practices
Sentiment Monitoring
Track brand sentiment across reviews, social media, or customer feedback
Content Curation
Filter and rank content based on quality, relevance, and sentiment scores
Multilingual Detection
Automatically identify and route content by language for processing
Topic Extraction
Discover main topics, keywords, and entities for tagging and search
Endpoint
/api/v1/tools/analyze_content
Parameters
Name | Type | Required | Default | Description |
---|---|---|---|---|
text | string | Required | - | Text content to analyze (max 50,000 characters) Example: Your article or content text here... |
options | object | Optional | - | Analysis options configuration Example: {"enableSemanticAnalysis": true, "includeSEOScore": true} |
enableSemanticAnalysis | boolean | Optional | true | Extract topics, entities, and semantic structure Example: true |
includeSEOScore | boolean | Optional | true | Calculate SEO quality metrics Example: true |
detectLanguage | boolean | Optional | true | Identify content language automatically Example: true |
analyzeSentiment | boolean | Optional | true | Perform sentiment analysis Example: true |
Request Examples
Response Example
{ "success": true, "data": { "language": "en", "languageConfidence": 0.99, "sentiment": { "overall": "positive", "score": 0.75, "magnitude": 0.6, "emotions": { "joy": 0.3, "optimism": 0.45 } }, "topics": [ "artificial intelligence", "software development", "GitHub Copilot", "developer tools" ], "entities": [ { "text": "GitHub Copilot", "type": "PRODUCT", "salience": 0.8 }, { "text": "AI", "type": "TECHNOLOGY", "salience": 0.9 } ], "seoScore": 78, "seoAnalysis": { "readability": 85, "keywordDensity": "optimal", "contentLength": "good", "headingStructure": "needs-improvement", "suggestions": [ "Add headings (H1, H2, H3) for better structure", "Content length is good (150+ words recommended)" ] }, "statistics": { "characterCount": 156, "wordCount": 28, "sentenceCount": 2, "avgWordsPerSentence": 14, "readingTime": "7 seconds" } }, "credits_used": 3, "credits_remaining": 997, "processing_time": 1850}
data.language
Detected language (ISO 639-1 code)data.sentiment.overall
Overall sentiment: positive, neutral, or negativedata.sentiment.score
Sentiment polarity score (-1 to +1)data.topics
Main topics extracted from contentdata.entities
Named entities with type and importance (salience)data.seoScore
Overall SEO quality score (0-100)credits_used
Fixed 3 credits per analysisprocessing_time
Analysis typically takes 1-3 secondsError Handling
Text Too Long (400 Bad Request)
Content exceeds 50,000 character limit. Split into smaller chunks.
Text Too Short (400 Bad Request)
Minimum 50 characters required for meaningful analysis.
Language Not Supported (400 Bad Request)
Content language couldn't be detected or isn't supported. We support 100+ languages.
Analysis Failed (500 Internal Server Error)
AI analysis encountered an error. Try simplifying the text or contact support.
Credit Cost
What's Included:
- Language detection (100+ languages)
- Sentiment analysis with emotion breakdown
- Topic and entity extraction
- SEO quality scoring
- Readability metrics
- Content statistics
Plan Recommendations:
Free Plan: 1,000 credits = 333 content analyses
Hobby Plan: 5,000 credits = 1,666 analyses ($19/mo)
Professional Plan: 50,000 credits = 16,666 analyses ($99/mo)