X (Twitter)x.search.postsLive

Search X posts

Returns the X posts that match a search, from the top, latest or media tab, with author and engagement counts. Use it to follow the conversation on a topic.

From $0.00107 per call

Example response

200 OKoutput
                  {
  "posts": [
    {
      "id": "2090885187634905500",
      "url": null,
      "text": "As we continue to push the frontier of capabilities while improving efficiency, we're dropping API and credit pricing of GPT-5.6 Sol by over 20% for the next 3 months. https://t.co/UoTb3hcB2t",
      "published_at": "2026-08-21T19:34:10Z",
      "author_id": "4398626122",
      "author_username": "OpenAI",
      "author_name": "OpenAI",
      "author_image_url": "https://pbs.twimg.com/profile_images/1885410181409820672/ztsaR0JW_normal.jpg",
      "author_follower_count": 5471705,
      "reply_count": 718,
      "repost_count": 848,
      "quote_count": 610,
      "like_count": 13888,
      "bookmark_count": 1000,
      "view_count": 3898181,
      "conversation_id": "2090885187634905500",
      "in_reply_to_post_id": null,
      "in_reply_to_username": null,
      "sensitive": false,
      "quoted_post_id": null,
      "quoted_post_text": null,
      "quoted_post_author_username": null,
      "hashtags": null,
      "mentioned_usernames": null,
      "link_urls": null,
      "image_urls": null,
      "videos": [
        {
          "preview_image_url": "https://pbs.twimg.com/amplify_video_thumb/2090884941819285504/img/JpIf7VDQGLhawgzB.jpg",
          "duration_ms": 5000,
          "width": 1536,
          "height": 864
        }
      ]
    },
    {
      "id": "2104986129686741046",
      "url": null,
      "text": "GPT-6.1 Sol: near-Astra intelligence for a fifth of the price.\n\nIt’s the most cost-efficient model for its performance available today. https://t.co/hH8PnE2Oxk",
      "published_at": "2026-09-29T17:26:16Z",
      "author_id": "4398626122",
      "author_username": "OpenAI",
      "author_name": "OpenAI",
      "author_image_url": "https://pbs.twimg.com/profile_images/1885410181409820672/ztsaR0JW_normal.jpg",
      "author_follower_count": 5471705,
      "reply_count": 721,
      "repost_count": 1713,
      "quote_count": 1082,
      "like_count": 21116,
      "bookmark_count": 1936,
      "view_count": 3238371,
      "conversation_id": "2104986129686741046",
      "in_reply_to_post_id": null,
      "in_reply_to_username": null,
      "sensitive": false,
      "quoted_post_id": null,
      "quoted_post_text": null,
      "quoted_post_author_username": null,
      "hashtags": null,
      "mentioned_usernames": null,
      "link_urls": null,
      "image_urls": null,
      "videos": [
        {
          "preview_image_url": "https://pbs.twimg.com/amplify_video_thumb/2104984622191067137/img/6xK8vFcs_vBe4SKN.jpg",
          "duration_ms": 8366,
          "width": 1920,
          "height": 1080
        }
      ]
    },
    {
      "id": "2104984504133918973",
      "url": null,
      "text": "Introducing dots, powered by GPT-6 Astra.\n\nRemarkably capable, always-on agents built to handle everything. https://t.co/inY5BZj3Kz",
      "published_at": "2026-09-29T17:19:49Z",
      "author_id": "4398626122",
      "author_username": "OpenAI",
      "author_name": "OpenAI",
      "author_image_url": "https://pbs.twimg.com/profile_images/1885410181409820672/ztsaR0JW_normal.jpg",
      "author_follower_count": 5471705,
      "reply_count": 2348,
      "repost_count": 3367,
      "quote_count": 3324,
      "like_count": 38099,
      "bookmark_count": 10502,
      "view_count": 14831016,
      "conversation_id": "2104984504133918973",
      "in_reply_to_post_id": null,
      "in_reply_to_username": null,
      "sensitive": false,
      "quoted_post_id": null,
      "quoted_post_text": null,
      "quoted_post_author_username": null,
      "hashtags": null,
      "mentioned_usernames": null,
      "link_urls": null,
      "image_urls": null,
      "videos": [
        {
          "preview_image_url": "https://pbs.twimg.com/amplify_video_thumb/2104984413113393152/img/ww-kV51l6J5DwxZJ.jpg",
          "duration_ms": 147818,
          "width": 1920,
          "height": 1080
        }
      ]
    }
  ],
  "pagination": {
    "next_page_token": "pt1.dGlraHViOkRBQUNDZ0FDSFZaXzZnZ0FKeEFLQUFNZFZuX3FCX19ZOEFnQUJBQUFBQUlMQUFVQUFBRHdSVzFRUXpaM1FVRkJabEV2WjBkS1RqQjJSM0F2UVVGQlFVSlJZek4yZW5aU1NtRjRTMEowT0hwM0szUXlka0ZaUnpONWRTOVZjV0ZqUldOYVVFSmllV1pLZGtKbWVEQldSRlJzVjIxMlJsVklVRVI2TUcxVFlWRmxTVmh6VFVsb0x6RnZRak40TVZGaWVFWnpiV2xGTkVjdmMwUXdkWGhpUVZKblpGRk1PVlpEUW5SU2FrSXdZbU5hYlRGWGEwZGpTRlJhYjFGUWNXRnZVREJrVTNjNWVHUXhkbEoyUWpGV2JUQjZWRmQxU0hsSVV6RjRTR3RCV0c5VU5HTXJaVVpyUVRWd1VrZFNlV1ZzVGt4cFJtOUVWVWhSVWxKQlFYTmhkMXAzWkU1dGJUZGtVbkJCVG1nd1pVRXlSR2hIZVVKUUNBQUdBQUFBQUFnQUJ3QUFBQUFNQUFnS0FBRVhzTUloXzFvQjN3QUFBQQ"
  }
}
                

