Get Twitter Data API

API ID 5

Look for Tweets details, accounts details, related Tweets, and more with this API.

100% uptime 1,867 ms avg response

API Documentation

Endpoints

Request

Retrieve the user's info by passing the Twitter username. 

Get information like user id, followers count, how many people is the user following, if it's verified, if the account is public or private, the profile picture URL, and the number of tweets on the account. 

Endpoint ID: 10
GET https://tracker.zylalabs.com/api/5/get+twitter+data+api/10/user+details
INPUT PARAMETERS

User Details — Endpoint Features

Object Description
username Required The Twitter's username we want to query for.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
API EXAMPLE RESPONSE
JSON
{
    "creation_date": "Fri Feb 13 05:09:01 +0000 2009",
    "user_id": "20749410",
    "username": "finkd",
    "name": "Mark Zuckerberg",
    "follower_count": 2161404,
    "following_count": 708,
    "favourites_count": 19,
    "is_private": false,
    "is_verified": false,
    "is_blue_verified": true,
    "location": null,
    "profile_pic_url": "https://pbs.twimg.com/profile_images/77846223/profile_normal.jpg",
    "profile_banner_url": "",
    "description": "",
    "external_url": null,
    "number_of_tweets": 32,
    "bot": false,
    "timestamp": 1234501741,
    "has_nft_avatar": false,
    "category": null,
    "default_profile": true,
    "default_profile_image": false,
    "listed_count": 6105,
    "verified_type": null
}
User Details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/10/user+details?username=finkd' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Retrieve a list of tweets by querying by username.

You will get the creation date of the tweet, the text, and retweets and favorites count of the tweet. 

Endpoint ID: 11
GET https://tracker.zylalabs.com/api/5/get+twitter+data+api/11/tweets+per+user
INPUT PARAMETERS

Tweets per User — Endpoint Features

