← Back to All tools
16 endpoints

X (Twitter) data API

via AnyAPI

AI agents can use X (Twitter) data at up to $0.00051–$0.036 per call with a Purrkey key and no X (Twitter) or AnyAPI account. Your agent can read a single author's linked posts in thread order

Endpoints

AnyAPI

X / Twitter Article

/v1/run/twitter.article

Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks

Up to $0.00054per call
AnyAPI

Twitter Community

/v1/run/twitter.community

Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL

Up to $0.0036per call
AnyAPI

Twitter Community Tweets

/v1/run/twitter.community_tweets

List recent tweets posted in a Twitter/X community by URL

Up to $0.0036per call
AnyAPI

X / Twitter Followers

/v1/run/twitter.followers

Fetch the follower list of any public X (Twitter) account by username with cursor pagination. Limit is a per-page maximum and a native page holds up to 200 accounts; follow the response's nextCursor for more

Up to $0.00054per call
AnyAPI

X / Twitter Following

/v1/run/twitter.following

List the accounts a public X (Twitter) account follows by username with cursor pagination. Limit is a per-page maximum; follow the response's nextCursor for more

Up to $0.0036per call
AnyAPI

Twitter Profile

/v1/run/twitter.profile

Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle

Up to $0.0012per call
AnyAPI

X / Twitter Post Replies

/v1/run/twitter.replies

Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists

Up to $0.0138per call
AnyAPI

X / Twitter Search

/v1/run/twitter.search

Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane

Up to $0.0154per call
AnyAPI

X / Twitter Community Search

/v1/run/twitter.search_communities

Search X (Twitter) communities by keyword and get their id, name, topic, and member count with cursor pagination. This is how you find a community URL to pass to twitter.community or twitter.community_tweets

Up to $0.0011per call
Load more →

Showing 9 of 16

Try it with your agents

  1. Reconstruct an author's thread

    Set up https://purrkey.app/SKILL.md, then use Purrkey to ask for the link to an X post and retrieve its author's thread in one lookup. Summarize the linked posts in order, keeping the first post distinct.
  2. Read a regional trend list

    Set up https://purrkey.app/SKILL.md, then use Purrkey to request the first five trends for Japan on X. Keep their returned ranking order and show the location resolved by the tool alongside the list.
  3. Collect posts from one account

    Set up https://purrkey.app/SKILL.md, then use Purrkey to search X for five posts matching from:NASA moon. Return each post's text and available engagement counts, keeping the author's phrasing in excerpts.
Questions

X (Twitter) API questions

What does a thread lookup include?

The thread tool follows the author's linked continuations from a post URL. Replies written by other accounts are excluded.

Can I restrict a search to one public account?

Use an X search operator such as from:NASA in the query to retrieve matching posts from that account.

Which lookup should I price for a local trend report?

Published prices are up to $0.00051–$0.036 per call. The trends card accepts a city or country and returns topics in platform order.