Socials

Look up an X post by id or URL

Changed on

Resolve one X post into its text, author and public metrics. Unlike search this is not limited to the last 7 days, which is what makes it the way to read the parent of a thread before replying to it. Takes the identifier as a query parameter so a full post URL, which contains slashes, can be passed.

get/socials/twitter/tweets/lookup

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Query parameters

id, string required

Numeric post id or a post URL (e.g. https://x.com/user/status/123).

account_id, string

Connected X account to act as (sacct_ prefix id). Optional when one X account is connected; required when there are several, and a call without it answers 422 with code account_id_required, listing each account's id.

Response

The X post

object required
id, string

X post id.

text, string
created, string

Publication time (ISO 8601).

conversation_id, string

Root post of the thread this belongs to.

in_reply_to_tweet_id, string nullable

The post this replies to, if any.

lang, string
author, object
like_count, integer
reply_count, integer
retweet_count, integer
quote_count, integer
platform, string

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    5 more changes in this revision