| 状态码 | 说明 |
|---|---|
| -1 | failed |
| 0 | success |
| 400 | 参数错误 |
| 1001 | 账户余额不足 |
| 1002 | 邮箱/手机号或密码错误 |
| 1003 | 请求频率超过上限 |
| 1004 | 邮箱或手机号已注册 |
| 1005 | 无效的 API Key |
| 1006 | 用户不存在 |
| 1007 | 登录凭证无效 |
| 1008 | 缺少 API Key |
| 1009 | 手机或邮箱已存在 |
| 1010 | 需要管理员授权 |
| 1011 | 原密码错误 |
| 1012 | 新密码不能与原密码相同 |
| 1013 | 手机号和uid不能都为空 |
| 1014 | 请填写验证码 |
| 1015 | 验证码错误或已过期 |
| 1016 | 登录失败次数过多,请输入验证码 |
| 1017 | 请填写手机号 |
| 1018 | 请填写邮箱 |
| 1019 | 接口不存在,请检查 |
| 5000 | 服务暂时不可用,请稍后重试 |
| 5003 | 网络连接失败,请稍后重试 |
| 6001 | 修改密码失败,请稍后重试 |
| 字段路径 | 示例值 | 说明 |
|---|---|---|
data.next_cursor | "DAAHCgABHS3uPqx__-oLAAIAAAATMjEwMjQxNTMwNzAyNTYwNDkxNQgAAwAAAAIAAA" | 下一页游标 |
data.prev_cursor | "DAAHCgABHS3uPqyAJxELAAIAAAATMjEwMjUyMDI4MzYxODAxNzM1NQgAAwAAAAEAAA" | 上一页游标 |
data.pinned.tweet_id | "2102207241101144450" | 置顶推文ID |
data.pinned.text | "Grok 4.7 https://t.co/wJvgyIPDr2" | 置顶推文内容 |
data.pinned.favorites | 30852 | 置顶推文点赞数 |
data.pinned.views | "21873834" | 置顶推文浏览量 |
data.pinned.media.photo[0].media_url_https | "https://pbs.twimg.com/media/HSyKWCqW4AA5Ubh.jpg" | 置顶推文图片URL |
data.timeline[0].tweet_id | "2102520283618017355" | 推文ID |
data.timeline[0].text | "Interesting. Grok 4.7 is performing fairly well for a smallish model." | 推文内容 |
data.timeline[0].favorites | 6142 | 点赞数 |
data.timeline[0].views | "2144236" | 浏览量 |
data.timeline[0].created_at | "Tue Sep 22 22:07:53 +0000 2026" | 创建时间 |
data.timeline[0].retweets | 658 | 转发数 |
data.timeline[0].replies | 1001 | 回复数 |
data.timeline[0].bookmarks | 205 | 收藏数 |
data.timeline[0].quotes | 75 | 引用数 |
data.user.profile | "elonmusk" | 用户用户名 |
data.user.id | "44196397" | 用户ID |
data.user.name | "Elon Musk" | 用户名称 |
data.user.blue_verified | true | 是否蓝V认证 |
data.user.avatar | "https://pbs.twimg.com/profile_images/2053244804520427520/m8mdWZCG_normal.jpg" | 用户头像URL |
{
"screen_name": "elonmusk",
"rest_id": "44196397",
"cursor": ""
}curl --location 'https://api.yddm.com/X/user_post' \
--header 'x-api-key: {{X-API-Key}}' \
--header 'Content-Type: application/json' \
--data '{
"screen_name": "elonmusk",
"rest_id": "44196397",
"cursor": ""
}'{
"code": 0,
"msg": "success",
"data": {
"cost": 100,
"balance": 994700,
"pinned": {
"tweet_id": "2102207241101144450",
"bookmarks": 1675,
"created_at": "Tue Sep 22 01:23:58 +0000 2026",
"favorites": 30852,
"text": "Grok 4.7 https://t.co/wJvgyIPDr2",
"lang": "en",
"source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>",
"views": "21873834",
"sensitive": false,
"quotes": 354,
"replies": 2816,
"retweets": 2585,
"conversation_id": "2102207241101144450",
"media": {
"photo": [
{
"media_url_https": "https://pbs.twimg.com/media/HSyKWCqW4AA5Ubh.jpg",
"id": "2102207237351464960",
"sizes": {
"h": 769,
"w": 1200
}
}
]
},
"author": {
"rest_id": "44196397",
"name": null,
"screen_name": null,
"avatar": null,
"followers_count": null,
"blue_verified": true
}
},
"timeline": [
{
"tweet_id": "2102520283618017355",
"bookmarks": 205,
"created_at": "Tue Sep 22 22:07:53 +0000 2026",
"favorites": 6142,
"text": "Interesting. Grok 4.7 is performing fairly well for a smallish model.",
"lang": "en",
"sensitive": null,
"source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>",
"views": "2144236",
"quotes": 75,
"entities": [],
"replies": 1001,
"retweets": 658,
"conversation_id": "2102520283618017355",
"media": [],
"author": {
"rest_id": "44196397",
"name": null,
"screen_name": null,
"avatar": null,
"followers_count": null,
"blue_verified": true
},
"quoted": {
"tweet_id": "2102519097770885231",
"bookmarks": 95,
"created_at": "Tue Sep 22 22:03:10 +0000 2026",
"favorites": 847,
"text": "We ran fresh Next.js evals. The tally:\n① Opus 5.5 [𝟿𝟽%]\n② GPT 6 Sol [𝟿𝟽%]\n③ Fable 5.1 [𝟿𝟽%]\n④ Grok 4.7 [𝟿𝟺%]\n\nNotably, Grok is 2x-7x cheaper",
"lang": "en",
"views": "1683526",
"sensitive": null,
"quotes": 20,
"replies": 108,
"retweets": 41,
"conversation_id": "2102519097770885231",
"author": {
"rest_id": "15540222",
"name": null,
"screen_name": null,
"avatar": null,
"followers_count": null,
"blue_verified": true
},
"media": []
}
},
{
"tweet_id": "2102465645334220901",
"bookmarks": 0,
"created_at": "Tue Sep 22 18:30:46 +0000 2026",
"favorites": 0,
"text": "RT @bot: We rebuilt customer support around Grok Bot to scale our operations without adding headcount.\n\nIt works autonomously to respond to…",
"lang": "en",
"sensitive": null,
"source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>",
"views": "594306",
"quotes": 0,
"entities": {
"user_mentions": [
{
"id_str": "2085838061347217408",
"name": "Grok Bot",
"screen_name": "bot"
}
]
},
"replies": 0,
"retweets": 276,
"conversation_id": "2102465645334220901",
"media": [],
"author": {
"rest_id": "44196397",
"name": null,
"screen_name": null,
"avatar": null,
"followers_count": null,
"blue_verified": true
},
"