API Overview
The TrendScribbr API allows you to programmatically generate high-quality articles, social media posts, newsletters, and other content using our AI-powered platform. Our API is RESTful, uses JSON for requests and responses, and supports authentication via API keys.
Key Features
- AI-Powered Generation: State-of-the-art language models for content creation
- Brand Consistency: Maintain your brand voice and style across all content
- Trend Analysis: Generate content based on real-time social media trends
- Multiple Formats: Support for articles, social posts, newsletters, and more
- RESTful Design: Clean, intuitive API following REST principles
Quick Start
Get API Key
Sign up for TrendScribbr and generate an API key from your dashboard settings.
Make API Call
Use your API key to authenticate requests to our content generation endpoints.
Generate Content
Receive AI-generated content in seconds, ready for your applications.
Base URL
Rate Limits
API requests are subject to plan-based rate limits. Higher-tier plans offer increased limits and priority processing.
Authentication
All API requests require authentication using an API key. API keys are tied to your TrendScribbr account and can be managed from your dashboard.
Security Best Practices
- Keep your API keys secure and never expose them in client-side code
- Rotate your API keys regularly for enhanced security
- Use different keys for different applications/environments
- Monitor API key usage through your dashboard
Authentication Methods
You can authenticate requests using any of these methods:
X-API-Key Header (Recommended)
Authorization Header
Query Parameter
API Endpoints
Generate new content including articles, social media posts, newsletters, and blog posts.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
content_type |
string | Yes | Content type: "article", "social", "newsletter", "post", "batch" |
custom_topic |
string | No | Custom topic for content generation |
custom_prompt |
string | No | Custom instructions for content generation |
reddit_post_id |
integer | No | ID of specific Reddit post to base content on |
Success Response (200)
Error Response (400)
Check the status and progress of a content generation job.