게시물
게시물 조회
GET /v1/tweets/{tweet_id} reads 1 크레딧
게시물 하나와 그 답글. id는 게시물 링크의 /status/ 뒤 숫자입니다: https://x.com/cz_binance/status/2107511965006622972의 2107511965006622972. 리포스트는 rt_of에 원본을, 인용은 quoted에 인용된 게시물을 전체 본문과 미디어와 함께 담습니다. 그 게시물의 상세 정보(반응 수 등)도 필요하면 그 id로 다시 조회하십시오.
쿼리 매개변수
| 쿼리 파라미터 | 타입 | 의미 |
|---|---|---|
replies_limit | int 0–100 = 20 | 포함할 답글 수 |
응답
게시물과 최대 replies_limit개의 답글. 숫자가 아닌 id는 422입니다. 필드별 설명: Tweet (읽기).
상태: 200, 404, 422, 429, 502
요청
curl https://api.xsignalfeed.com/v1/tweets/2099875660290228642?replies_limit=2 \ -H "Authorization: Bearer xsf_your_key"
응답 · 200 / 404
{
"tweet": {
"id": 2099875660290228642,
"created_ms": 1789484345873,
"user_id": 44196397,
"user": "elonmusk",
"name": "Elon Musk",
"text": "Live demo of building a company with @Grok @Bot!",
"lang": "en",
"reply_to": null,
"reply_to_status_id": null,
"reply_to_user_id": null,
"conversation_id": "2099875660290228642",
"is_rt": false,
"rt_of": null,
"is_quote": true,
"quoted": {
"id": "2099871914655424894",
"user": "poteto",
"name": "lauren",
"user_id": "2832427459",
"text": "going live in about an hour!\n\n…",
"media": [],
"media_items": [],
"created_ms": 1789483452844,
"url": "https://x.com/poteto/status/2099871914655424894"
},
"media": [],
"media_items": [],
"urls": [],
"views": "28720489",
"counts": {
"reply": 2323,
"rt": 2244,
"like": 22995,
"quote": 177,
"bookmark": 3136
},
"article": null,
"edit_of": null,
"edit_ids": [
2099875660290228642
],
"source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>"
},
"replies": [
{
"id": 2099876100000000000,
"user": "someone",
"text": "…",
"reply_to": "elonmusk",
"reply_to_status_id": "2099875660290228642",
"…": "…"
}
]
}