TikHub logo

TikHub API · Social

Get X user post with the TikHub API

Returns X user post. You call it with one looot token, no TikHub account needed. It needs no required input. Each call costs $0.001 per call. Over the last 30 days looot ran it 64 times: 90.6% finished without an error, median answer 2.9 s. looot stores its expected output shape, not yet checked on real answers.

Price
$0.001 per call
Success rate, 30 days
90.6%
Runs, 30 days
64
Access
looot token only

Get X user post: call it from code

One POST to /v1/runs with your looot token, the endpoint id tikhub-api-twitter-web-fetch-user-post-tweet and an input. Values come from the stored input schema; a value in <angle brackets> is a placeholder the schema gives no example for.

InputTypeValue shown
rest_id (optional)integerschema example

POST /v1/runs

TikHub API request: curl
curl -X POST 'https://api.looot.ai/v1/runs?wait=true' \
  -H 'Authorization: Bearer YOUR_LOOOT_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"endpointId":"tikhub-api-twitter-web-fetch-user-post-tweet","input":{"rest_id":"44196397"},"idempotencyKey":"<unique-idempotency-key>"}'

Response: expected shape, not yet checked

{ code, data: { user: { id, desc, name, avatar, status, friends, profile, rest_id, location, protected, sub_count, affiliates: { ... }, created_at, media_count, header_image, blue_verified, statuses_count, business_account: unknown[], verification_type, pinned_tweet_ids_str }, status, timeline: { lang, text, media: unknown[], views, author: { ... }, quoted: { ... }, quotes, source, replies, entities: { ... } | unknown[], retweets, tweet_id, bookmarks, favorites, retweeted: { ... }, created_at, conversation_id, retweeted_tweet: { ... } }[] }, docs, time, params: { screen_name }, router, message, support, cache_url, time_zone, message_zh, request_id, time_stamp, cache_message, cache_message_zh }

expected shape, not yet checked against real answers.

Price and reliability

Price formula
$0.0010 per call
Most one run can cost
$0.001
Success rate, 30 days
90.6%
Runs, 30 days
64
Median answer time
2.9 s
Last success
Nov 23, 2026

Run numbers are looot's own runs of each endpoint over the last 30 days: the share that completed without an error, and the median time to answer. An endpoint with fewer than 10 runs in that window shows "not enough runs to rank" and is never ranked. Prices are what looot charges per call or per result, fee included, read from the live catalog; you prepay credit and each call is charged when it runs.

More TikHub endpoints

Questions about the TikHub API on looot

Returns X user post. Optional inputs: cursor, rest_id, screen_name. cursor: Cursor, default is None, used for paging, obtained from the JSON in the last request. screen_name: Screen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk. looot stores its output format, not yet checked on real answers.

It costs $0.001 per call. Price formula: $0.0010 per call. You keep a prepaid balance. The price is shown before each call runs, and you are charged only for calls that actually ran.

Send POST https://api.looot.ai/v1/runs with your looot token in the Authorization header and a body with endpointId "tikhub-api-twitter-web-fetch-user-post-tweet" and an input object (rest_id). The looot CLI runs it with looot run tikhub-api-twitter-web-fetch-user-post-tweet, and the looot MCP server with its run tool.

Whether a miss costs money depends on the provider. Some bill only for found values. Some bill every call. A failed call costs nothing. You can request a refund of the unused part of the balance you paid for at any time.

Over the last 30 days looot ran it 64 times: 90.6% finished without an error, median answer 2.9 s.

Give your agent every data provider, one key.

Everyone gets $2 in free credits once after sign-in and workspace selection. Then pay only for what you use.