# Tweet Embed — Zapi reference > Fetch public tweet embed information. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/social-media/twitter-syndication - Endpoint catalog: https://zpi.web.id/category/social-media - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## Tweet Embed **Category:** social-media · **Slug:** `twitter-syndication` **Detail page:** https://zpi.web.id/api/social-media/twitter-syndication Fetch public tweet embed information. **Tags:** twitter, x ### Tweet Get embed information for a public tweet. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/social-media:twitter-syndication/tweet/:tweetId` - **Cache TTL:** 300s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `tweetId` | string | path | yes | Tweet ID (numeric) atau full twitter.com/x.com URL | **cURL:** ```bash curl "https://api.zpi.web.id/v1/social-media:twitter-syndication/tweet/:tweetId" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/social-media:twitter-syndication/tweet/:tweetId", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/social-media:twitter-syndication/tweet/:tweetId", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` --- ### Get Profile Timeline Profil X beserta tweet terbarunya, tanpa login. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/social-media:twitter-syndication/profile/:username` - **Cache TTL:** 900s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `username` | string | path | yes | X handle (with or without @) or a full x.com/twitter.com profile URL | **cURL:** ```bash curl "https://api.zpi.web.id/v1/social-media:twitter-syndication/profile/:username" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/social-media:twitter-syndication/profile/:username", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/social-media:twitter-syndication/profile/:username", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "ok": true, "user": { "id": "11348282", "url": "https://twitter.com/NASA", "name": "NASA", "avatar": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg", "banner": "https://pbs.twimg.com/profile_banners/11348282/1775567134", "username": "NASA", "verified": true, "createdAt": "Wed Dec 19 20:20:32 +0000 2007", "protected": false, "mediaCount": 28063, "description": "Making the seemingly impossible, possible. ✨", "listedCount": 96996, "statusesCount": 74299, "followersCount": 92246891, "followingCount": 119, "favouritesCount": 16904 }, "count": 20, "tweets": [ { "id": "2085320225776427457", "url": "https://twitter.com/NASA/status/2085320225776427457", "lang": "en", "text": "LIVE: Time for a spacewalk! Watch as @Astro_Jessica and @Astro_Anil step outside the @Space_Station to prepare the orbiting lab for a new solar array. The spacewalk will begin around 8:35am ET (1235 UTC) and run for about six-and-a-half hours. https://t.co/2J3hlLGUEj", "isReply": false, "createdAt": "Thu Aug 06 11:00:59 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 8, "replyCount": 64, "retweetCount": 85, "favoriteCount": 360, "conversationId": "2085320225776427457", "possiblySensitive": false }, { "id": "2085116299223425392", "url": "https://twitter.com/NASA/status/2085116299223425392", "lang": "en", "text": "On Aug. 12, you have the chance to experience a total solar eclipse from anywhere in the world.\n\nStarting at 1:15pm ET (1715 UTC), we'll stream live as the Moon passes in front of the Sun, bringing the views and the science straight to you.\n\nGet safe viewing tips in this video. https://t.co/AMkUR50Fo7", "media": [ { "url": "https://pbs.twimg.com/media/HO_SOR-WYAAVT4J.jpg", "type": "video", "video": "https://video.twimg.com/amplify_video/2085116218021736448/vid/avc1/1280x720/Eh8miiwmo8s_CHWk.mp4?tag=14" } ], "isReply": false, "createdAt": "Wed Aug 05 21:30:39 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 126, "replyCount": 205, "retweetCount": 1885, "favoriteCount": 7175, "conversationId": "2085116299223425392", "possiblySensitive": false }, { "id": "2085101081260904717", "url": "https://twitter.com/NASA/status/2085101081260904717", "lang": "en", "text": "In the early hours of Wednesday, Aug. 5, a portion of a @SpaceX rocket impacted on the Moon's surface. In this video, we answer some of your questions. https://t.co/BhWcGfRYMO", "media": [ { "url": "https://pbs.twimg.com/media/HO_EYeIWMAAl-yw.png", "type": "video", "video": "https://video.twimg.com/amplify_video/2085101033903071233/vid/avc1/1280x720/NbDpoBdvreV6p1qW.mp4?tag=14" } ], "isReply": false, "createdAt": "Wed Aug 05 20:30:11 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 50, "replyCount": 197, "retweetCount": 416, "favoriteCount": 2194, "conversationId": "2085101081260904717", "possiblySensitive": false }, { "id": "2085073186895311005", "url": "https://twitter.com/NASA/status/2085073186895311005", "lang": "en", "text": "RT @NASAArtemis: Artemis III is taking shape 🚀\n\nFrom the Orion spacecraft coming together to key SLS (Space Launch System) hardware reachin…", "isReply": false, "createdAt": "Wed Aug 05 18:39:21 +0000 2026", "isRetweet": true, "retweetOf": { "id": "2085070109249253669", "username": "NASAArtemis" }, "quoteCount": 0, "replyCount": 0, "retweetCount": 205, "favoriteCount": 0, "conversationId": "2085073186895311005", "possiblySensitive": false }, { "id": "2085039845877879246", "url": "https://twitter.com/NASA/status/2085039845877879246", "lang": "en", "text": "RT @NASAAdmin: For those interested in a spent booster impacting the lunar surface, this rare occurrence has decades of history, going back…", "isReply": false, "createdAt": "Wed Aug 05 16:26:52 +0000 2026", "isRetweet": true, "retweetOf": { "id": "2085039026545758218", "username": "NASAAdmin" }, "quoteCount": 0, "replyCount": 0, "retweetCount": 592, "favoriteCount": 0, "conversationId": "2085039845877879246", "possiblySensitive": false }, { "id": "2085033654846189941", "url": "https://twitter.com/NASA/status/2085033654846189941", "lang": "en", "text": "What have we learned about Mars in the last fifty years? Our @Reddit AMA on Martian exploration is live — we'll be back to answer your questions at 2pm ET (1800 UTC): https://t.co/ksRiPBOFcN https://t.co/by1R73DDPN", "media": [ { "url": "https://pbs.twimg.com/media/HO-HDqzWEAECjlI.jpg", "type": "photo" } ], "isReply": false, "createdAt": "Wed Aug 05 16:02:16 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 14, "replyCount": 167, "retweetCount": 336, "favoriteCount": 2494, "conversationId": "2085033654846189941", "possiblySensitive": false }, { "id": "2084734580737634576", "url": "https://twitter.com/NASA/status/2084734580737634576", "lang": "en", "text": "Lunar landers, assemble. In clean rooms across the country, commercial lunar landers are preparing for upcoming missions in support of @NASAMoonBase. https://t.co/FEr3zr7nhU", "media": [ { "url": "https://pbs.twimg.com/media/HO52IohWAAERmBy.jpg", "type": "video", "video": "https://video.twimg.com/amplify_video/2084731730880000000/vid/avc1/1920x1080/A0cYnykQL46G8plU.mp4" } ], "isReply": false, "createdAt": "Tue Aug 04 20:13:51 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 35, "replyCount": 188, "retweetCount": 566, "favoriteCount": 3866, "conversationId": "2084734580737634576", "possiblySensitive": false }, { "id": "2084712464466190650", "url": "https://twitter.com/NASA/status/2084712464466190650", "lang": "en", "text": "LIVE: After 241 days in orbit, @astro_ChrisW returned home on July 26. Tune in as he recaps his eight months on the @Space_Station. https://t.co/9QTA6pAKrC", "isReply": false, "createdAt": "Tue Aug 04 18:45:58 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 14, "replyCount": 129, "retweetCount": 224, "favoriteCount": 1507, "conversationId": "2084712464466190650", "possiblySensitive": false }, { "id": "2084683703087698290", "url": "https://twitter.com/NASA/status/2084683703087698290", "lang": "en", "text": "RT @NASAMoonBase: 🔓 Clean room access unlocked. \n\nFrom @blueorigin and @Firefly_Space to @Int_Machines and @voyagertech_, here’s an update…", "isReply": false, "createdAt": "Tue Aug 04 16:51:41 +0000 2026", "isRetweet": true, "retweetOf": { "id": "2084681133116080578", "username": "NASAMoonBase" }, "quoteCount": 0, "replyCount": 0, "retweetCount": 428, "favoriteCount": 0, "conversationId": "2084683703087698290", "possiblySensitive": false }, { "id": "2084662090506113377", "url": "https://twitter.com/NASA/status/2084662090506113377", "lang": "en", "text": "We've been exploring Mars for 50 years. Come ask our scientists about it!\n\nJoin us on Wednesday, Aug. 5 for a @Reddit AMA on the past, present, and future of Martian exploration: https://t.co/ftUvBWHjKi https://t.co/M5fQnt83dd", "media": [ { "url": "https://pbs.twimg.com/media/HO41H8sWgAENCgt.jpg", "type": "photo" } ], "isReply": false, "createdAt": "Tue Aug 04 15:25:48 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 49, "replyCount": 268, "retweetCount": 851, "favoriteCount": 6813, "conversationId": "2084662090506113377", "possiblySensitive": false }, { "id": "2084377462004228223", "url": "https://twitter.com/NASA/status/2084377462004228223", "lang": "en", "text": "RT @NASAaero: ✨ What sparked your love of flight? ✨\n\nCelebrate National Aviation Day on Aug. 19 by sharing your aviation story! ✈️❤️\n\nShare…", "isReply": false, "createdAt": "Mon Aug 03 20:34:47 +0000 2026", "isRetweet": true, "retweetOf": { "id": "2084356383688831220", "username": "NASAaero" }, "quoteCount": 0, "replyCount": 0, "retweetCount": 38, "favoriteCount": 0, "conversationId": "2084377462004228223", "possiblySensitive": false }, { "id": "2084359126121853051", "url": "https://twitter.com/NASA/status/2084359126121853051", "lang": "en", "text": "Is your name part of our legacy of exploration and discovery?\n\nAhead of its launch later this month, we installed a plaque on @NASARoman holding an SD card with over one million submitted names, continuing our tradition of leaving humanity’s mark on the cosmos. https://t.co/44fIGjAXAb", "media": [ { "url": "https://pbs.twimg.com/media/HO0hlELWoAESoCS.jpg", "type": "video", "video": "https://video.twimg.com/amplify_video/2084359021016842240/vid/avc1/720x1280/Z80IHz1cHy_Xa2dF.mp4?tag=14" } ], "isReply": false, "createdAt": "Mon Aug 03 19:21:55 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 26, "replyCount": 175, "retweetCount": 315, "favoriteCount": 1625, "conversationId": "2084359126121853051", "possiblySensitive": false }, { "id": "2084338672145465586", "url": "https://twitter.com/NASA/status/2084338672145465586", "lang": "en", "text": "LIVE: Meet the members of Crew-13! Tune in as they talk about their upcoming journey, launching no earlier than mid-September. https://t.co/xAdlVA5fni", "isReply": false, "createdAt": "Mon Aug 03 18:00:39 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 14, "replyCount": 101, "retweetCount": 200, "favoriteCount": 1263, "conversationId": "2084338672145465586", "possiblySensitive": false }, { "id": "2084308522221588976", "url": "https://twitter.com/NASA/status/2084308522221588976", "lang": "en", "text": "LIVE: Crew-13 will be lifting off to the @Space_Station no earlier than mid-September. Tune in as leaders from NASA and agency partners give an overview of the mission. https://t.co/09NQaN6XtL", "isReply": false, "createdAt": "Mon Aug 03 16:00:50 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 16, "replyCount": 183, "retweetCount": 334, "favoriteCount": 2009, "conversationId": "2084308522221588976", "possiblySensitive": false }, { "id": "2083317461269598348", "url": "https://twitter.com/NASA/status/2083317461269598348", "lang": "en", "text": "RT @NASALangley: New @NASA wind tunnel alert 🚨✈️🚀\n \nCheck out some highlights from the opening of NASA Langley's Flight Dynamics Research F…", "isReply": false, "createdAt": "Fri Jul 31 22:22:43 +0000 2026", "isRetweet": true, "retweetOf": { "id": "2083281738525028863", "username": "NASALangley" }, "quoteCount": 0, "replyCount": 0, "retweetCount": 95, "favoriteCount": 0, "conversationId": "2083317461269598348", "possiblySensitive": false }, { "id": "2083302981907140799", "url": "https://twitter.com/NASA/status/2083302981907140799", "lang": "en", "text": "Later this year, we'll be holding an event at @NASAKennedy to showcase American leadership in aviation, space exploration, and emerging technologies. Join us for a sneak preview on Friday, Aug. 14: https://t.co/XVQAapIx2y https://t.co/qZDAUCA0B8", "media": [ { "url": "https://pbs.twimg.com/media/HOlhBC3XEAAX5eh.jpg", "type": "photo" } ], "isReply": false, "createdAt": "Fri Jul 31 21:25:11 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 7, "replyCount": 153, "retweetCount": 314, "favoriteCount": 2027, "conversationId": "2083302981907140799", "possiblySensitive": false }, { "id": "2083296052283613303", "url": "https://twitter.com/NASA/status/2083296052283613303", "lang": "en", "text": "The sky is full of excitement this month! You can look forward to seeing:\n- A lunar and solar eclipse\n- The Perseid meteor shower\n- Venus at its brightest\n\nLearn more about how to catch August’s celestial sights. https://t.co/4Tk2sQgUD1", "media": [ { "url": "https://pbs.twimg.com/media/HOlauDTWsAAYldS.jpg", "type": "video", "video": "https://video.twimg.com/amplify_video/2083295759718334465/vid/avc1/1280x720/D3xjHdrPFC88lCbZ.mp4?tag=14" } ], "isReply": false, "createdAt": "Fri Jul 31 20:57:39 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 68, "replyCount": 163, "retweetCount": 1221, "favoriteCount": 5345, "conversationId": "2083296052283613303", "possiblySensitive": false }, { "id": "2083289440542208058", "url": "https://twitter.com/NASA/status/2083289440542208058", "lang": "en", "text": "Meet our newest wind tunnel: The Flight Dynamics Research Facility (FDRF) 💨\n\nLocated at @NASALangley, the FDRF will play a role in developing experimental planes and future Moon and Mars missions. https://t.co/vn8GUwxiQi https://t.co/47gZMX61bj", "media": [ { "url": "https://pbs.twimg.com/media/HOlUtNaXkAAgBp-.jpg", "type": "photo" } ], "isReply": false, "createdAt": "Fri Jul 31 20:31:22 +0000 2026", "isRetweet": false, "retweetOf": {}, "quoteCount": 17, "replyCount": 112, "retweetCount": 267, "favoriteCount": 1861, "conversationId": "2083289440542208058", "possiblySensitive": false }, { "id": "2083275297734996299", "url": "https://twitter.com/NASA/status/2083275297734996299", "lang": "en", "text": "RT @NASASpox: Across the world, in the skies, and beyond, here’s the latest in your NASA Minute:\n\n🇬🇧 Farnborough Air Show\n✈️ Oshkosh\n🌏 @Ast…", "isReply": false, "createdAt": "Fri Jul 31 19:35:11 +0000 2026", "isRetweet": true, "retweetOf": { "id": "2083274306977726473", "username": "NASASpox" }, "quoteCount": 0, "replyCount": 0, "retweetCount": 69, "favoriteCount": 0, "conversationId": "2083275297734996299", "possiblySensitive": false }, { "id": "2083256739537805727", "url": "https://twitter.com/NASA/status/2083256739537805727", "lang": "en", "text": "RT @NASALangley: It’s official! @NASA’s newest wind tunnel is now open ✅🎉\n \nThe Flight Dynamics Research Facility at NASA Langley will help…", "isReply": false, "createdAt": "Fri Jul 31 18:21:26 +0000 2026", "isRetweet": true, "retweetOf": { "id": "2083248829151772836", "username": "NASALangley" }, "quoteCount": 0, "replyCount": 0, "retweetCount": 68, "favoriteCount": 0, "conversationId": "2083256739537805727", "possiblySensitive": false } ] } ``` --- _Generated: 2026-08-06T15:06:31.464Z_