Twitter / X API/Twitter / X/Get user post
Twitter / X · Twitter / X

Twitter / X Get user post API

Get user posts

GET/v1/twitter/fetch_user_post_tweet
screen_namestringoptional

Username (choose one with rest_id), obtainable from the user profile URL For example: https://twitter.com/elonmusk — the username is elonmusk

rest_idstringoptional

User ID (choose one with screen_name)

cursorstringoptional

Pagination parameter for page turning, obtained from the next_cursor in the previous response

Twitter / X API Use Cases

Get user post Data Collection

Retrieve get user post data from Twitter / X at scale for analytics and research.

Competitive Intelligence

Monitor Twitter / X activity and benchmark against competitors using real-time data.

Automation & Integration

Integrate Twitter / X get user post data into your product, dashboard, or data pipeline.

Frequently Asked Questions

Is the Twitter / X API official?

No, KeyAPI provides an unofficial Twitter / X API that lets you access Twitter / X data through our platform. We handle the complexities of data collection so you can focus on building your application.

How current is the data?

We provide real-time data from Twitter / X. When you make a request, we fetch the latest information available.

How do credits work?

Each API endpoint consumes credits. Most endpoints cost just 1 credit. All pricing is transparent in our API documentation with no hidden fees.

Can I use this for AI model training?

Yes. KeyAPI provides structured, AI-ready data ideal for training datasets, fine-tuning LLMs, and building AI pipelines. Our historical archives are particularly valuable for large-scale training workloads.

Start for free — no credit card required

Ready to unlock unified
social intelligence?

Register today and receive 100 free API calls to test our infrastructure.

Join the growing community of developers, AI builders, automation engineers, and global businesses who trust KeyAPI for reliable, scalable social media data access.