Twitter X Image Finder API

API ID 5823

Access images shared by Twitter users, with pagination and user-specific filters for efficient multimedia exploration.

100% uptime 1,709 ms avg response

API Documentation

Endpoints

Request

Sends a GET request with the parameters user (ID or username) and optionally cursor to obtain shared media and manage paging.

 

 

 

Endpoint ID: 7609
GET https://zylalabs.com/api/5823/twitter+x+image+finder+api/7609/get+user+images
INPUT PARAMETERS

get User Images — Endpoint Features

Object Description
user Required
cursor Optional

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

user
cursor
API EXAMPLE RESPONSE
JSON
{"cursor":{"bottom":"DAABCgABGfgPs81___QKAAIZ9As7rtcRrggAAwAAAAIAAA","top":"DAABCgABGfgPs82AJxEKAAIZ9uS8slpg-QgAAwAAAAEAAA"},"data":{"__typename":"TimelineAddEntries","entries":[{"entryId":"tweet-1870934194316271865","sortIndex":"1871262910093721600","content":{"__typename":"TimelineTimelineItem","content":{"__typename":"TimelineTweet","tweetResult":{"result":{"__typename":"Tweet","rest_id":"1870934194316271865","view_count_info":{"count":"14390333","state":"EnabledWithCount"},"legacy":{"conversation_id_str":"1870934194316271865","created_at":"Sun Dec 22 20:47:26 +0000 2024","display_text_range":[0,17],"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[],"timestamps":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/ahZAqzlP3P","expanded_url":"https://x.com/elonmusk/status/1870934194316271865/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":84,"y":288,"h":68,"w":68}]}},"id_str":"1870934186976014336","indices":[18,41],"media_key":"3_1870934186976014336","media_url_https":"https://pbs.twimg.com/media/GfbkuvzW8AACOHj.jpg","original_info":{"width":946,"height":2048,"focus_rects":[{"x":0,"y":1115,"w":946,"h":530},{"x":0,"y":907,"w":946,"h":946},{"x":0,"y":841,"w":946,"h":1078},{"x":0,"y":156,"w":946,"h":1892},{"x":0,"y":0,"w":946,"h":2048}]},"sizes":{"large":{"w":946,"h":2048}},"type":"photo","url":"https://t.co/ahZAqzlP3P"}]},"favorite_count":55930,"favorited":false,"full_text":"Naughtius Maximus https://t.co/ahZAqzlP3P","is_quote_status":false,"lang":"lt","possibly_sensitive":false,"possibly_sensitive_editable":true,"quote_count":361,"reply_count":4227,"retweet_count":4235,"retweeted":false,"user_id_str":"44196397","bookmarked":false,"bookmark_count":1971},"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":104106,"followers_count":208756882,"friends_count":902,"geo_enabled":false,"has_custom_timelines":true,"has_extended_profile":true,"id_str":"44196397","is_translator":false,"location":"","media_count":2996,"name":"Elon Musk","normal_followers_count":208756882,"pinned_tweet_ids_str":["1870886724257386529"],"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":63757,"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":["1870934194316271865"],"editable_until_msecs":"1734904046000","edits_remaining":"5","is_edit_eligible":true},"unmention_data":{},"quick_promote_eligibility":{"eligibility":"IneligibleNotProfessional"},"conversation_muted":false,"is_translatable":false}},"tweetDisplayType":"Tweet"}}},{"entryId":"tweet-1870894953838109073","sortIndex":"1871262910093721599","content":{"__typename":"TimelineTimelineItem","content":{"__typename":"TimelineTweet","tweetResult":{"result":{"__typename":"Tweet","rest_id":"1870894953838109073","view_count_info":{"count":"45694610","state":"EnabledWithCount"},"legacy":{"conversation_id_str":"1870894953838109073","created_at":"Sun Dec 22 18:11:31 +0000 2024","display_text_range":[0,0],"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[],"timestamps":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/usoIMccsUn","expanded_url":"https://x.com/elonmusk/status/1870894953838109073/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":311,"y":124,"h":326,"w":326}]}},"id_str":"1870894950088409088","indices":[0,23],"media_key":"3_1870894950088409088","media_url_https":"https://pbs.twimg.com/media/GfbBC3AXgAAcRpi.jpg","original_info":{"width":1024,"height":768,"focus_rects":[{"x":0,"y":0,"w":1024,"h":573},{"x":0,"y":0,"w":768,"h":768},{"x":47,"y":0,"w":674,"h":768},{"x":192,"y":0,"w":384,"h":768},{"x":0,"y":0,"w":1024,"h":768}]},"sizes":{"large":{"w":1024,"h":768}},"type":"photo","url":"https://t.co/usoIMccsUn"}]},"favorite_count":296740,"favorited":false,"full_text":"https://t.co/usoIMccsUn","is_quote_status":false,"lang":"zxx","possibly_sensitive":false,"possibly_sensitive_editable":true,"quote_count":1922,"reply_count":11527,"retweet_count":31510,"retweeted":false,"user_id_str":"44196397","bookmarked":false,"bookmark_count":5308},"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":104106,"followers_count":208756882,"friends_count":902,"geo_enabled":false,"has_custom_timelines":true,"has_extended_profile":true,"id_str":"44196397","is_translator":false,"location":"","media_count":2996,"name":"Elon Musk","normal_followers_count":208756882,"pinned_tweet_ids_str":["1870886724257386529"],"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":63757,"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":["1870894953838109073"],"editable_until_msecs":"1734894691000","edits_remaining":"5","is_edit_eligible":true},"unmention_data":{},"quick_promote_eligibility":{"eligibility":"IneligibleNotProfessional"},"conversation_muted":false,"is_translatable":false}},"tweetDisplayType":"Tweet"}}},{"entryId":"tweet-1870893895724527667","sortIndex":"1871262910093721598","content":{"__typename":"TimelineTimelineItem","content":{"__typename":"TimelineTweet","tweetResult":{"result":{"__typename":"Tweet","rest_id":"1870893895724527667","view_count_info":{"count":"7621295","state":"EnabledWithCount"},"legacy":{"conversation_id_str":"1870893895724527667","created_at":"Sun Dec 22 18:07:18 +0000 2024","display_text_range":[0,150],"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[],"timestamps":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/Js0YMudxTS","expanded_url":"https://x.com/elonmusk/status/1870893895724527667/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":523,"y":308,"h":80,"w":80},{"x":539,"y":382,"h":72,"w":72},{"x":33,"y":132,"h":130,"w":130},{"x":37,"y":187,"h":124,"w":124},{"x":36,"y":286,"h":125,"w":125},{"x":40,"y":342,"h":119,"w":119},{"x":37,"y":392,"h":121,"w":121},{"x":38,"y":493,"h":121,"w":121},{"x":34,"y":233,"h":132,"w":132},{"x":33,"y":439,"h":134,"w":134}]}},"id_str":"1870893891546726400","indices":[151,174],"media_key":"3_1870893891546726400","media_url_https":"https://pbs.twimg.com/media/GfbAFPoXQAAKeqd.jpg","original_info":{"width":1070,"height":1327,"focus_rects":[{"x":0,"y":0,"w":1070,"h":599},{"x":0,"y":0,"w":1070,"h":1070},{"x":0,"y":0,"w":1070,"h":1220},{"x":0,"y":0,"w":664,"h":1327},{"x":0,"y":0,"w":1070,"h":1327}]},"sizes":{"large":{"w":1070,"h":1327}},"type":"photo","url":"https://t.co/Js0YMudxTS"}]},"favorite_count":81156,"favorited":false,"full_text":"Legacy media is written by the FAR LEFT.\n\nOnly 3% of journalists are Republican!\n\nIt is borderline illegal in newsrooms to be a Republican journalist. https://t.co/Js0YMudxTS","is_quote_status":false,"lang":"en","possibly_sensitive":false,"possibly_sensitive_editable":true,"quote_count":888,"reply_count":5712,"retweet_count":18967,"retweeted":false,"user_id_str":"44196397","bookmarked":false,"bookmark_count":4258},"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"}}}}}}}}}]},"_note":"Response truncated for documentation purposes"}
Get User Images — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5823/twitter+x+image+finder+api/7609/get+user+images?user=44196397' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Twitter X Image Finder API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

