Real-time Access

Twitter Media API

Integrate real-time social media content into your applications. Extract video, images, and post metadata from X (Twitter) with precision.

Unlocking Social Conversation Data

The ImbueData Twitter Media API empowers developers to extract multimedia content and post details from the world's real-time public square. Simplify the process of gathering media assets and associated metadata. Perfect for news aggregation, sentiment analysis platforms, and digital asset management systems requiring direct access to Twitter's visual content.

Use Cases

  • News & Trend Aggregation
  • Social Listening & Sentiment Analysis
  • Digital Asset Management (DAM)
  • Misinformation Tracking

Multi-Format Support

Seamlessly retrieve MP4 videos, animated GIFs, and high-quality JPEG/PNG images from tweets.

Granular Post Data

Get full context including tweet text, timestamps, author information, and engagement signals.

Adaptive Streaming

Access various quality levels and resolutions to suit your bandwidth and storage requirements.

Standardized JSON Response

Explore the structure of the data returned by the API. All responses are fully typed and predictable.

response.json
1{
2  "status": "success",
3  "data": {
4    "id": "1765432109876543210",
5    "text": "The future of data is here. #TechTrends",
6    "created_at": "2024-03-15T10:00:00.000Z",
7    "author": {
8      "id": "987654321",
9      "name": "Data Weekly",
10      "username": "dataweekly"
11    },
12    "media": [
13      {
14        "type": "video",
15        "url": "https://cdn.imbuedata.com/tw/1765432109876543210.mp4",
16        "thumbnail_url": "https://cdn.imbuedata.com/tw/thumb/1765432109876543210.jpg",
17        "duration_ms": 14500,
18        "variants": [
19          {
20            "content_type": "video/mp4",
21            "url": "https://...",
22            "bitrate": 2176000
23          },
24          {
25            "content_type": "video/mp4",
26            "url": "https://...",
27            "bitrate": 832000
28          }
29        ]
30      }
31    ],
32    "metrics": {
33      "retweet_count": 45,
34      "reply_count": 12,
35      "like_count": 320,
36      "quote_count": 5
37    }
38  }
39}

Frequently Asked Questions

Can I download videos and GIFs?

Yes, the API provides direct links to the underlying media files for videos, GIFs, and images, allowing you to store or process them as needed for your application.

How does the API handle rate limits?

We offer generous rate limits designed for commercial applications. Should you need to scale beyond standard tiers, our enterprise solutions provide dedicated capacity.

Is structured data available?

Yes, all responses are formatted in standardized, easy-to-parse JSON, ensuring consistent integration regardless of the media type.

Ready to integrate?

Get your API key instantly and start building with ImbueData today. No credit card required for the free tier.

Start Building Free