Skip to main content
The langchain-xpoz Python package provides 44 LangChain tools for social media intelligence. Use them with any LangChain-compatible model to give your AI agent access to Twitter/X, Instagram, Reddit, and TikTok data.

Setup

1

Get your access key

Sign up at xpoz.ai and copy your access key from the Get Token page.
2

Install the package

You also need a model provider. For example, with Anthropic:
3

Set your access key

4

Use with a LangChain agent

Using Individual Tools

You can also use tools directly without an agent:
Or pass api_key explicitly instead of using the environment variable:

Available Tools

Twitter/X

Instagram

Reddit

TikTok

Tracking & Account

Configuration

All tools accept an optional api_key parameter. If not provided, the XPOZ_API_KEY environment variable is used:

What You Can Do

  • Search posts by keyword across Twitter, Instagram, Reddit, and TikTok
  • Look up user profiles and follower counts
  • Analyze engagement metrics and trends
  • Track keywords and users for continuous monitoring
  • Build AI agents that autonomously research social media topics

Next Steps

MCP Tools

Browse all 48 tools across 4 platforms

PyPI Package

View the package on PyPI