The output of a real call, each list cut to 3 items.

Providers and pricing

ProviderPrice
TikHubtikhubTried first$0.00107 per call
twitterapi.iotwitterapi$0.000161 per post, min $0.000161, up to $0.00321

Voxoria tries the cheapest provider first. If it fails, the call goes to the next. A failed call costs nothing. To use one provider only, send its name as provider in the call.

What it costs at your volume

ProviderPer callTotal
TikHubCheapest$0.00107$10.70
twitterapi.ioCheapest$0.00161$16.05

Assumes the posts per call set above. A provider priced per call charges the same whatever the count. Only calls that succeed are charged.

Input

querystringRequired

The search query. X matches more than a post's text, such as the post it quotes, a linked article or its media, so a post may not contain the query's words.

tabstring· default top

Which tab of X's search results to read: top (X's ranking), latest or media (posts with photos or videos).

top
latest
media
next_page_tokenstring

Fetches the next page. Take it from pagination.next_page_token of the previous page, and send the same query and tab.

Output

postslist of rows, 31 fields
idstringRequired

X's identifier of the post. The post is at https://x.com/i/status/ followed by it.

urlstring

Address of the post on x.com.

Format uri.

textstring

What the post says, links written as X's t.co short links.

published_atstring

When the post was published, in ISO 8601.

author_idstring

X's numeric identifier of the author, as a string.

author_usernamestring

The author's handle, without the @.

author_namestring

The author's display name.

author_image_urlstring

Address of the author's profile picture.

author_follower_countinteger
reply_countinteger
repost_countinteger
quote_countinteger
like_countinteger
bookmark_countinteger
view_countinteger

Number of times the post was seen.

conversation_idstring

Identifier of the post that opened the thread; the post's own id when it opened it.

in_reply_to_post_idstring

Identifier of the post this one replies to.

in_reply_to_usernamestring

Handle of the author this post replies to, without the @.

sensitiveboolean

Whether X marks the post as possibly sensitive.

quoted_post_idstring

Identifier of the post this one quotes.

quoted_post_textstring
quoted_post_author_usernamestring
hashtagsarray of string

Each hashtag in the text, without the

mentioned_usernamesarray of string

Handle of each account the text mentions, without the @.

link_urlsarray of string

Full address of each link in the text.

image_urlsarray of string

Address of each photo attached to the post.

videosarray of object

Each video attached to the post.

videos.preview_image_urlstringRequired

Address of the video's still image.

videos.duration_msinteger

Length of the video, in milliseconds.

videos.widthinteger

Width of the original video, in pixels.

videos.heightinteger

Height of the original video, in pixels.

paginationone object, 1 fields
next_page_tokenstringRequired

Send as next_page_token to fetch the next page.

Full reference for x.search.posts →

Common questions

How much does x.search.posts cost?

From $0.00107 per call. It is debited from your balance, and only a call that succeeds is charged. Each provider's price is in the table above.

What does x.search.posts return?

Returns the X posts that match a search, from the top, latest or media tab, with author and engagement counts. Use it to follow the conversation on a topic. Fields include id, url, text, published_at, author_id, author_username and 21 more.

Which providers serve x.search.posts?

TikHub and twitterapi.io. Voxoria tries the cheapest first. To use one provider only, send its name as provider in the call.

What happens if a call fails?

Voxoria tries the next provider. If none answers, the call fails and costs nothing.

Do I need a subscription?

No. There is no subscription and no seat fee. You add funds and pay per call. A new account starts with $1 in its balance.

How do I use x.search.posts from an AI agent?

Connect Voxoria over MCP, then ask your agent in plain language. It calls call_tool with the tool x.search.posts and its input. In Claude Code, connect with claude mcp add --transport http voxoria https://mcp.voxoria.ai.

Used in

One key for all of it.