跳到主要内容
所有网站
Data API

X Data API

来自 X(原 Twitter)的帖子、个人资料、搜索和趋势。

8 个端点已为你处理速率限制 · TLS 指纹 · login_wall
twitter.comGET/twitter/trendsGET/twitter/trend…GET/twitter/tweet…{ } JSON
示例(实时抓取) 打开演练场
x.com
示例
JSON 响应点击页面以追踪字段
{
"id": "11348282",
"scraped_at": "2026-11-19T10:48:04.894356+00:00",
"username": "NASA",
"name": "NASA",
"bio": "Making the seemingly impossible, possible. ✨",
"followers": 92210917,
"following": 115,
"tweets": 74560,
"likes_count": 17119,
"listed_count": 96877,
"media_count": 28256,
"verified": true,
"verified_type": "Government",
"protected": false,
"fast_followers_count": 0,
"has_custom_timelines": true,
"default_profile_image": false,
"created_at": "Wed Dec 19 20:20:32 +0000 2007",
"location": "Pale Blue Dot",
"website": "http://www.nasa.gov/",
"bio_urls": [
],
"pinned_tweet_ids": [
],
"profile_image": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
"avatar": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
"banner": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
"header": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
"url": "https://x.com/NASA",
"identity_verified": false,
"verified_since_ms": "1249674830941",
"possibly_sensitive": false
}
GET/v1/twitter/users/{username}/by_username1 额度 / 次 已验证

User by Username

Fetch a user profile by handle.

已为你处理:速率限制TLS 指纹login_wall
参数
名称类型必填描述
usernamestring是Handle (no @).