Get X Creator Posts

5 endpoints • Base: https://openapi.scdata.cc

Returns a paginated list of a X creator's posts from the persisted database, each with its publish time, caption and engagement counters. Ideal for building performance timelines or picking representative content.

GET/api/v1/x/user/posts

Quota usage: Each successful request to this endpoint deducts 1 quota units from your plan.

Request Parameters

Required Parameters

NameInTypeDescription
usernamequerystringX handle
example: elonmusk

Optional Parameters

NameInTypeDescription
publish_at_startquerystringPublish time from
example: 2026-01-01
publish_at_endquerystringPublish time to
example: 2026-09-01
post_idquerystringPost ID
example: 1519480761749016577
media_typequerystringMedia type (0 = text, 1 = image, 2 = video, 3 = GIF)
example: 2
post_typequerystringPost type (1 = original, 2 = repost, 3 = quote, 4 = thread, 5 = reply)
example: 1
exclude_retweetquerystringExclude reposts (1 = exclude)
example: 1
is_paidquerystringSponsored post (1 = yes)
example: 1
sort_byquerystringSort field (publish_at, view_count, like_count, engagement_rate)
example: publish_at
sort_orderquerystringSort direction (asc, desc), default desc
example: desc
pagequeryintegerPage number
page_sizequeryintegerPage size

Response Fields

NameTypeDescription
successbooleanSuccess
codeintegerCode
messagestringMessage
dataobject-
data.itemsarray<object>Items
data.totalintegerTotal
data.pageintegerPage
data.page_sizeintegerPage Size
data.total_pagesintegerTotal Pages

Try It

https://openapi.scdata.cc/api/v1/x/user/posts
Select an API key from Dashboard
Add an API key before sending a request.Go to Dashboard

Query Params

username*
publish_at_start
publish_at_end
post_id
media_type
post_type
exclude_retweet
is_paid
sort_by
sort_order
page
page_size

cURL Example

bash
curl -X GET "https://openapi.scdata.cc/api/v1/x/user/posts?username=elonmusk" \
-H "Authorization: YOUR_API_KEY"

Response Example (200 application/json)

json
{
"success": true,
"code": 200,
"message": "Request successful",
"data": {
"items": [
{
"post_id": "1519480761749016577",
"post_url": "https://x.com/elonmusk/status/1519480761749016577",
"description": "Next I’m buying Coca-Cola to put the cocaine back in",
"duration": 0,
"publish_at": "2022-04-28 08:56:58",
"language": "en",
"media_type": "text",
"post_type": "original",
"is_pinned": false,
"is_sensitive": false,
"is_paid": false,
"view_count": 0,
"like_count": 4198044,
"comment_count": 167757,
"retweet_count": 577720,
"quote_count": 168195,
"bookmark_count": 22534,
"engagement_count": 5111716,
"engagement_rate": "2.12",
"source": "Twitter for iPhone",
"post_username": "elonmusk",
"post_user_url": "https://x.com/elonmusk",
"post_user_follower_count": 241536070,
"last_update_at": "2026-09-02 16:22:17"
}
],
"total": 112,
"page": 1,
"page_size": 1,
"total_pages": 112
}
}

Use Cases

  • Content performance review — Compare engagement across a creator's latest posts to see which formats and topics resonate with their audience.
  • Brand-safety screening — Scan recent captions and topics before a partnership to make sure the creator's content fits the brand.

Related Endpoints