Developer Documentation
Integrate Reddit insights into your applications with our powerful, easy-to-use API.
Quick Start
Get started with the reddit-insights.com API in minutes. All API endpoints require authentication and are available for Pro and Enterprise subscribers.
Authorization: Bearer YOUR_API_KEY https://reddit-insights.com/v1 Getting Your API Key
API keys are available in your account dashboard after subscribing to a Pro or Enterprise plan. Each API call counts toward your monthly quota based on your subscription tier.
Interactive API Explorer
Testing Counts Toward Your Quota
API requests made through this explorer will count against your plan's quota. Make sure you have an active subscription or free tier credits available.
Loading API Explorer...
Endpoints
/api/v1/search/semantic
PAID API
Semantic Search (AI Search)
Search Reddit conversations using natural language queries with AI-powered semantic understanding. This endpoint uses advanced language models to understand the meaning and context of your query, returning the most relevant discussions.
Request Example
curl -X POST https://reddit-insights.com/api/v1/search/semantic \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "What do young people complain about banking apps?",
"limit": 20
}'Response Example
{
"success": true,
"data": {
"query": "What do young people complain about banking apps?",
"results": [
{
"id": "abc123",
"title": "Why is my bank's app so slow?",
"content": "I'm 24 and switched to this bank because they claimed to be digital-first...",
"subreddit": "personalfinance",
"upvotes": 342,
"comments": 87,
"created": "2024-01-15T10:30:00Z",
"relevance": 0.95,
"sentiment": "negative",
"url": "https://reddit.com/r/personalfinance/comments/abc123"
},
{
"id": "def456",
"title": "Banking app UI is terrible for Gen Z",
"content": "As someone in their early 20s, I find most banking apps...",
"subreddit": "technology",
"upvotes": 256,
"comments": 64,
"created": "2024-01-14T15:20:00Z",
"relevance": 0.89,
"sentiment": "negative",
"url": "https://reddit.com/r/technology/comments/def456"
}
],
"total": 2,
"processing_time_ms": 1245,
"ai_summary": "Young users frequently complain about slow performance, outdated UI design, and lack of modern features like instant notifications and biometric authentication."
}
} /api/v1/search/vector
PAID API
Vector Search
Perform high-speed vector similarity search on Reddit posts. This endpoint converts your query into embeddings and finds semantically similar content using vector database technology.
Request Example
curl -X POST https://reddit-insights.com/api/v1/search/vector \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "electric vehicle charging problems",
"limit": 50,
"start_date": "2024-01-01",
"end_date": "2024-01-31"
}'Response Example
{
"success": true,
"data": {
"query": "electric vehicle charging problems",
"results": [
{
"id": "vec001",
"title": "EV charging station was broken again",
"content": "Drove 20 miles to the nearest charging station only to find...",
"subreddit": "electricvehicles",
"upvotes": 445,
"comments": 123,
"created": "2024-01-20T08:15:00Z",
"similarity_score": 0.92,
"url": "https://reddit.com/r/electricvehicles/comments/vec001"
},
{
"id": "vec002",
"title": "Charging infrastructure needs improvement",
"content": "Living in a rural area, the lack of reliable charging stations...",
"subreddit": "teslamotors",
"upvotes": 312,
"comments": 89,
"created": "2024-01-18T14:30:00Z",
"similarity_score": 0.88,
"url": "https://reddit.com/r/teslamotors/comments/vec002"
}
],
"total": 2,
"processing_time_ms": 234
}
} /api/v1/trends
PAID API
Trending Topics
Discover trending topics and discussions on Reddit, sorted by popularity and engagement. Track what's hot in specific time periods.
Request Example
curl -X POST https://reddit-insights.com/api/v1/trends \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"start_date": "2024-01-01",
"end_date": "2024-01-31",
"limit": 20
}'Response Example
{
"success": true,
"data": {
"trends": [
{
"id": "trend001",
"topic": "AI regulation debate",
"post_count": 1247,
"total_upvotes": 45632,
"total_comments": 8934,
"avg_sentiment": 0.42,
"top_subreddits": [
"technology",
"artificial",
"futurology"
],
"trending_keywords": [
"regulation",
"AI safety",
"ethics",
"government"
],
"sample_posts": [
{
"id": "post001",
"title": "EU passes landmark AI regulation",
"subreddit": "technology",
"upvotes": 5432,
"comments": 892,
"created": "2024-01-25T09:00:00Z"
}
],
"trend_score": 98.5,
"growth_rate": 245.3
},
{
"id": "trend002",
"topic": "Remote work policies",
"post_count": 892,
"total_upvotes": 32145,
"total_comments": 5621,
"avg_sentiment": 0.15,
"top_subreddits": [
"jobs",
"careerguidance",
"antiwork"
],
"trending_keywords": [
"RTO",
"hybrid",
"productivity",
"office"
],
"sample_posts": [
{
"id": "post002",
"title": "Company forcing return to office",
"subreddit": "antiwork",
"upvotes": 4123,
"comments": 734,
"created": "2024-01-22T11:30:00Z"
}
],
"trend_score": 87.2,
"growth_rate": 156.8
}
],
"total": 2,
"date_range": {
"start": "2024-01-01",
"end": "2024-01-31"
},
"processing_time_ms": 567
}
} /api/v1/sonars
FREE - No Quota Usage
List Sonars (FREE)
Get all your monitoring sonars. This endpoint is FREE and does not count toward your API quota.
Request Example
curl -X GET "https://reddit-insights.com/api/v1/sonars" \
-H "Authorization: Bearer YOUR_API_KEY"Response Example
{
"success": true,
"data": {
"sonars": [
{
"id": "sonar_123",
"name": "Banking App Complaints",
"query": "What are the biggest complaints about banking apps?",
"description": "Monitor negative feedback about banking apps",
"enabled": true,
"schedule": "daily",
"lastExecutedAt": "2024-01-15T10:00:00Z",
"nextExecutionAt": "2024-01-16T10:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
}
]
}
} /api/v1/sonars
FREE - No Quota Usage
Create Sonar (FREE)
Create a new monitoring sonar to track Reddit conversations and get alerts. This endpoint is FREE and does not count toward your API quota.
Request Example
curl -X POST https://reddit-insights.com/api/v1/sonars \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Product Feedback Monitor",
"query": "What do users think about our product?",
"description": "Track product feedback and complaints",
"schedule": "daily",
"triggers": {
"keywords": [
"bug",
"issue",
"problem"
],
"sentiment": "negative",
"minNewPosts": 5
},
"notifyEmail": true,
"notifySlack": false
}'Response Example
{
"success": true,
"data": {
"sonar": {
"id": "sonar_456",
"name": "Product Feedback Monitor",
"query": "What do users think about our product?",
"description": "Track product feedback and complaints",
"enabled": true,
"schedule": "daily",
"triggers": {
"keywords": [
"bug",
"issue",
"problem"
],
"sentiment": "negative",
"minNewPosts": 5
},
"notifyEmail": true,
"notifySlack": false,
"nextExecutionAt": "2024-01-16T10:00:00Z",
"createdAt": "2024-01-15T12:00:00Z"
}
}
} /api/v1/sonars/{id}/executions
FREE - No Quota Usage
Get Sonar Executions (FREE)
Get execution history for a specific sonar. This endpoint is FREE and does not count toward your API quota.
Request Example
curl -X GET "https://reddit-insights.com/api/v1/sonars/{id}/executions?limit=50&offset=0" \
-H "Authorization: Bearer YOUR_API_KEY"Response Example
{
"success": true,
"data": {
"executions": [
{
"id": "exec_789",
"status": "completed",
"executedAt": "2024-01-15T10:00:00Z",
"newPostsCount": 12,
"triggered": true,
"triggerReason": "Found 12 new posts (threshold: 5)\nFound 3 posts with alert keywords",
"notificationSent": true,
"aiSummary": "Recent discussions show increased complaints about app crashes..."
}
],
"total": 1,
"limit": 50,
"offset": 0
}
} /api/v1/sonars/executions/{executionId}
FREE - No Quota Usage
Get Execution Detail (FREE)
Get detailed search results from a specific sonar execution, including all posts, statistics, and AI summary. Returns the same data you would see in the Explorer page. This endpoint is FREE and does not count toward your API quota.
Request Example
curl -X GET "https://reddit-insights.com/api/v1/sonars/executions/{executionId}" \
-H "Authorization: Bearer YOUR_API_KEY"Response Example
{
"success": true,
"data": {
"execution": {
"id": "exec_789",
"sonarId": "sonar_123",
"sonarName": "Banking App Complaints",
"status": "completed",
"executedAt": "2024-01-15T10:00:00Z",
"query": "What are the biggest complaints about banking apps?",
"keywords": [
"slow",
"crashes",
"bugs",
"ui",
"features"
],
"newPostsCount": 12,
"aiSummary": "Recent discussions show increased complaints about app crashes and slow performance...",
"triggered": true,
"triggerReason": "Found 12 new posts (threshold: 5)",
"notificationSent": true
},
"results": [
{
"id": "post_123",
"title": "Why is my bank's app so slow?",
"content": "I'm 24 and switched to this bank because they claimed to be digital-first...",
"subreddit": "personalfinance",
"upvotes": 342,
"comments": 87,
"created": "2024-01-15T08:30:00Z",
"url": "https://reddit.com/r/personalfinance/comments/...",
"relevance": 0.95,
"sentiment": "negative",
"emotion": "frustrated"
}
],
"stats": {
"totalPosts": 12,
"avgUpvotes": 156.3,
"avgComments": 42.5,
"topSubreddits": [
{
"name": "personalfinance",
"count": 5
},
{
"name": "banking",
"count": 4
},
{
"name": "technology",
"count": 3
}
],
"sentimentBreakdown": {
"positive": 2,
"negative": 8,
"neutral": 2
}
}
}
} Rate Limits & Pricing
API access is available for Pro and Enterprise subscribers. Each plan includes different rate limits and quotas.
| Plan | Monthly Quota | Rate Limit |
|---|---|---|
| Free | 100 requests/hour | N/A - API not available |
| Pro | 10000 requests/month | 60 requests/minute |
| Enterprise | Unlimited | Custom limits |
Free Sonar Management Endpoints
The following endpoints are completely free and do not count toward your API quota:
GET /api/v1/sonars- List all sonarsPOST /api/v1/sonars- Create a new sonarGET /api/v1/sonars/{id}/executions- Get sonar execution historyGET /api/v1/sonars/executions/{executionId}- Get detailed execution results
Rate Limit Headers
All paid API responses include rate limit information in the headers: X-RateLimit-Limit,
X-RateLimit-Remaining, and
X-RateLimit-Reset.