Competitive Intelligence API for Developers and AI Agents
Programmatically track competitor activity across Twitter/X, Instagram, TikTok, and Reddit from a single endpoint. Connect through the MCP server or the typed TypeScript and Python SDKs to build competitor monitoring into your own tools and agents.
What is a competitive intelligence API?
A competitive intelligence API is the data layer behind competitor tracking dashboards, audience benchmarks, and market-signal agents. XPOZ exposes competitive intelligence as a single programmable surface over 1.5B+ indexed posts across Twitter/X, Instagram, TikTok, and Reddit, giving you programmatic access to competitor content, audience growth, and community engagement signals. The same queries work across all four platforms, so you can build competitor analysis into your own tools without stitching together vendor dashboards.
What you can track
Pull the competitor signals that matter for your use case
Competitor content
Posts, replies, and campaigns by brand or creator accounts.
Audience growth
Follower trends and engagement on competitor profiles.
Community activity
Subreddits, hashtags, and topic clusters your competitors dominate.
Engagement patterns
Which competitor posts get traction, with what sentiment.
Supported platforms
One endpoint, four platforms — publicly accessible social data, normalized and indexed
Twitter / X
Competitor posts, quote tweets, retweets, and reply threads.
Competitor post search, user connections, engagement.
TikTok
Competitor user activity, top posts, and engagement.
Subreddit activity, community threads, and comment volume.
Access methods
Pick the integration that fits your stack — all three share the same data model
MCP Server
Best for: Claude, ChatGPT, Cursor, and other MCP-compatible AI clients.
{
"mcpServers": {
"xpoz": {
"url": "https://mcp.xpoz.ai/mcp"
}
}
}OAuth 2.1 authentication. No API keys to manage in client config.
TypeScript SDK
Best for: Node.js backends, Next.js apps, and TypeScript agents.
npm install @xpoz/xpozTyped models, pagination, and CSV export included.
Python SDK
Best for: Data pipelines, notebooks, and Python-based agents.
pip install xpozSame typed interface as the TypeScript SDK, Pythonic style.
A competitive intelligence workflow in a few lines
Pull posts for a list of competitors across Twitter/X and Instagram with the TypeScript SDK. Swap in TikTok or Reddit with the same interface.
import { XpozClient } from "@xpoz/xpoz";
const client = new XpozClient({ apiKey: process.env.XPOZ_API_KEY });
await client.connect();
const competitors = ["CompetitorA", "CompetitorB"];
for (const competitor of competitors) {
const twitter = await client.twitter.getPostsByAuthor(competitor, { limit: 100 });
const instagram = await client.instagram.getPostsByUser(competitor, { limit: 100 });
console.log(`${competitor}: ${twitter.data.length + instagram.data.length} posts`);
}
await client.close();Related use cases
Recipes built on the XPOZ competitive intelligence API
Track competitor social media strategy
Pull competitor posts and campaigns across every platform into one view.
Read the recipeAnalyze competitor content engagement
Surface which competitor posts are driving the most reactions and replies.
Read the recipeMonitor competitor audience growth
Watch follower and engagement trendlines on competitor profiles over time.
Read the recipeKnow what competitors are doing before they announce
Catch early signals from competitor accounts and communities before launch day.
Read the recipeFrequently asked questions
Build competitive intelligence on a programmable data layer.
Free tier includes 100,000 results per month and 1 tracked item. Scale to Pro at $20/month or Max at $200/month when you are ready.