About the API:  

The Twitter X Image Finder API specializes in retrieving image content shared by specific Twitter accounts. This API features a single endpoint that simplifies data extraction with parameters like user for account-specific filtering and cursor for seamless pagination. Designed for developers, it’s perfect for building applications that integrate visual content, perform social media trend analysis, or monitor user activity. With its fast response times and efficient data handling, the API supports both small-scale projects and large enterprise systems. Ideal for marketing campaigns, social media research, and visual content automation, this API ensures streamlined integration and reliable results. Transform your applications with a focused and efficient tool for accessing Twitter image content.

 

 

Twitter X Image Finder API FAQs

The Twitter X Image Finder API is designed to retrieve image content shared by specific Twitter accounts, allowing developers to build applications that integrate visual content and perform social media trend analysis.

You can filter images by using the <code>user</code> parameter to specify the Twitter account from which you want to retrieve images.

The API supports pagination through the <code>cursor</code> parameter, enabling seamless navigation through large sets of image data.

Developers working on marketing campaigns, social media research, or visual content automation can benefit from this API, as it provides efficient access to Twitter image content.

The Twitter X Image Finder API is designed for fast response times and efficient data handling, making it suitable for both small-scale projects and large enterprise systems.

The API returns image content shared by specific Twitter accounts, including metadata such as tweet IDs, creation dates, view counts, and media URLs.

Key fields include `entryId`, `created_at`, `view_count_info`, and `extended_entities.media`, which contains the URLs and details of the images shared in tweets.

The response is structured with a `cursor` object for pagination and a `data` object containing an array of `entries`, each representing a tweet with associated media.

The endpoint accepts the `user` parameter (ID or username) to specify the Twitter account and an optional `cursor` parameter for pagination.

Users can customize requests by specifying different Twitter account usernames or IDs in the `user` parameter and using the `cursor` for navigating through results.

The endpoint provides information about tweets, including creation time, media URLs, engagement metrics like view counts, and tweet IDs.

Users can extract image URLs from `extended_entities.media` for display in applications, analyze engagement metrics from `view_count_info`, and track trends over time.

Typical use cases include monitoring brand engagement through visual content, analyzing social media trends, and integrating Twitter images into marketing campaigns or research projects.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

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 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

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 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

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 free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
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]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs