Aller au contenu
Tous les sites
Data API

X Data API

Publications, profils, recherche et tendances de X (anciennement Twitter).

8 endpointsLimite de débit · Empreinte TLS · login_wall pris en charge pour vous
twitter.comGET/twitter/trendsGET/twitter/trend…GET/twitter/tweet…{ } JSON
Exemple (capturé en direct) Ouvrir le playground
x.com
Exemple
Réponse JSONcliquez sur la page pour tracer un champ
{
"ids": [
"20",
"1131258528402776064"
],
"results": [
{
"id": "20",
"scraped_at": "2026-11-19T10:48:30.386549+00:00",
"text": "just setting up my twttr",
"created_at": "2006-03-21T20:50:14.000Z",
"lang": "en",
"likes": 324821,
"retweets": null,
"replies": 19261,
"quotes": null,
"is_edited": false,
"possibly_sensitive": null,
"reply_to_username": null,
"reply_to": null,
"is_reply": false,
"display_text_range": [
0,
24
],
"hashtags": [
],
"urls": [
],
"mentions": [
],
"symbols": [
],
"media": [
],
"author": {
"id": "12",
"username": "jack",
"name": "jack",
"verified": true,
"profile_image": "https://pbs.twimg.com/profile_images/1661201415899951105/azNjKOSH_normal.jpg",
"verified_type": null
},
"url": "https://x.com/jack/status/20",
"edit_control": {
"edit_tweet_ids": [
"20"
],
"is_edit_eligible": true,
"edits_remaining": "5",
"editable_until": "1142976014000"
}
},
{
"id": "1131258528402776064",
"scraped_at": "2026-11-19T10:48:31.595216+00:00",
"text": "Frankly, I rarely tweet anything other than a link, because I don’t enjoy debating with strangers in a public setting. Even polite ones. I can think of fewer activities that are as time-consuming *and* frustrating. Perhaps golf. But at least then you get nature.",
"created_at": "2019-05-22T18:00:25.000Z",
"lang": "en",
"likes": 275,
"retweets": null,
"replies": 9,
"quotes": null,
"is_edited": false,
"possibly_sensitive": null,
"reply_to_username": "ev",
"reply_to": "1131258525714341888",
"is_reply": true,
"display_text_range": [
0,
262
],
"hashtags": [
],
"urls": [
],
"mentions": [
],
"symbols": [
],
"media": [
],
"author": {
"id": "20",
"username": "ev",
"name": "Ev",
"verified": true,
"profile_image": "https://pbs.twimg.com/profile_images/1112521685045923840/PNTlqJOF_normal.jpg",
"verified_type": null
},
"url": "https://x.com/ev/status/1131258528402776064",
"edit_control": {
"edit_tweet_ids": [
"1131258528402776064"
],
"is_edit_eligible": true,
"edits_remaining": "5",
"editable_until": "1558549825595"
}
}
]
}
GET/v1/twitter/tweets/by-ids1 crédit / exécution Vérifié

Tweets by IDs

Fetch multiple tweets by id.

Pris en charge pour vous :Limite de débitEmpreinte TLSlogin_wall
Paramètres
NomTypeRequisDescription
idsstringouiComma-separated tweet ids.