Documentation Index
Fetch the complete documentation index at: https://docs.konbiniapi.com/llms.txt
Use this file to discover all available pages before exploring further.
What it does
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.Tool details
| Field | Value |
|---|---|
| Tool name | x_get_user_posts |
| Platform | X |
| REST endpoint | GET /v1/x/users/{username}/posts |
| Result type | Collection tool |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
username | string | Yes | X username (with or without @ symbol) |
count | integer | No | Maximum number of posts to return from the public profile selection (maximum: 100) Default: 20. |
projection_preset | string | No | Defaults to minimal. Allowed values: full, minimal, identity, engagement, content. |
data_fields | string[] | No | Adds top-level keys from data on top of the selected projection_preset. |
item_fields | string[] | No | Adds keys from data.orderedItems[] on top of the selected projection_preset. |
Example
Available data fields
@contexttypepartOftotalItemscursornextCursornextitemCountorderedItems
Available item fields
typeidurlentityIdcontentpublishedlikeCountreplyCountviewCountrepostCountquoteCountsaveCountcontentFormatisEditedattributedToinReplyToquoteimageattachmenttag
Response notes
Successful calls return a JSON object with a top-leveldata field and, when
available, metadata.creditsUsed and metadata.creditsRemaining. See
response format,
pagination, and credits.