The Twitter Media Explorer API is focused on user media, allowing access to multimedia content (images, videos, GIFs) shared by specific Twitter accounts in an efficient way. This unique endpoint simplifies media data extraction by providing specific parameters such as user to identify the user and cursor to seamlessly paginate results. Ideal for developers looking to integrate visual content into applications, perform trend analysis or monitor social media activity, this API offers a focused solution for a specific use case. Its optimized design ensures fast response times and efficient handling of large volumes of data, adapting to small and large projects. Compatible with marketing strategies, social media research and content automation, this API provides reliable and easy-to-use results with a clear and straightforward implementation process. Simplify visual data extraction and increase the impact of your applications with this specialized user media tool.
Sends a GET request with the parameters user (ID or username) and optionally cursor to obtain shared media and manage paging.
Get User Media - Endpoint Features
Object | Description |
---|---|
user |
[Required] |
cursor |
[Optional] |
{"cursor":{"bottom":"DAABCgABGenf3Fu___cKAAIZ5rKNA5bR_wgAAwAAAAIAAA","top":"DAABCgABGenf3FvAJxEKAAIZ6DKyYJoQFwgAAwAAAAEAAA"},"data":{"__typename":"TimelineAddEntries","entries":[{"entryId":"tweet-1866797787251347479","sortIndex":"1867269658046889984","content":{"__typename":"TimelineTimelineItem","content":{"__typename":"TimelineTweet","tweetResult":{"result":{"__typename":"Tweet","rest_id":"1866797787251347479","view_count_info":{"count":"44846211","state":"EnabledWithCount"},"legacy":{"conversation_id_str":"1866797787251347479","created_at":"Wed Dec 11 10:50:50 +0000 2024","display_text_range":[0,37],"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[],"timestamps":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/20R38Qgk5B","expanded_url":"https://x.com/elonmusk/status/1866797787251347479/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[]}},"id_str":"1866797784227254275","indices":[38,61],"media_key":"3_1866797784227254275","media_url_https":"https://pbs.twimg.com/media/GegysaxaEAMgqoz.jpg","original_info":{"width":825,"height":359,"focus_rects":[{"x":0,"y":0,"w":641,"h":359},{"x":47,"y":0,"w":359,"h":359},{"x":69,"y":0,"w":315,"h":359},{"x":136,"y":0,"w":180,"h":359},{"x":0,"y":0,"w":825,"h":359}]},"sizes":{"large":{"w":825,"h":359}},"type":"photo","url":"https://t.co/20R38Qgk5B"}]},"favorite_count":187687,"favorited":false,"full_text":"No, I definitely melted it down 1000% https://t.co/20R38Qgk5B","is_quote_status":false,"lang":"en","possibly_sensitive":false,"possibly_sensitive_editable":true,"quote_count":1023,"reply_count":7919,"retweet_count":12696,"retweeted":false,"user_id_str":"44196397","bookmarked":false,"bookmark_count":3385},"core":{"user_result":{"result":{"__typename":"User","rest_id":"44196397","is_blue_verified":true,"profile_image_shape":"Circle","affiliates_highlighted_label":{"label":{"url":{"urlType":"DeepLink","url":"https://twitter.com/X"},"badge":{"url":"https://pbs.twimg.com/profile_images/1683899100922511378/5lY42eHs_bigger.jpg"},"userLabelType":"BusinessLabel","userLabelDisplayType":"Badge","description":"X"}},"legacy":{"can_dm":false,"can_media_tag":false,"advertiser_account_service_levels":["smb"],"advertiser_account_type":"promotable_user","analytics_type":"enabled","created_at":"Tue Jun 02 20:12:29 +0000 2009","description":"The people voted for major government reform","entities":{"description":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[]}},"fast_followers_count":0,"favourites_count":99863,"followers_count":207272455,"friends_count":871,"geo_enabled":false,"has_custom_timelines":true,"has_extended_profile":true,"id_str":"44196397","is_translator":false,"location":"","media_count":2935,"name":"Elon Musk","normal_followers_count":207272455,"pinned_tweet_ids_str":["1867264058627621191"],"profile_background_color":"C0DEED","profile_banner_url":"https://pbs.twimg.com/profile_banners/44196397/1726163678","profile_image_url_https":"https://pbs.twimg.com/profile_images/1858316737780781056/kPL61o0F_normal.jpg","profile_interstitial_type":"","profile_link_color":"0084B4","protected":false,"screen_name":"elonmusk","statuses_count":62277,"translator_type_enum":"None","verified":false,"withheld_in_countries":[]},"super_follow_eligible":true,"super_followed_by":false,"super_following":false,"private_super_following":false,"exclusive_tweet_following":false}}},"edit_control":{"__typename":"EditControlInitial","edit_tweet_ids":["1866797787251347479"],"editable_until_msecs":"1733917850000","edits_remaining":"5","is_edit_eligible":false},"unmention_data":{},"quick_promote_eligibility":{"eligibility":"IneligibleNotProfessional"},"conversation_muted":false,"is_translatable":true}},"tweetDisplayType":"Tweet"}}},{"entryId":"tweet-1866797259968614885","sortIndex":"1867269658046889983","content":{"__typename":"TimelineTimelineItem","content":{"__typename":"TimelineTweet","tweetResult":{"result":{"__typename":"Tweet","birdwatch_pivot":{"call_to_action":{"prompt":"Bu size yardımcı oldu mu?","title":"Değerlendir","destination_url":"https://twitter.com/i/birdwatch/n/1866877899539890333"},"destination_url":"https://twitter.com/i/birdwatch/n/1866877899539890333","footer":{"text":"Bağlam, X uygulamasını kullanan kişiler tarafından yazılır ve başkaları tarafından Yardımcı Oldu olarak değerlendirildiğinde görüntülenir. Daha fazlasını keşfet.","entities":[{"fromIndex":140,"toIndex":161,"ref":{"__typename":"TimelineUrl","url":"https://twitter.com/i/flow/join-birdwatch","urlType":"ExternalUrl"}}]},"note":{"rest_id":"1866877899539890333","summary":{"text":"This refers to grokking, a topic in machine learning about figuring out a solution after an extended training period. It is not about the Xai language model.\n\nhttps://arxiv.org/abs/2201.02177\n\nhttps://proceedings.neurips.cc/paper_files/paper/2022/hash/dfc310e81992d2e4cedc09ac47eff13e-Abstract-Conference.html","entities":[{"fromIndex":159,"toIndex":191,"ref":{"__typename":"TimelineUrl","url":"https://t.co/ltWMD8tE7y","urlType":"ExternalUrl"}},{"fromIndex":193,"toIndex":309,"ref":{"__typename":"TimelineUrl","url":"https://t.co/CG3J4RmQxQ","urlType":"ExternalUrl"}}]}},"subtitle":{"text":"This refers to grokking, a topic in machine learning about figuring out a solution after an extended training period. It is not about the Xai language model.\n\narxiv.org/abs/2201.02177\n\nproceedings.neurips.cc/paper_files/pa…","entities":[{"fromIndex":159,"toIndex":183,"ref":{"__typename":"TimelineUrl","url":"https://t.co/ltWMD8tE7y","urlType":"ExternalUrl"}},{"fromIndex":185,"toIndex":223,"ref":{"__typename":"TimelineUrl","url":"https://t.co/CG3J4RmQxQ","urlType":"ExternalUrl"}}]},"title":"Okuyucular, insanların bilmek isteyebileceğini düşündükleri içerikler ekledi","shorttitle":"Okuyucular bağlam ekledi","icon_type":"BirdwatchV1Icon","visual_style":"Default"},"rest_id":"1866797259968614885","view_count_info":{"count":"8703553","state":"EnabledWithCount"},"legacy":{"conversation_id_str":"1866797259968614885","created_at":"Wed Dec 11 10:48:44 +0000 2024","display_text_range":[0,45],"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[{"id_str":"1720665183188922368","indices":[24,29],"name":"Grok","screen_name":"grok"}],"timestamps":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/zwl0MGU0og","expanded_url":"https://x.com/elonmusk/status/1866797259968614885/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[]}},"id_str":"1866797256642531330","indices":[46,69],"media_key":"3_1866797256642531330","media_url_https":"https://pbs.twimg.com/media/GegyNtXaEAIh3XI.jpg","original_info":{"width":1534,"height":740,"focus_rects":[{"x":107,"y":0,"w":1321,"h":740},{"x":397,"y":0,"w":740,"h":740},{"x":443,"y":0,"w":649,"h":740},{"x":582,"y":0,"w":370,"h":740},{"x":0,"y":0,"w":1534,"h":740}]},"sizes":{"large":{"w":1534,"h":740}},"type":"photo","url":"https://t.co/zwl0MGU0og","allow_download_status":{"allow_download":true}}]},"favorite_count":18063,"favorited":false,"full_text":"arXiv papers mentioning @Grok in the abstract https://t.co/zwl0MGU0og","is_quote_status":false,"lang":"en","possibly_sensitive":false,"possibly_sensitive_editable":true,"quote_count":248,"reply_count":2772,"retweet_count":2588,"retweeted":false,"user_id_str":"44196397","bookmarked":false,"bookmark_count":819},"core":{"user_result":{"result":{"__typename":"User","rest_id":"44196397","is_blue_verified":true,"profile_image_shape":"Circle","affiliates_highlighted_label":{"label":{"url":{"urlType":"DeepLink","url":"https://twitter.com/X"},"badge":{"url":"https://pbs.twimg.com/profile_images/1683899100922511378/5lY42eHs_bigger.jpg"},"userLabelType":"BusinessLabel","userLabelDisplayType":"Badge","description":"X"}},"legacy":{"can_dm":false,"can_media_tag":false,"advertiser_account_service_levels":["smb"],"advertiser_account_type":"promotable_user","analytics_type":"enabled","created_at":"Tue Jun 02 20:12:29 +0000 2009","description":"The people voted for major government reform","entities":{"description":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[]}},"fast_followers_count":0,"favourites_count":99863,"followers_count":207272455,"friends_count":871,"geo_enabled":false,"has_custom_timelines":true,"has_extended_profile":true,"id_str":"44196397","is_translator":false,"location":"","media_count":2935,"name":"Elon Musk","normal_followers_count":207272455,"pinned_tweet_ids_str":["1867264058627621191"],"profile_background_color":"C0DEED","profile_banner_url":"https://pbs.twimg.com/profile_banners/44196397/1726163678","profile_image_url_https":"https://pbs.twimg.com/profile_images/1858316737780781056/kPL61o0F_normal.jpg","profile_interstitial_type":"","profile_link_color":"0084B4","protected":false,"screen_name":"elonmusk","statuses_count":62277,"translator_type_enum":"None","verified":false,"withheld_in_countries":[]},"super_follow_eligible":true,"super_followed_by":false,"super_following":false,"private_super_following":false,"exclusive_tweet_following":false}}},"edit_control":{"__typename":"EditControlInitial","edit_tweet_ids":["1866797259968614885"],"editable_until_msecs":"1733917724000","edits_remaining":"5","is_edit_eligible":true},"unmention_data":{},"quick_promote_eligibility":{"eligibility":"IneligibleNotProfessional"},"conversation_muted":false,"is_translatable":true}},"tweetDisplayType":"Tweet"}}},{"entryId":"tweet-1866785244046823751","sortIndex":"1867269658046889982","content":{"__typename":"TimelineTimelineItem","content":{"__typename":"TimelineTweet","tweetResult":{"result":{"__typename":"Tweet","rest_id":"1866785244046823751","view_count_info":{"count":"185331","state":"EnabledWithCount"},"legacy":{"conversation_id_str":"1866742307623784882","created_at":"Wed Dec 11 10:01:00 +0000 2024","display_text_range":[15,15],"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[{"id_str":"1560341081576939524","indices":[0,15],"name":"Ins...
curl --location --request GET 'https://zylalabs.com/api/5821/twitter+media+explorer+api/7607/get+user+media?user=44196397' --header 'Authorization: Bearer YOUR_API_KEY'
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
The Twitter Media Explorer API is a specialized tool that allows developers to query multimedia content (images, videos, GIFs) shared by specific Twitter users through a single endpoint.
You can filter media results by specifying the user whose media you want to access. Additionally, the API supports cursor navigation to paginate through large sets of results.
The API provides access to various types of multimedia content, including images, videos, and GIFs shared by Twitter users.
The API simplifies the extraction of visual content, offers fast response times, and efficiently handles large volumes of data, making it ideal for applications related to marketing strategies, social media research, and content automation.
Yes, the API is designed to adapt to both small and large projects, providing reliable and easy-to-use results regardless of the scale of your application.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the ‘X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.
To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1000 requests per month, this header will display 1000.
The ‘X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.
Service Level: 100%
Resp. Time: 4,196ms
Service Level: 100%
Resp. Time: 1,361ms
Service Level: 100%
Resp. Time: 1,709ms
Service Level: 100%
Resp. Time: 17,322ms
Service Level: 100%
Resp. Time: 493ms
Service Level: 100%
Resp. Time: 2,286ms
Service Level: 98%
Resp. Time: 11,641ms
Service Level: 100%
Resp. Time: 609ms
Service Level: 100%
Resp. Time: 12,881ms
Service Level: 93%
Resp. Time: 4,442ms
Service Level: 100%
Resp. Time: 349ms
Service Level: 100%
Resp. Time: 3,265ms
Service Level: 100%
Resp. Time: 220ms
Service Level: 100%
Resp. Time: 4,424ms
Service Level: 100%
Resp. Time: 13,183ms
Service Level: 100%
Resp. Time: 3,694ms
Service Level: 100%
Resp. Time: 8,521ms