Object Description
username Required The Twitter's username we want to query for.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
API EXAMPLE RESPONSE
JSON
{
    "results": [
        {
            "tweet_id": "2075658276490866983",
            "creation_date": "Fri Jul 10 19:07:51 +0000 2026",
            "text": "Uma vitória de milhões! https://t.co/ZLOnMegl06",
            "media_url": [
                "https://pbs.twimg.com/media/HM44MSJWoAA9X27.jpg",
                "https://pbs.twimg.com/media/HM44MSFWQAA5ixp.jpg"
            ],
            "video_url": null,
            "user": {
                "creation_date": "Mon Jun 14 19:09:20 +0000 2010",
                "user_id": "155659213",
                "username": "Cristiano",
                "name": "Cristiano Ronaldo",
                "follower_count": 111588560,
                "following_count": 82,
                "favourites_count": 101,
                "is_private": false,
                "is_verified": false,
                "is_blue_verified": true,
                "location": "",
                "profile_pic_url": "https://pbs.twimg.com/profile_images/1940344470290989057/1OUP8RgK_normal.jpg",
                "profile_banner_url": "https://pbs.twimg.com/profile_banners/155659213/1751449147",
                "description": "Welcome to the official account of Cristiano Ronaldo.",
                "external_url": "https://t.co/Pc19xaN1Sp",
                "number_of_tweets": 4505,
                "bot": false,
                "timestamp": 1276542560,
                "has_nft_avatar": false,
                "category": null,
                "default_profile": false,
                "default_profile_image": false,
                "listed_count": 77051,
                "verified_type": null
            },
            "language": "pt",
            "favorite_count": 368816,
            "retweet_count": 37454,
            "reply_count": 25270,
            "quote_count": 17622,
            "retweet": false,
            "views": 38429573,
            "timestamp": 1783710471,
            "video_view_count": null,
            "in_reply_to_status_id": null,
            "quoted_status_id": null,
            "binding_values": null,
            "expanded_url": null,
            "retweet_tweet_id": null,
            "extended_entities": {
                "media": [
                    {
                        "allow_download_status": {
                            "allow_download": true
                        },
                        "display_url": "pic.x.com/ZLOnMegl06",
                        "expanded_url": "https://x.com/Cristiano/status/2075658276490866983/photo/1",
                        "ext_media_availability": {
                            "status": "Available"
                        },
                        "features": {
                            "all": {
                                "tags": [
                                    {
                                        "name": "Portugal",
                                        "screen_name": "selecaoportugal",
                                        "type": "user",
                                        "user_id": "2550023839"
                                    }
                                ]
                            },
                            "large": {
                                "faces": [
                                    {
                                        "h": 84,
                                        "w": 84,
                                        "x": 257,
                                        "y": 446
                                    },
                                    {
                                        "h": 84,
                                        "w": 84,
                                        "x": 431,
                                        "y": 460
                                    },
                                    {
                                        "h": 85,
                                        "w": 85,
                                        "x": 1493,
                                        "y": 475
                                    },
                                    {
                                        "h": 79,
                                        "w": 79,
                                        "x": 751,
                                        "y": 381
                                    },
                                    {
                                        "h": 92,
                                        "w": 92,
                                        "x": 1110,
                                        "y": 381
                                    },
                                    {
                                        "h": 89,
                                        "w": 89,
                                        "x": 1237,
                                        "y": 415
                                    },
                                    {
                                        "h": 87,
                                        "w": 87,
                                        "x": 1426,
                                        "y": 487
                                    },
                                    {
                                        "h": 84,
                                        "w": 84,
                                        "x": 128,
                                        "y": 582
                                    },
                                    {
                                        "h": 96,
                                        "w": 96,
                                        "x": 523,
                                        "y": 407
                                    },
                                    {
                                        "h": 90,
                                        "w": 90,
                                        "x": 1156,
                                        "y": 895
                                    }
                                ]
                            },
                            "medium": {
                                "faces": [
                                    {
                                        "h": 63,
                                        "w": 63,
                                        "x": 192,
                                        "y": 334
                                    },
                                    {
                                        "h": 63,
                                        "w": 63,
                                        "x": 323,
                                        "y": 345
                                    },
                                    {
                                        "h": 63,
                                        "w": 63,
                                        "x": 1119,
                                        "y": 356
                                    },
                                    {
                                        "h": 59,
                                        "w": 59,
                                        "x": 563,
                                        "y": 285
                                    },
                                    {
                                        "h": 69,
                                        "w": 69,
                                        "x": 832,
                                        "y": 285
                                    },
                                    {
                                        "h": 66,
                                        "w": 66,
                                        "x": 927,
                                        "y": 311
                                    },
                                    {
                                        "h": 65,
                                        "w": 65,
                                        "x": 1069,
                                        "y": 365
                                    },
                                    {
                                        "h": 63,
                                        "w": 63,
                                        "x": 96,
                                        "y": 436
                                    },
                                    {
                                        "h": 72,
                                        "w": 72,
                                        "x": 392,
                                        "y": 305
                                    },
                                    {
                                        "h": 67,
                                        "w": 67,
                                        "x": 867,
                                        "y": 671
                                    }
                                ]
                            },
                            "orig": {
                                "faces": [
                                    {
                                        "h": 84,
                                        "w": 84,
                                        "x": 257,
                                        "y": 446
                                    },
                                    {
                                        "h": 84,
                                        "w": 84,
                                        "x": 431
                                    }
                                ]
                            }
                        }
                    }
                ]
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
Tweets per User — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/11/tweets+per+user?username=cristiano' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

You can get the following list from a user by searching by username. 

Endpoint ID: 12
GET https://tracker.zylalabs.com/api/5/get+twitter+data+api/12/who+is+the+user+following
INPUT PARAMETERS

Who is the user following — Endpoint Features

Object Description
user_id Required The user_id we want to check for. You can get the user_id from "user details" endpoint.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

user_id
API EXAMPLE RESPONSE
JSON
{
    "results": [
        {
            "creation_date": "Sat Oct 27 19:11:57 +0000 2012",
            "user_id": "908749393",
            "username": "AlNassrFC_EN",
            "name": "AlNassr FC",
            "follower_count": 1848088,
            "following_count": 56,
            "favourites_count": 2,
            "is_private": false,
            "is_verified": true,
            "is_blue_verified": true,
            "location": "Riyadh, Saudi Arabia",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1924480755712794624/Id3LfeBf_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/908749393/1779451680",
            "description": "💛 The League is Yellow\n🏆 The Champion is Nassr",
            "external_url": "https://vhilstudio-alnassr-mystery-box.com",
            "number_of_tweets": 23840,
            "bot": false,
            "timestamp": 1351365117,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": "Business"
        },
        {
            "creation_date": "Tue Jun 15 14:47:40 +0000 2010",
            "user_id": "155927976",
            "username": "rioferdy5",
            "name": "Rio Ferdinand",
            "follower_count": 10617565,
            "following_count": 774,
            "favourites_count": 6280,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1836880197896859648/DIHa3Lm5_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/155927976/1758739106",
            "description": "Official Twitter Account of Rio Ferdinand / Management Enquiries - [email protected]",
            "external_url": "http://Rioferdinandpresents.com",
            "number_of_tweets": 25017,
            "bot": false,
            "timestamp": 1276613260,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Fri Jun 06 13:21:04 +0000 2014",
            "user_id": "2550023839",
            "username": "selecaoportugal",
            "name": "Portugal",
            "follower_count": 2039123,
            "following_count": 282,
            "favourites_count": 4274,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "Portugal",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/2034770998776446976/uv_1B_uZ_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/2550023839/1773962186",
            "description": "🇵🇹 Conta Oficial das Seleções Portuguesas de Futebol, Futsal e Futebol de Praia\n❤️‍🔥 #VaiDarPortugal | 🌊 #ItsPortugalTime",
            "external_url": "http://www.fpf.pt",
            "number_of_tweets": 41506,
            "bot": false,
            "timestamp": 1402060864,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Wed Nov 07 16:32:45 +0000 2012",
            "user_id": "932429090",
            "username": "MarceloM12",
            "name": "Marcelotwelve",
            "follower_count": 11668599,
            "following_count": 473,
            "favourites_count": 2118,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1778384758734557184/HdwWAF1v_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/932429090/1597679542",
            "description": "Marcelo Vieira @ChampionsLeague winner 2014, 2016, 2017, 2018 and 2022 🏆 @Libertadores winner 2023 🏆 @campus_12",
            "external_url": "https://www.groupdoze.com/",
            "number_of_tweets": 2231,
            "bot": false,
            "timestamp": 1352305965,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Mon Apr 11 21:45:31 +0000 2011",
            "user_id": "280701704",
            "username": "jamesdrodriguez",
            "name": "James Rodríguez",
            "follower_count": 16403454,
            "following_count": 289,
            "favourites_count": 296,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1703182231546515456/-0VuqwXp_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/280701704/1687129420",
            "description": "Bienvenidos⚽🇨🇴 JR🔟  Founder @Trulygenius_us",
            "external_url": "https://linktr.ee/jamesrodriguez10",
            "number_of_tweets": 3105,
            "bot": false,
            "timestamp": 1302558331,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Tue Jul 28 10:05:26 +0000 2009",
            "user_id": "60865434",
            "username": "KAKA",
            "name": "Kaka",
            "follower_count": 22840264,
            "following_count": 235,
            "favourites_count": 216,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1226626761611456513/MMyVfrYT_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/60865434/1571241388",
            "description": "",
            "external_url": "",
            "number_of_tweets": 5390,
            "bot": false,
            "timestamp": 1248775526,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Thu Feb 18 16:35:50 +0000 2021",
            "user_id": "1362440617603850246",
            "username": "talisca_aa",
            "name": "Andersontalisca",
            "follower_count": 417556,
            "following_count": 35,
            "favourites_count": 14,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1981727739745853441/ej3l4NFR_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/1362440617603850246/1761315699",
            "description": "Guided by God 🙏",
            "external_url": "",
            "number_of_tweets": 206,
            "bot": false,
            "timestamp": 1613666150,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Mon Feb 19 02:04:08 +0000 2024",
            "user_id": "1759398290909761536",
            "username": "DreameGlobal",
            "name": "Dreame Global",
            "follower_count": 7469,
            "following_count": 11,
            "favourites_count": 178,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1759399345097740288/Q9UQjC5N_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/1759398290909761536/1781677189",
            "description": "ALL DREAMS IN ONE DREAME. Tag #goDreame to be featured.",
            "external_url": "https://global.dreametech.com",
            "number_of_tweets": 522,
            "bot": false,
            "timestamp": 1708308248,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Mon Feb 23 15:42:53 +0000 2026",
            "user_id": "2025959482359185408",
            "username": "LiveModeTV_PT",
            "name": "LiveModeTV",
            "follower_count": 7935,
            "following_count": 25,
            "favourites_count": 31,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "Lisbon, Portugal"
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
Who is the user following — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/12/who+is+the+user+following?user_id=155659213' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Retrieve the followers a user has by querying by user ID. 

Endpoint ID: 13
GET https://tracker.zylalabs.com/api/5/get+twitter+data+api/13/user+followers
INPUT PARAMETERS

User Followers — Endpoint Features

Object Description
user_id Required The user_id we want to check for. You can get the user_id from "user details" endpoint.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

user_id
API EXAMPLE RESPONSE
JSON
{
    "results": [
        {
            "creation_date": "Sat Oct 27 19:11:57 +0000 2012",
            "user_id": "908749393",
            "username": "AlNassrFC_EN",
            "name": "AlNassr FC",
            "follower_count": 1848088,
            "following_count": 56,
            "favourites_count": 2,
            "is_private": false,
            "is_verified": true,
            "is_blue_verified": true,
            "location": "Riyadh, Saudi Arabia",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1924480755712794624/Id3LfeBf_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/908749393/1779451680",
            "description": "💛 The League is Yellow\n🏆 The Champion is Nassr",
            "external_url": "https://vhilstudio-alnassr-mystery-box.com",
            "number_of_tweets": 23840,
            "bot": false,
            "timestamp": 1351365117,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": "Business"
        },
        {
            "creation_date": "Sat Aug 21 19:54:45 +0000 2010",
            "user_id": "181280529",
            "username": "Casemiro",
            "name": "Casemiro",
            "follower_count": 6437316,
            "following_count": 313,
            "favourites_count": 3179,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1025331713642250240/EpbtrihI_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/181280529/1528985965",
            "description": "",
            "external_url": "https://www.instagram.com/casemiro?igsh=ODdkcGNpOXZsbHZq",
            "number_of_tweets": 4893,
            "bot": false,
            "timestamp": 1282420485,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Sun Jan 01 21:29:46 +0000 2017",
            "user_id": "815671379202887684",
            "username": "RodrygoGoes",
            "name": "Rodrygo Goes",
            "follower_count": 5235651,
            "following_count": 468,
            "favourites_count": 1360,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "Madrid, Spain",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/2071766969964015616/KrZam0t8_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/815671379202887684/1675536809",
            "description": "Atleta do @realmadrid e da @cbf_futebol 🇧🇷, revelado pelo @santosfc. 📧 [email protected]",
            "external_url": "https://whatsapp.com/channel/0029VaAkGQZIN9imj4z05B07",
            "number_of_tweets": 3805,
            "bot": false,
            "timestamp": 1483306186,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Tue Apr 30 14:29:11 +0000 2019",
            "user_id": "1123232834376933376",
            "username": "B_Fernandes8",
            "name": "Bruno Fernandes",
            "follower_count": 4811966,
            "following_count": 56,
            "favourites_count": 34,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "Manchester, England",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1421602708772081668/vlWOX6iN_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/1123232834376933376/1629810224",
            "description": "Manchester United 🔴⚫️ and 🇵🇹 Portugal International Footballer ⚽️     📧 [email protected]",
            "external_url": "",
            "number_of_tweets": 593,
            "bot": false,
            "timestamp": 1556634551,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Tue Oct 10 18:01:37 +0000 2017",
            "user_id": "917812374782070785",
            "username": "antony00",
            "name": "Antony Santos",
            "follower_count": 1613706,
            "following_count": 156,
            "favourites_count": 439,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "São Paulo, Brasil",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/2020879423361396737/y_LrNcny_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/917812374782070785/1770649998",
            "description": "🇧🇷\n\[email protected]",
            "external_url": "http://www.4comm.com.br",
            "number_of_tweets": 1140,
            "bot": false,
            "timestamp": 1507658497,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Wed Jul 06 16:47:56 +0000 2011",
            "user_id": "330446733",
            "username": "ToniKroos",
            "name": "Toni Kroos",
            "follower_count": 12483883,
            "following_count": 177,
            "favourites_count": 7515,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "Madrid, Spanien",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1144875187508338688/0MtdI4-f_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/330446733/1425647840",
            "description": "Official Twitter of Toni Kroos. @RealMadrid @DFB_Team @FIFAWorldCup winner 2014, 6x @ChampionsLeague winner Foundation: @TKStiftung",
            "external_url": "http://toni-kroos.com",
            "number_of_tweets": 3554,
            "bot": false,
            "timestamp": 1309970876,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Wed Jul 09 18:06:48 +0000 2014",
            "user_id": "2613992689",
            "username": "UnitedStandMUFC",
            "name": "The United Stand",
            "follower_count": 2897940,
            "following_count": 740,
            "favourites_count": 62942,
            "is_private": false,
            "is_verified": true,
            "is_blue_verified": true,
            "location": "United Kingdom",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/1766110292172328960/ogzYt2jP_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/2613992689/1714994015",
            "description": "Manchester United Fan Channel - For The Global Fanbase | Enquiries [email protected] | @NewsUnitedStand / @ThatsFootballTV",
            "external_url": "https://beacons.ai/theunitedstand",
            "number_of_tweets": 139394,
            "bot": false,
            "timestamp": 1404929208,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": "Business"
        },
        {
            "creation_date": "Fri Aug 02 10:28:18 +0000 2013",
            "user_id": "1640169925",
            "username": "IkerCasillas",
            "name": "Iker Casillas",
            "follower_count": 9033125,
            "following_count": 1209,
            "favourites_count": 15785,
            "is_private": false,
            "is_verified": false,
            "is_blue_verified": true,
            "location": "Madrid, Comunidad de Madrid",
            "profile_pic_url": "https://pbs.twimg.com/profile_images/2028665217526136832/pTEcFo2b_normal.jpg",
            "profile_banner_url": "https://pbs.twimg.com/profile_banners/1640169925/1668189256",
            "description": "Global Ambassador @stake (Unavailable in ESP)  Y como no sabía que era imposible, lo hizo.",
            "external_url": "http://mypublicinbox.com/ikercasillas",
            "number_of_tweets": 6085,
            "bot": false,
            "timestamp": 1375439298,
            "has_nft_avatar": false,
            "category": null,
            "default_profile": null,
            "default_profile_image": null,
            "listed_count": null,
            "verified_type": null
        },
        {
            "creation_date": "Mon Aug 06 10:39:31 +0000 2012",
            "user_id": "740336334",
            "username": "GarethBale11"
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
User Followers — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/13/user+followers?user_id=155659213' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Retrieve general information about a Tweet by Tweet ID. 

Creation date. Likes. Retweets. Who made the tweet. The tweet text and more. 

Endpoint ID: 14
GET https://tracker.zylalabs.com/api/5/get+twitter+data+api/14/tweet+details
INPUT PARAMETERS

Tweet Details — Endpoint Features

Object Description
tweet_id Required The tweet id. Check "tweets per user" to get this information.,

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

tweet_id
API EXAMPLE RESPONSE
JSON
{
    "tweet_id": "2061238843320443140",
    "creation_date": "Mon Jun 01 00:10:10 +0000 2026",
    "text": "The state of AI right now https://t.co/79Wvo9rDgs",
    "media_url": [
        "https://pbs.twimg.com/media/HJr9zc6a4AA2azB.jpg"
    ],
    "video_url": null,
    "user": {
        "creation_date": "Wed Oct 05 17:00:03 +0000 2022",
        "user_id": "1577705091737432070",
        "username": "yunta_tsai",
        "name": "Yun-Ta Tsai",
        "follower_count": 101021,
        "following_count": 215,
        "favourites_count": 106489,
        "is_private": false,
        "is_verified": false,
        "is_blue_verified": true,
        "location": "Earth",
        "profile_pic_url": "https://pbs.twimg.com/profile_images/2035915849819938816/b6kIsNMe_normal.jpg",
        "profile_banner_url": "https://pbs.twimg.com/profile_banners/1577705091737432070/1773849991",
        "description": "Sr. Staff Engineer  @Tesla_AI",
        "external_url": null,
        "number_of_tweets": 13238,
        "bot": false,
        "timestamp": 1664989203,
        "has_nft_avatar": false,
        "category": null,
        "default_profile": true,
        "default_profile_image": false,
        "listed_count": 620,
        "verified_type": null
    },
    "language": "en",
    "favorite_count": 2821,
    "retweet_count": 1047,
    "reply_count": 240,
    "quote_count": 20,
    "retweet": false,
    "views": 779380,
    "timestamp": 1780272610,
    "video_view_count": null,
    "in_reply_to_status_id": null,
    "quoted_status_id": null,
    "binding_values": null,
    "expanded_url": "https://x.com/yunta_tsai/status/2061238843320443140/photo/1",
    "retweet_tweet_id": null,
    "extended_entities": {
        "media": [
            {
                "display_url": "pic.x.com/79Wvo9rDgs",
                "expanded_url": "https://x.com/yunta_tsai/status/2061238843320443140/photo/1",
                "ext_media_availability": {
                    "status": "Available"
                },
                "features": {
                    "large": {
                        "faces": [
                            {
                                "h": 100,
                                "w": 100,
                                "x": 4,
                                "y": 517
                            }
                        ]
                    },
                    "medium": {
                        "faces": [
                            {
                                "h": 100,
                                "w": 100,
                                "x": 4,
                                "y": 517
                            }
                        ]
                    },
                    "orig": {
                        "faces": [
                            {
                                "h": 100,
                                "w": 100,
                                "x": 4,
                                "y": 517
                            }
                        ]
                    },
                    "small": {
                        "faces": [
                            {
                                "h": 68,
                                "w": 68,
                                "x": 2,
                                "y": 351
                            }
                        ]
                    }
                },
                "id_str": "2061238839851802624",
                "indices": [
                    26,
                    49
                ],
                "media_key": "3_2061238839851802624",
                "media_results": {
                    "result": {
                        "media_key": "3_2061238839851802624"
                    }
                },
                "media_url_https": "https://pbs.twimg.com/media/HJr9zc6a4AA2azB.jpg",
                "original_info": {
                    "focus_rects": [
                        {
                            "h": 444,
                            "w": 792,
                            "x": 0,
                            "y": 103
                        },
                        {
                            "h": 792,
                            "w": 792,
                            "x": 0,
                            "y": 0
                        },
                        {
                            "h": 903,
                            "w": 792,
                            "x": 0,
                            "y": 0
                        },
                        {
                            "h": 1000,
                            "w": 500,
                            "x": 292,
                            "y": 0
                        },
                        {
                            "h": 1000,
                            "w": 792,
                            "x": 0,
                            "y": 0
                        }
                    ],
                    "height": 1000,
                    "width": 792
                },
                "sizes": {
                    "large": {
                        "h": 1000,
                        "resize": "fit",
                        "w": 792
                    },
                    "medium": {
                        "h": 1000,
                        "resize": "fit",
                        "w": 792
                    },
                    "small": {
                        "h": 680,
                        "resize": "fit",
                        "w": 539
                    },
                    "thumb": {
                        "h": 150,
                        "resize": "crop",
                        "w": 150
                    }
                },
                "type": "photo",
                "url": "https://t.co/79Wvo9rDgs"
            }
        ]
    },
    "conversation_id": "2061238843320443140",
    "retweet_status": null,
    "quoted_status": null,
    "bookmark_count": 216,
    "source": "Twitter for iPhone",
    "community_note": null
}
Tweet Details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/14/tweet+details?tweet_id=2061238843320443140' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

This endpoint return search results

 
Endpoint ID: 4808
GET https://tracker.zylalabs.com/api/5/get+twitter+data+api/4808/search+tweets
INPUT PARAMETERS

Search Tweets — Endpoint Features

Object Description
query Required Topic or word related to your search

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
API EXAMPLE RESPONSE
JSON
{
    "results": [
        {
            "tweet_id": "2071640066321953081",
            "creation_date": "Mon Jun 29 17:00:55 +0000 2026",
            "text": "Is Ousmane Dembélé the most two-footed player in football?\n\n#UCL https://t.co/nqpUylWxDO",
            "media_url": [
                "https://pbs.twimg.com/amplify_video_thumb/2071638985445629952/img/pdSf7k0_zBtKOM1X.jpg"
            ],
            "video_url": [
                {
                    "content_type": "application/x-mpegURL",
                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/pl/ZNzgg2dnYbaj93xI.m3u8?tag=28&v=cfc"
                },
                {
                    "bitrate": 632000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/vid/avc1/320x400/VVL6awZb6_cRm01n.mp4?tag=28"
                },
                {
                    "bitrate": 950000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/vid/avc1/480x600/kb0pk-k43iZyBp_P.mp4?tag=28"
                },
                {
                    "bitrate": 2176000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/vid/avc1/720x900/AJ0aWSoDyd7KD-gE.mp4?tag=28"
                },
                {
                    "bitrate": 10368000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/vid/avc1/1080x1350/oIvWgEYw-kT4YZQN.mp4?tag=28"
                }
            ],
            "user": {
                "creation_date": "Thu Jul 05 19:43:40 +0000 2012",
                "user_id": "627673190",
                "username": "ChampionsLeague",
                "name": "UEFA Champions League",
                "follower_count": 52976189,
                "following_count": 640,
                "favourites_count": 5354,
                "is_private": false,
                "is_verified": false,
                "is_blue_verified": true,
                "location": "Nyon, Vaud",
                "profile_pic_url": "https://pbs.twimg.com/profile_images/1816474701360685056/-JaD_SYC_normal.jpg",
                "profile_banner_url": "https://pbs.twimg.com/profile_banners/627673190/1721916293",
                "description": "🇪🇸 @LigadeCampeones \n🇯🇵 @UCLJapan \nYouth League: @UEFAMensYouth",
                "external_url": "https://linktr.ee/UEFAChampionsLeague",
                "number_of_tweets": 102280,
                "bot": false,
                "timestamp": 1341517420,
                "has_nft_avatar": false,
                "category": null,
                "default_profile": false,
                "default_profile_image": false,
                "listed_count": 31629,
                "verified_type": "Business"
            },
            "language": "ht",
            "favorite_count": 9388,
            "retweet_count": 527,
            "reply_count": 176,
            "quote_count": 24,
            "retweet": false,
            "views": 655222,
            "timestamp": 1782752455,
            "video_view_count": null,
            "in_reply_to_status_id": null,
            "quoted_status_id": null,
            "binding_values": null,
            "expanded_url": "https://x.com/ChampionsLeague/status/2071640066321953081/video/1",
            "retweet_tweet_id": null,
            "extended_entities": {
                "media": [
                    {
                        "additional_media_info": {
                            "monetizable": false
                        },
                        "display_url": "pic.x.com/nqpUylWxDO",
                        "expanded_url": "https://x.com/ChampionsLeague/status/2071640066321953081/video/1",
                        "ext_media_availability": {
                            "status": "Available"
                        },
                        "id_str": "2071638985445629952",
                        "indices": [
                            65,
                            88
                        ],
                        "media_key": "13_2071638985445629952",
                        "media_url_https": "https://pbs.twimg.com/amplify_video_thumb/2071638985445629952/img/pdSf7k0_zBtKOM1X.jpg",
                        "original_info": {
                            "focus_rects": [],
                            "height": 1350,
                            "width": 1080
                        },
                        "sizes": {
                            "large": {
                                "h": 1350,
                                "resize": "fit",
                                "w": 1080
                            },
                            "medium": {
                                "h": 1200,
                                "resize": "fit",
                                "w": 960
                            },
                            "small": {
                                "h": 680,
                                "resize": "fit",
                                "w": 544
                            },
                            "thumb": {
                                "h": 150,
                                "resize": "crop",
                                "w": 150
                            }
                        },
                        "type": "video",
                        "url": "https://t.co/nqpUylWxDO",
                        "video_info": {
                            "aspect_ratio": [
                                4,
                                5
                            ],
                            "duration_millis": 20400,
                            "variants": [
                                {
                                    "content_type": "application/x-mpegURL",
                                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/pl/ZNzgg2dnYbaj93xI.m3u8?tag=28&v=cfc"
                                },
                                {
                                    "bitrate": 632000,
                                    "content_type": "video/mp4",
                                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/vid/avc1/320x400/VVL6awZb6_cRm01n.mp4?tag=28"
                                },
                                {
                                    "bitrate": 950000,
                                    "content_type": "video/mp4",
                                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/vid/avc1/480x600/kb0pk-k43iZyBp_P.mp4?tag=28"
                                },
                                {
                                    "bitrate": 2176000,
                                    "content_type": "video/mp4",
                                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/vid/avc1/720x900/AJ0aWSoDyd7KD-gE.mp4?tag=28"
                                },
                                {
                                    "bitrate": 10368000,
                                    "content_type": "video/mp4",
                                    "url": "https://video.twimg.com/amplify_video/2071638985445629952/vid/avc1/1080x1350/oIvWgEYw-kT4YZQN.mp4?tag=28"
                                }
                            ]
                        }
                    }
                ]
            },
            "conversation_id": "2071640066321953081",
            "retweet_status": null,
            "quoted_status": null,
            "bookmark_count": 189,
            "source": "Twitter Web App",
            "community_note": null
        },
        {
            "tweet_id": "2077135757181866328",
            "creation_date": "Tue Jul 14 20:58:50 +0000 2026",
            "text": "🚨🚨 BREAKING: SPAIN QUALIFY FOR THE 2026 WORLD CUP FINAL! 💥🇪🇸 https://t.co/g3IJjcTpvt",
            "media_url": [
                "https://pbs.twimg.com/media/HNN39Q5WQAEQd-v.jpg"
            ],
            "video_url": null,
            "user": {
                "creation_date": "Wed Jul 06 10:58:55 +0000 2011",
                "user_id": "330262748",
                "username": "FabrizioRomano",
                "name": "Fabrizio Romano",
                "follower_count": 28320539,
                "following_count": 2677,
                "favourites_count": 11623,
                "is_private": false,
                "is_verified": false,
                "is_blue_verified": true,
                "location": "Milano, Italia",
                "profile_pic_url": "https://pbs.twimg.com/profile_images/1741753635158024192/j0m8Ucvv_normal.jpg",
                "profile_banner_url": "https://pbs.twimg.com/profile_banners/330262748/1635957145",
                "description": "Here we go! © [email protected] 📩",
                "external_url": "https://m.youtube.com/@FabrizioRomanoYT",
                "number_of_tweets": 74042,
                "bot": false,
                "timestamp": 1309949935,
                "has_nft_avatar": false,
                "category": null,
                "default_profile": false,
                "default_profile_image": false,
                "listed_count": 32700
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
Search Tweets — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/4808/search+tweets?query=football' --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 Get Twitter Data 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
zeiss-logo amazon-logo zoom-logo decathlon-logo

Trusted by leading companies

Overview

 

About the API:

The news and current events of the globe are available on Twitter. Both the browser and a mobile device may be used to access Twitter. We also provide programmatic access to Twitter data via our API for companies, developers, and users.

Twitter data is different from data released by the majority of other social networks since it contains information that users choose to broadcast publicly. Through our API platform, the public Twitter data that users have chosen to make available to the public is easily accessible.

 

What this API receives and what your API provides (input/output)?

Using the GetTwitter API, you may get posts, user information, tweet details, account information, related Tweets, and more.

By entering a user’s Twitter username, you can obtain the following information:

  • User’s ID.
  • Number and list of followers.
  • Number and list of users they follow.
  • If the account is verified.
  • If the account is public or private.
  • The URL of the profile image.
  • The number of tweets the account has and a list of them.
  • You can get the content of tweets, creation date, number of likes and retweets of each one.

 

What are the most common uses cases of this API?

This API is ideal for those content creators that want to know more about personalities on Twitter. 

Also if you are a market agency you will collect information about who a user follows to target better your campaigns. 

 

Are there any limitations with your plans?

The only limitation is the number of API calls you can make per month. 

Get Twitter Data API FAQs

Each endpoint returns specific Twitter data. For example, the GET User Details endpoint provides user ID, follower count, and profile image URL, while the GET Tweets per User endpoint returns tweet creation dates, text, and engagement metrics like retweets and likes.

Key fields include user_id, follower_count, number_of_tweets for user details, and tweet_id, creation_date, text, likes, and retweets for tweets. These fields help identify users and analyze tweet performance.

Response data is structured in JSON format. Each endpoint returns a main object containing relevant fields. For instance, the GET User Details endpoint returns user attributes in a single object, while the GET Tweets per User endpoint returns an array of tweet objects.

Parameters vary by endpoint. For GET User Details, you need the Twitter username. For GET Tweets per User, the username is also required. These parameters allow users to customize their requests to retrieve specific data.

Each endpoint provides distinct information. GET User Details offers user profile data, GET Tweets per User returns a list of tweets, GET Who is the user following shows accounts a user follows, and GET User Followers lists a user's followers.

Users can analyze the returned data to gain insights into user engagement and behavior. For example, by examining follower counts and tweet metrics, marketers can tailor campaigns, while content creators can identify trends and popular topics.

Typical use cases include market research, influencer analysis, and social media monitoring. Agencies can target campaigns based on user followings, while content creators can track engagement and audience interests through tweet performance.

Data accuracy is maintained by sourcing information directly from Twitter's public API, which reflects real-time user-generated content. Regular updates ensure that the data remains current and relevant for users accessing it.

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