API Documentation
Integrate ScribeDOT into your workflow with our powerful REST API. Generate SEO-optimized articles programmatically.
Quick Start
1.
Get your API key from your dashboard settings
2.
Include your API key in the Authorization header
3.
Make a POST request to generate articles
Authentication
All API requests require authentication using your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Generate Article
POST
/api/v2/article/generate
Generates a new SEO-optimized article based on your parameters.
Request Parameters
ParameterTypeRequiredDescription
title
stringYes"title/topic"length
stringYes"short", "medium", "long"language
stringYes"en", "fr", "es", "ar", "zh", etc.style
stringYes"professional", "casual", "technical"format
stringYes"html", "mdx", "wordpress", "shopify", "webflow"Code Examples
cURL
curl -X POST https://app.scribedot.com/api/v1/articles/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"title": "How to improve SEO in 2025",
"length": "long",
"language": "en",
"style": "professional",
"format": "html"
}'
Node.js
const axios = require('axios');
const generateArticle = async () => {
try {
const response = await axios.post(
'https://app.scribedot.com/api/v1/articles/generate',
{
title: 'How to improve SEO in 2025',
length: 'long',
language: 'en',
style: 'professional',
format: 'html'
},
{
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
console.log('Article generated:', response.data);
} catch (error) {
console.error('Error:', error.response.data);
}
};
generateArticle();
Python
import requests
def generate_article():
url = "https://app.scribedot.com/api/v1/articles/generate"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
}
data = {
"title": "How to improve SEO in 2025",
"length": "long",
"language": "en",
"style": "professional",
"format": "html"
}
response = requests.post(url, json=data, headers=headers)
if response.status_code == 200:
print("Article generated:", response.json())
else:
print("Error:", response.json())
generate_article()
Response Example
{
"articleId": "cm8x9y1z2000...",
"status": "completed",
"wordCount": 1247,
"formatType": "html",
"article": {
"title": "How to improve SEO in 2025",
"content": "...",
"metaDescription": "...",
"createdAt": "2025-01-15T10:30:00Z"
}
}
Rate Limits
Free Plan: 2 articles per month
Pro Plan: 30 articles per month
Rate Limit: 1 generation per 5 minutes
Use Cases
Automated Content Publishing
Integrate with your CMS to automatically generate and publish articles on schedule.
Bulk Article Generation
Generate multiple articles at once from a list of topics for content planning.
Content Marketing Automation
Build automated workflows that generate content based on trending topics or keywords.
Multi-Language Content
Create the same article in multiple languages for international audiences.