Get a Post by Tweet ID
View all X (Twitter) Public Data API endpoints →Send required id as the string tweet ID from a public post or a previous collection result. The verified response has status=active, id, conversation_id, text, display_text, created_at, likes, retweets, replies, quotes, bookmarks, views, lang, sensitive, author, entities and media. Observed author fields include rest_id, screen_name, name, image, blue_verified, verification and sub_count; a photo post exposes media.photo items with media_url_https and id. Reply-context fields and conversation_control.policy may be null. Preserve large IDs as strings and handle views as a possible numeric string. Public counters can change between calls and are not private impressions or campaign analytics; unavailable-post behavior has not been verified.
API Features
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
/api/project/twitter/tweet-info API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/twitter/tweet-info?key=<API_KEY>&id=<id>'
Query Result
Use Cases
- Resolve supplied tweet IDs into source-reference cards with returned text, author, publication time and media.
- Capture repeated public counter snapshots for selected campaign posts while distinguishing views from private impressions.
- Verify that a collected post ID still resolves to the intended author before citing it in a research appendix.
- Enrich a saved public-post bibliography with display text, entities and source-linked photo references.
Frequently asked questions
How do I retrieve a post's text, media and engagement by ID?
Provide required id as the string tweet ID from a public source or collected result. The verified active payload includes text, display_text, author, created_at, media and likes, retweets, replies, quotes, bookmarks and views. Preserve null context fields.
Are post views private campaign impressions?
No. These are changing public counters, not private account analytics or campaign impressions. views may be a numeric string; store collection time and normalize counters without converting tweet or account IDs into floating-point numbers. Unavailable-post behavior still needs validation.