/v1/tweet/by-url
Tweet by URL
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/twitterx-api/v1/tweet/by-url" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/twitterx-api/v1/tweet/by-url", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/twitterx-api/v1/tweet/by-url");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/twitterx-api/v1/tweet/by-url",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"lang": "en",
"text": "just setting up my twttr",
"user": {
"name": "jack",
"id_str": "12",
"verified": false,
"screen_name": "jack",
"is_blue_verified": true,
"highlighted_label": {
"url": {
"url": "https://twitter.com/Square",
"url_type": "DeepLink"
},
"badge": {
"url": "https://pbs.twimg.com/profile_images/1285655593592791040/HtwPZgej_bigger.jpg"
},
"description": "Square",
"user_label_type": "BusinessLabel",
"user_label_display_type": "Badge"
},
"profile_image_shape": "Circle",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1661201415899951105/azNjKOSH_normal.jpg"
},
"id_str": "20",
"entities": [],
"isEdited": false,
"__typename": "Tweet",
"created_at": "2006-03-21T20:50:14.000Z",
"isStaleEdit": false,
"edit_control": {
"edit_tweet_ids": [
"20"
],
"edits_remaining": "5",
"is_edit_eligible": true,
"editable_until_msecs": "1142976014000"
},
"favorite_count": 309474,
"news_action_type": "conversation",
"conversation_count": 17917,
"display_text_range": [
0,
24
]
},
"meta": {
"timestamp": "2026-06-02T16:53:16.745Z",
"request_id": "cdbe82f5-74f5-4c7c-bf8b-9414bc69b351"
},
"status": "ok",
"message": "Tweet by URL",
"success": true
}