Social API

The posts one X (Twitter) account deleted

Posts an X account deleted after posting them, newest first, with their text and engagement.

GET/api/external/social/social-deleted-posts/{username}

What it returns

The posts one X (Twitter) account deleted that had been recorded before they went — a deleted shill, a retracted call, an undone repost — newest first, with the text and counts they had when last seen. Only posts recorded before deletion appear. Not scoped to any chain. A username no tracked account has, or an account with no recorded deletion, answers 404.

Chains

This endpoint is not tied to a chain: it takes no chain in its request.

Request

Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.

curl -H "x-dex-data-key: $DEXDATA_API_KEY" \
  "https://api.dexdata.io/api/external/social/social-deleted-posts/<username>"
Parameters
ParameterDescription
username

path · string · required

An X (Twitter) account by its username, with or without the leading "@" (e.g. "solana"), in any case — 1 to 15 letters, digits or underscores. Not a wallet address, and not scoped to any chain.

Response fields

A JSON response. Every field is always present; null means the value could not be established, never zero.

Response fields of The posts one X (Twitter) account deleted
FieldTypeDescription
usernamestringThe username asked about, without "@".
postsobject[]Newest first.
posts[].idstringThe post's id, a decimal string — the number at the end of its link.
posts[].conversationIdstring | nullThe id of the post that opened its thread. null when not stated.
posts[].authorIdstring | nullThe author's numeric X id, a decimal string. null when not stated.
posts[].postedAtinteger | nullWhen it was posted, unix seconds. null when not stated.
posts[].textstring | nullIts full text. A repost carries the reposted text, prefixed "RT @user:". null when empty.
posts[].isRepostboolean | nullWhether it is a repost of another post. null when not stated.
posts[].isQuoteboolean | nullWhether it quotes another post. null when not stated.
posts[].replyToobject | nullThe post it replies to. null when it is not a reply.
posts[].replyTo.postIdstring | nullThe id of the post replied to. null when not stated.
posts[].replyTo.userIdstring | nullThe replied-to author's numeric X id. null when not stated.
posts[].replyTo.usernamestring | nullThe replied-to author's username. null when not stated.
posts[].repliesinteger | nullReplies, when read. null when not stated.
posts[].repostsinteger | nullReposts, when read. null when not stated.
posts[].quotesinteger | nullQuotes, when read. null when not stated.
posts[].likesinteger | nullLikes, when read. null when not stated.
posts[].bookmarksinteger | nullBookmarks, when read. null when not stated.
posts[].viewsinteger | nullViews, when read. null when not stated — some posts carry none.

Start building with DexData today

Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.

Get a free API key