X (Twitter) API alternative for AI agents

Scrollport gives AI agents 14 tools to get X (Twitter) posts and profiles, from X, TikHub and Apify, through one connection. Prices are per request or result, depending on the tool, paid per use from one prepaid wallet with no subscription, provider accounts or API keys. Agents use them over MCP, the CLI or the HTTP API.

Updated

Why use Scrollport instead of the official X API

Use these tools as a Twitter API for your agent.

  • No developer app or approval process to apply for.
  • No OAuth app to build and no tokens to refresh.
  • One Scrollport key and one prepaid wallet for every tool.
  • Pay per call, at the price shown before each run.
  • Use it from your agent over MCP, the Scrollport CLI or the HTTP API.

These tools come from X, TikHub, Apify. Each tool page shows exactly what it returns and its price; coverage and freshness vary by tool.

Scrollport is not affiliated with, endorsed by or sponsored by X.

Research X posts with Scrollport

Use verified tools with pay-per-use pricing. Provider access is included. Tools that work in your own apps ask you to connect that account.

Connect your first agent to receive $1 trial credit.

Compare X API tools

Prices are per request or result, depending on the tool, so compare what each tool returns and a typical run's cost before choosing.

ToolProviderWhat it returnsPrice
Public ProfileXRetrieve one public X profile by username with identity, account status and public metrics.$0.0025/request
Search X (Twitter) posts by keywordTikHubTwitter: fetch search timeline (web)$0.0025/request
Tweet ScraperApifyCollect public X posts by handle, query or URL with author and engagement metadata.$0.0025/result
X (Twitter) accounts a user follows by handleTikHubTwitter: fetch user followings (web)$0.0025/request
X (Twitter) newest post comments by tweet idTikHubTwitter: fetch latest post comments (web)$0.0025/request
X (Twitter) post comments by tweet idTikHubTwitter: fetch post comments (web)$0.0025/request
X (Twitter) post details by tweet idTikHubTwitter: fetch tweet detail (web)$0.0025/request
X (Twitter) profile by handle or user idTikHubPublic X (Twitter) profile by handle or numeric id$0.0025/request
X (Twitter) trending topics by countryTikHubX (Twitter) trending topics by country.$0.0025/request
X (Twitter) user's followers by handleTikHubTwitter: fetch user followers (web)$0.0025/request
X (Twitter) user's media posts by handleTikHubTwitter: fetch user media (web)$0.0025/request
X (Twitter) user's posts by handle or user idTikHubRecent posts of an X (Twitter) user$0.0025/request
X (Twitter) user's replies by handleTikHubTwitter: fetch user tweet replies (web)$0.0025/request
Post SearchXSearch public X posts with bounded query, mode, time and pagination controls.$0.0500/request

14 available tools

Get X (Twitter) posts and profiles

$0.0025/request

Public Profile

Retrieve one public X profile by username with identity, account status and public metrics.

X

Get X (Twitter) posts and profiles

$0.0025/request

Search X (Twitter) posts by keyword

Twitter: fetch search timeline (web)

TikHub

Get X (Twitter) posts and profiles

$0.0025/result

Tweet Scraper

Collect public X posts by handle, query or URL with author and engagement metadata.

Apify

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) accounts a user follows by handle

Twitter: fetch user followings (web)

TikHub

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) newest post comments by tweet id

Twitter: fetch latest post comments (web)

TikHub

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) post comments by tweet id

Twitter: fetch post comments (web)

TikHub

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) post details by tweet id

Twitter: fetch tweet detail (web)

TikHub

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) profile by handle or user id

Public X (Twitter) profile by handle or numeric id

TikHub

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) trending topics by country

X (Twitter) trending topics by country.

TikHub

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) user's followers by handle

Twitter: fetch user followers (web)

TikHub

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) user's media posts by handle

Twitter: fetch user media (web)

TikHub

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) user's posts by handle or user id

Recent posts of an X (Twitter) user

TikHub

Get X (Twitter) posts and profiles

$0.0025/request

X (Twitter) user's replies by handle

Twitter: fetch user tweet replies (web)

TikHub

Get X (Twitter) posts and profiles

$0.0500/request

Post Search

Search public X posts with bounded query, mode, time and pagination controls.

X

Questions about X API

Is the X API free?

X sets the access terms and any charges for its own official API. Through Scrollport you do not need an X developer account: these tools are priced per request or result, depending on the tool, paid from a prepaid wallet, and connecting your first agent adds $1 of trial credit.

How do I get Twitter data without an API key?

Connect your agent to Scrollport once. It can then call the Twitter tools on this page through Scrollport, which holds the provider access, so you never create or handle a Twitter or provider API key.

What is the best X API for an AI agent?

It depends on what you need back and how much you will run it. Public Profile (X, $0.0025/request): Retrieve one public X profile by username with identity, account status and public metrics. Search X (Twitter) posts by keyword (TikHub, $0.0025/request): Twitter: fetch search timeline (web). Tweet Scraper (Apify, $0.0025/result): Collect public X posts by handle, query or URL with author and engagement metadata. Your agent can inspect the closest match and see its exact price before it runs.

Learn more about X post research

Use public X posts to find current customer language, technical debate, campaign response and competitor narratives around a defined market question.

Search the problem in audience language

Describe the customer, market or technical question and include product names, alternatives, symptoms and exclusions. Ask the agent to discover relevant authors and conversations rather than limiting the sample to accounts you already follow.

Preserve the conversation

Keep post links, dates and thread relationships. Ask for recurring claims, objections, questions and credible disagreement, with quoted or reposted material distinguished from the author's own position.

How should I use X engagement in research?

Use visible interaction to prioritise conversations for review, not to estimate representative sentiment or purchase intent. Account reach, timing, controversy and distribution all affect the counts.

Example prompt

This prompt uses X as source-linked qualitative research.

Example prompt to give your agent

Use Scrollport's X post research tools to investigate how [AUDIENCE] discusses [PROBLEM, PRODUCT OR EVENT] during [DATES]. Discover relevant accounts and threads, identify recurring language, questions, objections and credible disagreement, retain direct links and timestamps, and explain the sample limits. Show me the price before the paid run.