Note: Personalized trends will only be returned by the endpoint for user accounts that are subscribed to X Premium.
Account setupTo access this endpoint, you will need:
- An approved developer account.
- To authenticate using the keys and tokens from a developer App that is located within a Project.
Getting started
Authentication
You can authenticate this endpoint with either OAuth 1.0a User Context, or OAuth 2.0 Authorization Code with PKCE.Making a request
You can call the Personalized Trends endpoint as shown below:curl 'https://api.x.com/2/users/personalized_trends' --header 'Authorization: ••••••'
If the request is successful, you should see the JSON response as shown below: