Skip to main content
This guide walks you through making your first request to the reverse chronological home timeline endpoint.
PrerequisitesBefore you begin, you’ll need:
  • A developer account with an approved App
  • User Access Tokens (this endpoint requires user authentication)

Step 1: Get the user ID

You need the user ID for the account whose home timeline you want to retrieve. Find it using the username lookup endpoint:
cURL
The response includes the user ID:

Step 2: Request the home timeline

Make a GET request with the user ID and User Access Token:
cURL

Step 3: Review the response


Step 4: Add fields and expansions

Request additional data with query parameters:
cURL

Step 5: Paginate through results

The SDKs handle pagination automatically. For cURL, use the next_token from the response to get more results:

Common parameters

ParameterDescriptionDefault
max_resultsResults per page (1-100)10
start_timeOldest Post timestamp (ISO 8601)
end_timeNewest Post timestamp (ISO 8601)
since_idReturn Posts after this ID
until_idReturn Posts before this ID
excludeExclude retweets, replies, or both

Next steps

User mentions

Get Posts mentioning a user

Integration guide

Key concepts and best practices

API Reference

Full endpoint documentation

Pagination guide

Navigate large result sets