X (Twitter) API
Get public X (Twitter) profiles, account timelines, and individual posts. Use response cursors and has_more to paginate timelines.
3 endpoints
Endpoints
Each endpoint links to its request parameters, response schema, and code examples.
- Get accountGet an account's public profile, verification status, and activity counts. An unknown handle returns data: null.
/v1/x/user1 crGET - Get postGet an X post by ID, including its text, engagement counts, author, and available quoted or reposted post. An unknown ID returns data: null.
/v1/x/tweet1 crGET - List account postsList an account's posts with text, engagement counts, entities, and author details. An unknown handle returns data: null.
/v1/x/tweets1 crGET
What you can build
- Research public account profiles and posts.
- Collect timeline posts for content analysis.
Make your first request
Replace the placeholders with your input values. The endpoint reference explains each input and the returned fields.
curl -X GET "https://api.toolzerhub.com/v1/x/user?handle=<handle>" -H "x-api-key: $TOOLZERHUB_API_KEY"Need a key? Create an account, then review credits and responses and errors.