Twitter/X Research via Paid API

VerifiedCaution

Paid Twitter/X data API with USDC micropayments ($0.003/call) via the x402_payment tool. Supports searching tweets using 50+ advanced operators, fetching specific tweets with threads, replies, and quotes, and retrieving user profiles along with their tweets, followers, and following. Best suited for Twitter/X research requiring precise queries and contextual data extraction.

Sby Skills Guide Bot
Data & AIIntermediate
3/8/2026
Claude Code
#twitter#social-media#api-research#x402-payments#data-retrieval

Recommended for

Automated summary

Queries a paid Twitter/X API through x402 to search tweets, fetch tweets with context, and look up user profiles.

Strengths

  • Supports 50+ search operators (from:, min_faves:, since:, lang:, etc.) with Latest/Top sorting and pagination.
  • Fetches a tweet with its self-thread, other users' replies, and quote tweets, and automatically includes the parent tweet when the target is a reply.
  • Looks up profiles with tweets, followers, or following, and supports batch retrieval of multiple tweet IDs.
  • Handles USDC micropayments at $0.003 per call through the x402_payment tool, with aggregate engagement summaries in search responses.

Limitations

  • Requires the openclaw binary and the x402_payment tool, so it will not work in an agent without that setup.
  • Every call costs USDC on Solana, so a funded wallet is required.
  • Batch fetching multiple tweet IDs does not support the thread, replies, or quotes includes.
  • The third-party API's availability and rate limits are not documented here.
When to use it

For structured social research on X (operator-based search, conversation exploration, profile analysis) from an agent configured for x402.

When not to use it

If you lack a USDC/x402 payment method or want to avoid depending on a paid third-party API.

Security analysis

Caution
Quality score88/100

The skill is transparent about its purpose and does not contain destructive, exfiltrating, or obfuscated instructions. However, it invokes a payment tool to spend real USDC automatically and sends all requests to an external API, creating financial and third-party data exposure risks. This warrants caution rather than safe, but not risky.

Findings
  • •Automatically spends USDC micropayments ($0.003/call) via x402_payment on every API call, including pagination.
  • •Sends user queries and research targets to an external third-party endpoint (twitter.x402.agentbox.fyi).
  • •No explicit spend cap, confirmation step, or rate-limiting guidance beyond a general cost warning.
How this analysis is made

Examples

Operator-based tweet search
Search recent tweets from @solana mentioning "hackathon" with at least 50 likes in the last 7 days, then summarize the main themes and top tweets.
Fetch a tweet with discussion
Fetch tweet https://x.com/example/status/1585841080431321088 including its thread and top 50 replies, then outline the conversation.
Profile activity lookup
Look up @elonmusk's profile with his latest 20 tweets and report his posting cadence and engagement levels.

name: agentbox-twitter description: "Twitter/X research via paid API: search tweets with 50+ operators, fetch tweets with threads/replies/quotes, get user profiles with tweets/followers/following. Uses x402_payment tool for automatic USDC micropayments ($0.003/call). Use when: (1) searching tweets by keyword, user, or advanced operators, (2) fetching specific tweets by ID/URL with context, (3) looking up user profiles and their activity." metadata: {"openclaw": {"emoji": "🐦", "requires": {"bins": ["openclaw"]}}} allowed-tools: ["x402_payment"]

Twitter Research

Paid Twitter/X data API at https://twitter.x402.agentbox.fyi. Costs $0.003 USDC per call via x402 on Solana. Use the x402_payment tool for all requests.

Endpoints

Search Tweets

Find tweets matching a query with 50+ advanced operators.

x402_payment({
  "url": "https://twitter.x402.agentbox.fyi/search",
  "method": "GET",
  "params": "{\"q\": \"from:elonmusk AI\", \"type\": \"Latest\", \"limit\": 20}"
})

Parameters:

| Param | Type | Default | Description | |-------|------|---------|-------------| | q | string | required | Search query with operators | | type | "Latest" or "Top" | Latest | Sort by recency or popularity | | limit | 1-200 | 20 | Max tweets to return | | cursor | string | - | Pagination cursor from previous response |

Search operators:

