get_timeline
Read X timelines for home feeds, user posts, mentions, likes, or bookmarks, with filters for replies, retweets, dates, and pagination.
Instructions
Read a timeline. type: home (your reverse-chronological home feed), posts (a user's posts), mentions, liked (posts a user liked), bookmarks (yours). user defaults to the account itself. Billed per post returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| user | No | A user: "@username", "username", or a numeric user ID | |
| account | No | X username of an authorized account (see list_accounts). Omit to use the default account. | |
| exclude | No | home/posts only | |
| end_time | No | ||
| start_time | No | home/posts/mentions; ISO 8601 | |
| max_results | No | Page size; clamped to what the endpoint allows | |
| pagination_token | No | meta.next_token from the previous page |