REST(cURL)
curl -X POST https://api.dataxapi.com/v1/x/posts/replies \
-H "Authorization: Bearer $DATAXAPI_API_KEY" \
-H "Idempotency-Key: your-stable-intent-key" \
-H "Content-Type: application/json" \
-d '{"tweet_id":"1808168603721650364"}'x.posts.replies@v1
帖子回复列表
按 Conversation 源 Tweet ID 分页读取该公开会话中的最新回复。
/v1/x/posts/replies英文名称: X post replies · Post Reply · List
Read one cursor-paginated page of the latest public replies in the conversation rooted at the requested source Tweet ID.
术语: Tweet — 帖子
字段tweet_id类型string约束与默认值pattern: "^[0-9]{1,20}$"必填性必填字段cursor类型string约束与默认值minLength: 1必填性选填{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"tweet_id": {
"type": "string",
"pattern": "^[0-9]{1,20}$"
},
"cursor": {
"type": "string",
"minLength": 1
}
},
"required": [
"tweet_id"
],
"additionalProperties": false
}{
"code": 200,
"request_id": "req_example_x_post_replies",
"message": "success",
"data": {
"items": [
{
"id": "1960000000000000001",
"text": "Public fixture reply",
"created_at": "Tue Aug 25 12:01:00 +0000 2026",
"language": "en",
"conversation_id": "1808168603721650364",
"sensitive": false,
"author": {
"id": "1000",
"username": "example",
"name": "Example",
"verified": false,
"verified_type": null,
"followers_count": 50
},
"metrics": {
"replies": 1,
"reposts": 0,
"quotes": 0,
"likes": 2,
"bookmarks": 0,
"views": "20"
}
}
]
},
"page": {
"next_cursor": "opaque_cursor_example"
},
"warnings": [],
"meta": {
"listing_id": "x.posts.replies",
"version": "v1",
"catalog_release_id": "catalog-production-2026-09-17.1",
"price_book_version": "pricebook-production-2026-09-17.1",
"result_status": "complete",
"charged_amount": "0.02",
"balance_after": "0.98",
"currency": "CNY"
}
}完整结果和空结果收费;部分结果和失败不收费。
安全验证
正在加载安全验证…
正在确认实时执行状态…
// Result
字段摘要用于快速浏览;完整 JSON Schema 是稳定输出 Contract。
字段code类型number约束与默认值const: 200必填性必填字段request_id类型string约束与默认值无额外约束必填性必填字段message类型string约束与默认值const: "success"必填性必填字段data类型object约束与默认值无额外约束必填性必填字段page类型object约束与默认值无额外约束必填性必填字段warnings类型array约束与默认值无额外约束必填性必填字段meta类型object约束与默认值无额外约束必填性必填{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"code": {
"type": "number",
"const": 200
},
"request_id": {
"type": "string"
},
"message": {
"type": "string",
"const": "success"
},
"data": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"text": {
"type": "string"
},
"created_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"conversation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sensitive": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"author": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"verified": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"verified_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"followers_count": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"username",
"name",
"verified",
"verified_type",
"followers_count"
],
"additionalProperties": false
},
"metrics": {
"type": "object",
"properties": {
"replies": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"reposts": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"quotes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"bookmarks": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"views": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"replies",
"reposts",
"quotes",
"likes",
"bookmarks",
"views"
],
"additionalProperties": false
}
},
"required": [
"id",
"text",
"created_at",
"language",
"conversation_id",
"sensitive",
"author",
"metrics"
],
"additionalProperties": false
}
}
},
"required": [
"items"
],
"additionalProperties": false
},
"page": {
"type": "object",
"properties": {
"next_cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"next_cursor"
],
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"meta": {
"type": "object",
"properties": {
"listing_id": {
"type": "string",
"const": "x.posts.replies"
},
"version": {
"type": "string",
"const": "v1"
},
"catalog_release_id": {
"type": "string",
"minLength": 1
},
"price_book_version": {
"type": "string",
"minLength": 1
},
"result_status": {
"type": "string",
"enum": [
"complete",
"empty",
"partial"
]
},
"charged_amount": {
"type": "string"
},
"balance_after": {
"type": "string"
},
"currency": {
"type": "string",
"const": "CNY"
}
},
"required": [
"listing_id",
"version",
"catalog_release_id",
"price_book_version",
"result_status",
"charged_amount",
"balance_after",
"currency"
],
"additionalProperties": false
}
},
"required": [
"code",
"request_id",
"message",
"data",
"page",
"warnings",
"meta"
],
"additionalProperties": false
}curl -X POST https://api.dataxapi.com/v1/x/posts/replies \
-H "Authorization: Bearer $DATAXAPI_API_KEY" \
-H "Idempotency-Key: your-stable-intent-key" \
-H "Content-Type: application/json" \
-d '{"tweet_id":"1808168603721650364"}'[mcp_servers.dataxapi] url = "https://api.dataxapi.com/mcp" bearer_token_env_var = "DATAXAPI_API_KEY"
同一个 API Key 只会暴露其 Scope 内的精确 Tool。请把 Key 放在环境变量中,不要写入配置文件。需要安全重试时,请显式复用 idempotency_key。