Get user posts from X with KonbiniAPI
Returns public posts from a user's X profile as visible to not logged in users. Feed is ranked, not guaranteed to be chronological.
This API endpoint returns public posts from a user's profile as visible to not logged in users. This feed is not guaranteed to be chronological and is often a ranked public selection.
Perfect for
- Content analysis and posting frequency tracking
- Brand mention monitoring across accounts
- Competitor content strategy research
1. Make the request
const response = await fetch("https://api.konbiniapi.com/v1/x/users/KhabyLame/posts", {
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
2. Get clean JSON
Response (200 OK)
{
"data": {
"type": "OrderedCollectionPage",
"partOf": "https://api.konbiniapi.com/v1/x/users/KhabyLame/posts",
"itemCount": 20,
"orderedItems": [
{
"type": "Note",
"id": "https://x.com/KhabyLame/status/2024515585569083437",
"entityId": "2024515585569083437",
"content": "Keep it simple.",
"likeCount": 124000,
"replyCount": 3200,
"repostCount": 18000,
"published": "2026-05-01T10:00:00.000Z"
}
]
}
}