| Operator | Example | Description | |----------|---------|-------------| | from:user | from:elonmusk | Tweets by user | | to:user | to:elonmusk | Replies to user | | @user | @solana | Mentioning user | | min_faves:N | min_faves:100 | Minimum likes | | min_retweets:N | min_retweets:50 | Minimum retweets | | min_replies:N | min_replies:10 | Minimum replies | | filter:media | filter:media | Has media | | filter:images | filter:images | Has images | | filter:videos | filter:videos | Has video | | filter:links | filter:links | Has links | | filter:replies | filter:replies | Only replies | | -filter:replies | -filter:replies | Exclude replies | | since:date | since:2025-01-01 | After date | | until:date | until:2025-12-31 | Before date | | within_time:Nh | within_time:24h | Last N hours | | lang:code | lang:en | Language filter | | conversation_id:ID | conversation_id:123 | In conversation | | filter:self_threads | from:user filter:self_threads | User's thread replies |

Combine operators: from:elonmusk AI min_faves:100 -filter:replies within_time:7d

Response: { query, tweets[], count, hasMore, nextCursor, summary }

The summary object includes: totalLikes, totalRetweets, totalReplies, avgLikes, maxLikes, topTweetId.

Fetch Tweets

Get tweet(s) by ID or URL with optional thread, replies, and quotes.

x402_payment({
  "url": "https://twitter.x402.agentbox.fyi/tweet/1585841080431321088",
  "method": "GET",
  "params": "{\"include\": \"thread,replies\", \"limit\": 50}"
})

URL format: /tweet/{ref} where ref is:

  • Tweet ID: 1585841080431321088
  • Comma-separated IDs: 123,456,789 (batch fetch, no includes)

Parameters:

| Param | Type | Default | Description | |-------|------|---------|-------------| | include | string | - | Comma-separated: thread, replies, quotes | | limit | 1-200 | 50 | Max replies/quotes to return |

Include options (single tweet only):

  • thread - author's self-reply chain in the conversation
  • replies - replies from other users
  • quotes - quote tweets of this tweet

Response: { tweets[], count, parent?, thread?, replies?, quotes? }

If the fetched tweet is a reply, parent is auto-included with the replied-to tweet.

Fetch Users

Get user profile(s) with optional tweets, followers, or following.

x402_payment({
  "url": "https://twitter.x402.agentbox.fyi/user/elonmusk",
  "method": "GET",
  "params": "{\"include\": \"tweets\", \"limit\": 20}"
})

URL format: /user/{ref} where ref is:

  • Username: elonmusk or @elonmusk
  • User ID: 44196397
  • Comma-separated IDs: 123,456 (batch fetch, no includes)

Parameters:

| Param | Type | Default | Description | |-------|------|---------|-------------| | include | string | - | Comma-separated: tweets, followers, following | | limit | 1-200 | 50 | Max tweets/followers/following to return | | include_replies | boolean | false | Include replies in user's tweets |

Response (single): { user, tweets?, followers?, following? } Response (batch): { users[], count, hasMore }

Usage Patterns

Monitor a topic

x402_payment({
  "url": "https://twitter.x402.agentbox.fyi/search",
  "method": "GET",
  "params": "{\"q\": \"x402 OR \\\"402 payment\\\" min_faves:5 within_time:24h\", \"type\": \"Latest\"}"
})

Get a tweet with full context

x402_payment({
  "url": "https://twitter.x402.agentbox.fyi/tweet/1585841080431321088",
  "method": "GET",
  "params": "{\"include\": \"thread,replies,quotes\", \"limit\": 20}"
})

Research a user

x402_payment({
  "url": "https://twitter.x402.agentbox.fyi/user/CoinbaseDev",
  "method": "GET",
  "params": "{\"include\": \"tweets\", \"limit\": 50}"
})

Paginate results

Use nextCursor from a previous response:

x402_payment({
  "url": "https://twitter.x402.agentbox.fyi/search",
  "method": "GET",
  "params": "{\"q\": \"from:elonmusk\", \"cursor\": \"DAABCgAB...\"}"
})

Cost

Every call costs $0.003 USDC on Solana mainnet. Each paginated request is a separate call. Plan queries to minimize calls - use specific operators and reasonable limits.

Errors

| HTTP | Meaning | |------|---------| | 400 | Invalid parameters (check query syntax) | | 402 | Payment required (handled automatically by x402_payment) | | 404 | Tweet or user not found | | 502 | Upstream API error |

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/twitter-x-research-via-paid-api-mmh8qqqv/download' --output '.skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv/SKILL.md.part' && mv '.skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv/SKILL.md.part' '.skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv/SKILL.md' && test -s '.skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/agentbox-twitter' && cp -R '.skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv' '.claude/skills/agentbox-twitter'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv'

openskills read 'twitter-x-research-via-paid-api-mmh8qqqv'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/twitter-x-research-via-paid-api-mmh8qqqv/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills