One reference for signal discovery, integrations, automation and delivery, with a runnable example for every documented route.
Base URL
https://staging-api.trendsagi.com115
Routes
23
Guides
3
Languages
Complete API reference for trends, automations, and integrations. Connect Google Ads, Meta Ads, TikTok Ads, LinkedIn Ads, Microsoft Ads, Snapchat Ads, and Pinterest Ads, Shopify, Reddit Ads, Meta Conversions API, Google Sheets, Slack, and webhooks with a mix of one-click OAuth and direct REST workflows.
Base URL: https://staging-api.trendsagi.com
Best for backend jobs, orchestration workers, and data pipelines.
pip install trendsagiTyped client with no runtime dependencies for services, jobs, workers, and web apps.
npm install @trendsagi/coreEvery API action from a terminal or shell script, with tables for people and JSON for pipes. CLI guide
npx trendsagi loginInstall command
npm install @trendsagi/coreAPI usage
import { TrendsAGI } from "@trendsagi/core";
const trendsagi = new TrendsAGI(); // reads TRENDSAGI_API_KEY
const { trends } = await trendsagi.trends.list({
category: "Technology",
limit: 5,
});
console.log(trends.map((trend) => trend.name));Run command
# Save as quickstart.mjs
node quickstart.mjsFollow this order for the fastest path from first call to production-ready automation.
Step 1
Generate API key
Create and store `TRENDSAGI_API_KEY` in your runtime secrets.
Open API key managerStep 2
Choose integration path
Use one-click setup for speed, or advanced custom setup for execution in your own stack.
Step 3
Run first signal pull
Validate connectors with `GET /api/integrations/ads/providers`.
Step 4
Enable category-driven automation
Save a trend category with safety guardrails, then run preview/apply.
Jump directly into the most requested workflows.
MCP Server (Copilot, Claude, ChatGPT, Cortex Code and more)
Give any MCP client live trend tools: Copilot, Claude, ChatGPT, Cursor, OpenCode, Amp, Muse Code and Snowflake Cortex Code
Slack
Workspace connection + channel routing for production alerts
Webhooks
Generic POST delivery for custom systems and third-party tools
Shopify
Trend-aware product enrichment for storefront workflows
Google Sheets
Ops-friendly sheet append destination for live integrations
Ads Platform Connectors
One-click Google Ads, Meta Ads, TikTok Ads, LinkedIn Ads, Microsoft Ads, Snapchat Ads, and Pinterest Ads connections
Python SDK, REST patterns, frameworks, social/search, and automation connectors.
Grouped by domain with request/response schema details.
One-click and advanced setup paths for Google, Meta, TikTok, and LinkedIn workflows.
Playbooks for social listening, content ops, and search workflows.