| 状态码 | 说明 |
|---|---|
| -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 | 修改密码失败,请稍后重试 |
{
"tweet_id": "1808168603721650364"
}curl --location 'https://api.yddm.com/X/article_detail' \
--header 'x-api-key: {{X-API-Key}}' \
--header 'Content-Type: application/json' \
--data '{
"tweet_id": "1808168603721650364"
}'{
"code": 0,
"msg": "success",
"data": {
"cost": 100,
"balance": 10209445,
"likes": 291590,
"created_at": "Tue Jul 02 15:59:23 +0000 2024",
"status": "active",
"text": "The New York Times is attacking *your* freedom of speech! https://t.co/TRIa13TWdY",
"display_text": "The New York Times is attacking *your* freedom of speech!",
"urls": [],
"retweets": 54561,
"bookmarks": 6867,
"quotes": 3934,
"reply_to": null,
"replies": 27186,
"lang": "en",
"in_reply_to_screen_name": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id_str": null,
"sensitive": false,
"views": "53712737",
"conversation_id": "1808168603721650364",
"entities": {
"hashtags": [],
"media": [
{
"display_url": "pic.x.com/TRIa13TWdY",
"expanded_url": "https://x.com/elonmusk/status/1808168603721650364/photo/1",
"id_str": "1808168600894689280",
"indices": [
58,
81
],
"media_key": "3_1808168600894689280",
"media_url_https": "https://pbs.twimg.com/media/GRfnwy5X0AAwIK2.jpg",
"type": "photo",
"url": "https://t.co/TRIa13TWdY",
"ext_media_availability": {
"status": "Available"
},
"features": {
"large": {
"faces": []
},
"medium": {
"faces": []
},
"small": {
"faces": []
},
"orig": {
"faces": []
}
},
"sizes": {
"large": {
"h": 355,
"w": 712,
"resize": "fit"
},
"medium": {
"h": 355,
"w": 712,
"resize": "fit"
},
"small": {
"h": 339,
"w": 680,
"resize": "fit"
},
"thumb": {
"h": 150,
"w": 150,
"resize": "crop"
}
},
"original_info": {
"height": 355,
"width": 712,
"focus_rects": [
{
"x": 20,
"y": 0,
"w": 634,
"h": 355
},
{
"x": 160,
"y": 0,
"w": 355,
"h": 355
},
{
"x": 182,
"y": 0,
"w": 311,
"h": 355
},
{
"x": 248,
"y": 0,
"w": 178,
"h": 355
},
{
"x": 0,
"y": 0,
"w": 712,
"h": 355
}
]
},
"media_results": {
"result": {
"media_key": "3_1808168600894689280"
}
}
}
],
"symbols": [],
"timestamps": [],
"urls": [],
"user_mentions": []
},
"initial_tweets": null,
"author": {
"rest_id": "44196397",
"name": "Elon Musk",
"screen_name": "elonmusk",
"image": "https://pbs.twimg.com/profile_images/2008546467615580160/57KcqsTA_normal.jpg",
"blue_verified": true,
"verification": null,
"sub_count": 233919400
},
"media": {
"photo": [
{
"media_url_https": "https://pbs.twimg.com/media/GRfnwy5X0AAwIK2.jpg",
"id": "1808168600894689280"
}
]
},
"id": "1808168603721650364"
}
}