Features
- Keyword Research Integration: DataForSEO API for volume, CPC, and competition metrics
- Competitive Analysis: Automated content scraping and gap analysis
- Topic Generation: AI-powered topic suggestions based on keyword data
- Content Creation: Full article generation with SEO optimization
- Real-time Processing: Live streaming of content generation progress
Architecture Overview
The content generation process follows a four-stage pipeline:Processing Pipeline
Stage 1: Business Context Analysis
Analyze the target website to understand business focus, audience, and content style.Stage 2: Keyword Research
Research and validate keywords using DataForSEO API for search volume and competition data.Stage 3: Topic Development
Generate SEO-optimized topic suggestions based on keyword opportunities and competitive gaps.Stage 4: Article Generation
Create comprehensive articles with proper SEO structure, internal linking, and calls-to-action.Implementation
Business Summary Generation
Keyword Research Workflow
Article Generation Process
API Reference
Business Summary Endpoint
Keyword Research Endpoint
domain
: Target domain for researchseedKeywords
: Comma-separated list of seed keywordslocation
: Geographic location for search datalimit
: Maximum number of keywords to return
Topic Generation Endpoint
Article Generation Endpoint
Core Components
Component | Purpose |
---|---|
URLCheckerService | Website accessibility validation |
DataForSEO Client | Keyword metrics and search data |
Content Scraper | Competitor content extraction |
LLM Chain | Content generation and optimization |
Topic Validator | Topic uniqueness and SEO potential |
Article Formatter | SEO structure and formatting |
Configuration
Keyword Research Settings
Content Generation Parameters
Usage Examples
Complete Article Generation Workflow
Python Integration
Performance & Limits
Processing Metrics
- Business Analysis: 5-15 seconds per website
- Keyword Research: 10-30 seconds for 100 keywords
- Topic Generation: 3-8 seconds per topic
- Article Creation: 45-90 seconds for 2000-word articles
Rate Limits
- API Requests: 100 requests per hour per API key
- DataForSEO Calls: Limited by DataForSEO subscription
- Content Generation: 20 articles per day per account
Content Specifications
- Article Length: 500-5000 words
- Keyword Density: 1-3% for target keywords
- Reading Level: Flesch score 60-80 (accessible)
- SEO Structure: H1, H2, H3 hierarchy with keyword optimization
Error Handling
Common Error Responses
Status Code | Error Type | Description | Solution |
---|---|---|---|
400 | INVALID_WEBSITE_URL | Website URL inaccessible or invalid | Verify URL format and website accessibility |
429 | KEYWORD_QUOTA_EXCEEDED | DataForSEO API limit reached | Upgrade DataForSEO plan or wait for reset |
422 | INSUFFICIENT_CONTENT | Website lacks adequate content for analysis | Provide alternative content sources |
500 | GENERATION_FAILED | Article generation pipeline error | Retry with simplified requirements |
Error Response Format
Integration Guide
Authentication
All requests require API key authentication:Webhook Configuration
Configure webhooks for content completion:Content Quality Controls
Generated articles include:- SEO Optimization: Proper keyword placement and density
- Readability: Target Flesch score of 60-80
- Structure: Logical H1-H6 heading hierarchy
- Internal Linking: Strategic links to related content
- Meta Elements: Optimized title tags and descriptions
- Content Guidelines: Brand voice and style consistency