curl --request GET \
--url https://api.utrack.club/v1/data/tweet/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.utrack.club/v1/data/tweet/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.utrack.club/v1/data/tweet/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.utrack.club/v1/data/tweet/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.utrack.club/v1/data/tweet/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.utrack.club/v1/data/tweet/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.utrack.club/v1/data/tweet/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "1234567890123456789",
"type": "TWEET",
"created_at": 1609459200000,
"author": {
"id": "987654321",
"handle": "example_user",
"private": false,
"verified": true,
"sensitive": false,
"restricted": false,
"joined_at": 1262304000000,
"profile": {
"name": "Example User",
"location": "San Francisco, CA",
"avatar": "https://pbs.twimg.com/profile_images/example.jpg",
"banner": "https://pbs.twimg.com/profile_banners/example.jpg",
"pinned": [],
"url": {
"name": "example.com",
"url": "https://example.com",
"tco": "https://t.co/example"
},
"description": {
"text": "Example bio text",
"urls": []
}
},
"metrics": {
"likes": 100,
"media": 50,
"tweets": 1000,
"friends": 200,
"followers": 5000,
"following": 300
}
},
"subtweet": null,
"reply": null,
"quoted": null,
"body": {
"text": "This is an example tweet",
"urls": [],
"mentions": [],
"components": []
},
"media": {
"images": [],
"videos": [],
"thumbnails": [],
"proxied": null
},
"grok": null,
"card": null,
"poll": null,
"article": null,
"community": null,
"metrics": {
"likes": 10,
"quotes": 2,
"replies": 5,
"retweets": 3,
"advanced": null
}
}{
"error": "Invalid tweet data"
}{
"status": 401,
"error": "Unauthorized",
"message": "Invalid or missing token in Authorization header"
}{
"error": "Couldn't locate this tweet"
}{
"status": 429,
"error": "Rate Limit Exceeded",
"message": "Rate limit of 5 requests per second exceeded"
}{
"error": "Internal server error"
}Get a tweet
Fetches detailed information about a specific tweet by its ID. Returns a parsed TwitterTweet object with author information, media, metrics, and any referenced tweets (replies, quotes, retweets).
When expanded=true, the endpoint returns enhanced data including:
- Complete full text for long-form tweets
- Article content with rich formatting, media, and embedded components (if the tweet contains an article)
- Community information (if the tweet belongs to a community)
- Enhanced structured content
When expanded=false or omitted, returns the standard tweet data format.
curl --request GET \
--url https://api.utrack.club/v1/data/tweet/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.utrack.club/v1/data/tweet/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.utrack.club/v1/data/tweet/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.utrack.club/v1/data/tweet/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.utrack.club/v1/data/tweet/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.utrack.club/v1/data/tweet/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.utrack.club/v1/data/tweet/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "1234567890123456789",
"type": "TWEET",
"created_at": 1609459200000,
"author": {
"id": "987654321",
"handle": "example_user",
"private": false,
"verified": true,
"sensitive": false,
"restricted": false,
"joined_at": 1262304000000,
"profile": {
"name": "Example User",
"location": "San Francisco, CA",
"avatar": "https://pbs.twimg.com/profile_images/example.jpg",
"banner": "https://pbs.twimg.com/profile_banners/example.jpg",
"pinned": [],
"url": {
"name": "example.com",
"url": "https://example.com",
"tco": "https://t.co/example"
},
"description": {
"text": "Example bio text",
"urls": []
}
},
"metrics": {
"likes": 100,
"media": 50,
"tweets": 1000,
"friends": 200,
"followers": 5000,
"following": 300
}
},
"subtweet": null,
"reply": null,
"quoted": null,
"body": {
"text": "This is an example tweet",
"urls": [],
"mentions": [],
"components": []
},
"media": {
"images": [],
"videos": [],
"thumbnails": [],
"proxied": null
},
"grok": null,
"card": null,
"poll": null,
"article": null,
"community": null,
"metrics": {
"likes": 10,
"quotes": 2,
"replies": 5,
"retweets": 3,
"advanced": null
}
}{
"error": "Invalid tweet data"
}{
"status": 401,
"error": "Unauthorized",
"message": "Invalid or missing token in Authorization header"
}{
"error": "Couldn't locate this tweet"
}{
"status": 429,
"error": "Rate Limit Exceeded",
"message": "Rate limit of 5 requests per second exceeded"
}{
"error": "Internal server error"
}Authorizations
Authentication token passed in the Authorization header as 'Bearer '
Path Parameters
The tweet ID (snowflake ID)
Query Parameters
When set to true, returns enhanced tweet data including full text for long-form tweets and complete article content with rich formatting. When false or omitted, returns standard tweet data. Default: false
true, false Response
Tweet data retrieved successfully
Complete detailed version of a Twitter/X post
The tweet's snowflake ID
The type of the tweet
TWEET, RETWEET, QUOTE, REPLY UNIX timestamp of when the tweet was created in milliseconds
Complete detailed version of a Twitter/X user profile
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The subtweet (reply, quote, retweet) referenced by this tweet (if any)
Information about who the tweet is replying to (if any)
Show child attributes
Show child attributes
Information about who the tweet is quoting (if any)
Show child attributes
Show child attributes
Embedded Grok xAI conversation preview in the tweet (if any)
Show child attributes
Show child attributes
Information about an embedded card within the tweet (if any)
Show child attributes
Show child attributes
Information about a poll within the tweet (if any)
Show child attributes
Show child attributes
Information about an article within the tweet (if any)
Show child attributes
Show child attributes
Information about the community the tweet belongs to (if any). Only available when expanded=true
Show child attributes
Show child attributes
