⚡
Developer API
REST API access to TrendSurge data. Authenticate with an X-API-Key header. Free tier: 1,000 calls/month.
Rate limit
1,000 / month
Auth
X-API-Key header
Format
JSON / REST
Generate API Key
Keys are generated instantly. Save yours — it won't be shown again.
Endpoints
GET
/api/v1/topicsPaginated topic list. Filter by `status`, `category`, `sort`.
curl -H "X-API-Key: YOUR_KEY" \ "https://trendsurge-api.stockmaniacs.net/api/v1/topics?page=1&limit=20&status=exploding&sort=score"
GET
/api/v1/topics/{slug}Single topic with full 5-year weekly trend data.
curl -H "X-API-Key: YOUR_KEY" \ "https://trendsurge-api.stockmaniacs.net/api/v1/topics/creatine-monohydrate"
GET
/api/v1/trendsTop exploding topics right now, sorted by score.
curl -H "X-API-Key: YOUR_KEY" \ "https://trendsurge-api.stockmaniacs.net/api/v1/trends?limit=20"
GET
/api/v1/categoriesAll topic categories with topic counts.
curl -H "X-API-Key: YOUR_KEY" \ "https://trendsurge-api.stockmaniacs.net/api/v1/categories"
Full API Reference
Interactive Swagger docs with all parameters and response schemas