Skip to main content

crewai-xpoz

CrewAI tools for Xpoz social media intelligence — access Twitter/X, Instagram, Reddit, and TikTok data in your CrewAI agents.

Installation

pip install crewai-xpoz

Or via the CrewAI Tool Repository:

crewai tool install crewai-xpoz

Quick Start

import os
from crewai import Agent, Task, Crew
from crewai_xpoz import XpozTwitterSearch, XpozInstagramUser

os.environ["XPOZ_API_KEY"] = "your-xpoz-key"  # Get one at xpoz.ai/get-token
os.environ["OPENAI_API_KEY"] = "your-openai-key"

tools = [
    XpozTwitterSearch(),
    XpozInstagramUser(),
]

researcher = Agent(
    role="Social Media Analyst",
    goal="Analyze social media trends and brand presence",
    backstory="An expert social media analyst with deep knowledge of online trends",
    tools=tools,
    verbose=True,
)

task = Task(
    description="What are people saying about AI agents on Twitter this week?",
    expected_output="A summary of the key themes and sentiment around AI agents on Twitter",
    agent=researcher,
)

crew = Crew(agents=[researcher], tasks=[task])
result = crew.kickoff()

You can also pass the API key directly:

tools = [
    XpozTwitterSearch(api_key="your-xpoz-key"),
]

Available Tools

Twitter/X (13 tools)

Tool Description
XpozTwitterSearch Search posts by keywords, hashtags, or phrases
XpozTwitterUser Get a user profile by username or ID
XpozTwitterUserPosts Get tweets posted by a specific user
XpozTwitterPostComments Get replies/comments on a post
XpozTwitterSearchUsers Search for users by name
XpozTwitterUserConnections Get a user's followers or following
XpozTwitterUsersByKeywords Find users who posted about specific topics
XpozTwitterCountPosts Count posts matching a phrase
XpozTwitterPostsByIds Get specific posts by their IDs
XpozTwitterPostRetweets Get retweets of a post
XpozTwitterPostQuotes Get quote tweets of a post
XpozTwitterPostInteractingUsers Get users who liked/retweeted/quoted a post
XpozTwitterUsers Get multiple user profiles by usernames or IDs

Instagram (9 tools)

Tool Description
XpozInstagramSearch Search posts by keywords or phrases
XpozInstagramUser Get a user profile by username or ID
XpozInstagramUserPosts Get posts by a specific user
XpozInstagramPostComments Get comments on a post
XpozInstagramSearchUsers Search for users by name
XpozInstagramUsersByKeywords Find users who posted about specific topics
XpozInstagramPostsByIds Get specific posts by their IDs
XpozInstagramUserConnections Get a user's followers or following
XpozInstagramPostInteractingUsers Get users who liked or commented on a post

Reddit (9 tools)

Tool Description
XpozRedditSearch Search posts by keywords or phrases
XpozRedditUser Get a user profile by username
XpozRedditPostWithComments Get a post with its comments
XpozRedditSearchComments Search comments by keywords
XpozRedditSearchSubreddits Search for subreddits by name or topic
XpozRedditSubreddit Get a subreddit's info and recent posts
XpozRedditUsersByKeywords Find users who posted about specific topics
XpozRedditSearchUsers Search for users by name
XpozRedditSubredditsByKeywords Find subreddits related to keywords

TikTok (9 tools)

Tool Description
XpozTiktokSearch Search posts by keywords or phrases
XpozTiktokUser Get a user profile by username or ID
XpozTiktokUserPosts Get videos posted by a specific user
XpozTiktokPostComments Get comments on a video
XpozTiktokSearchUsers Search for users by name
XpozTiktokPostsByHashtags Search posts by hashtags
XpozTiktokUsersByKeywords Find creators who posted about specific topics
XpozTiktokPostsByIds Get specific videos by their IDs
XpozTiktokUsersByHashtags Find creators who posted with specific hashtags

Tracking (3 tools)

Tool Description
XpozGetTrackedItems List all currently tracked items
XpozAddTrackedItems Add items to track across platforms
XpozRemoveTrackedItems Remove items from tracking

Account (1 tool)

Tool Description
XpozAccountDetails Get account details, plan info, and credit usage

Authentication

Get a free API key at xpoz.ai/get-token.

Set it via environment variable:

export XPOZ_API_KEY=your-key

Or pass it directly when creating tools:

tool = XpozTwitterSearch(api_key="your-key")

Publishing

To publish to the CrewAI Tool Repository:

crewai tool publish --public

Links

Release files for crewai-xpoz 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crewai-xpoz 0.1.2
File Size Uploaded
crewai_xpoz-0.1.2.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crewai-xpoz 0.1.2
File Interpreter ABI Platform
crewai_xpoz-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / crewai_xpoz-0.1.2.tar.gz

Download URL crewai_xpoz-0.1.2.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d782a5c6392c7cbd5f2bbba688cb4c5d291e363a1b917955be2b4eb4d7b968c9
BLAKE2b-256 checksum
How to use checksums
da7adce1f29d96107015b534f16a398c5ef92104d2c183a130aa1505de958c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.

Transparency log

Release files / crewai_xpoz-0.1.2-py3-none-any.whl

Download URL crewai_xpoz-0.1.2-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca4f0dbd4fc147e3f8c019ad41903bba97bd1d3a9f3825895b2b08ce51565237
BLAKE2b-256 checksum
How to use checksums
d2dff70051a115504dc326d4c0165c64908c7b6d5f752ec4aca3b57734492970
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page