# 账号文章

按公众号 username 取历史文章列表。要取某篇文章的详情用 wechat_mp_article_detail_v1。

ID: native-http:social.wechat.account.articles · Region: cn · Status: unknown

catalog_version: 5c920c774a55e44d7e8c709143b88a18b8b2afcef91a5d19a8c9ae5d565d9077
updated_at: 2026-10-21T12:06:16.523771+00:00

缓存资料；当前可用状态待核实。

按公众号 username 取历史文章列表。要取某篇文章的详情用 wechat_mp_article_detail_v1。

历史数据以数据集发布版本定义覆盖周期；实时读取反映请求时资料，不保证覆盖全部记录。

Docs: https://docs.asklear.cn/capabilities/native-http%3Asocial.wechat.account.articles

## POST /v1/native/social/wechat/accounts/articles

native · unknown · api_key

REST 需要客户 API Key；MCP 需要已开放的服务及现有授权；CLI 需要已发布且包含该命令的客户端。

按公众号 username 取历史文章列表。要取某篇文章的详情用 wechat_mp_article_detail_v1。

按成功请求计费，每次请求计一次；max_credits 限制本次费用上限。

恢复同一次原生请求时复用原 Idempotency-Key。

等待态响应提供结果/状态引用。先读取原结果；超时或结果不明时禁止自动重新提交付费执行。401/403/422 应先修正鉴权、权限或输入。

### Input schema / 输入契约

```json
{
  "$defs": {
    "Schema1": {}
  },
  "additionalProperties": false,
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "cursor": {
          "default": "",
          "description": "翻页游标（base64），首页留空；翻页传上一页响应的 next_offset/Pagination cursor (base64), leave empty for first page; for the next page pass next_offset from the previous response",
          "maxLength": 8192,
          "pattern": "^[A-Za-z0-9+/=_-]*$",
          "type": "string"
        },
        "item_show_type": {
          "default": 0,
          "description": "内容栏目：留空/0=文章（默认）、5=视频、7=音频、8=贴图/Content tab: empty/0=articles (default), 5=videos, 7=audios, 8=image-text posts",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "page_size": {
          "default": 20,
          "description": "每页数量（默认 20）。⚠️ 微信当前**忽略**该参数：返回条数由公众号自身决定，实测取 1 与取 40 结果完全相同；翻页请用 offset / next_offset/Articles per page (default 20). NOTE: WeChat currently ignores this parameter — the count is decided by the account itself; paginate with offset / next_offset",
          "maximum": 20,
          "minimum": 10,
          "type": "integer"
        },
        "raw": {
          "default": false,
          "description": "True=原始响应；False=精简解析结构/True=raw response; False=simplified parsed structure",
          "type": "boolean"
        },
        "username": {
          "description": "公众号 username。三种形态都支持：`gh_…`、`gh_…@app`（关联小程序的账号）、以及自定义微信号（如 `nikejdi`）。取自文章详情接口响应的 `$.data.content.user_name`/Official account username. Three forms are supported: `gh_…`, `gh_…@app` (mini-program-linked accounts) and custom WeChat IDs (e.g. `nikejdi`). Taken from `$.data.content.user_name` of the article detail endpoints",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "username"
      ],
      "type": "object"
    },
    "max_credits": {
      "anyOf": [
        {
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "task_query": {
      "anyOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional task attribution: when provided, write one concise, self-contained task_query in the user's language and reuse that exact value in every call for the task, including discovery, search, approval retry, results, export, and status checks. For MCP calls, when omitted, Asklear records a generic non-user-specific attribution so compatible clients can still call the tool. REST calls may omit it and remain unattributed. It is a task description, not a task identifier. Do not include hidden reasoning, credentials, or direct personal identifiers such as phone numbers, email addresses, identity numbers, or street addresses.",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}
```

### Synthetic request / 合成请求

```json
{
  "input": {
    "username": "example"
  }
}
```

### Response schema / 响应契约

```json
{
  "$defs": {
    "Schema1": {},
    "Schema2": {
      "properties": {
        "api_name": {
          "type": "string"
        },
        "credits_charged": {
          "minimum": 0,
          "type": "integer"
        },
        "latency_ms": {
          "minimum": 0,
          "type": "integer"
        },
        "next_input": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "cursor": {
                  "default": "",
                  "maxLength": 8192,
                  "pattern": "^[A-Za-z0-9+/=_-]*$",
                  "type": "string"
                },
                "item_show_type": {
                  "default": 0,
                  "maximum": 100,
                  "minimum": 0,
                  "type": "integer"
                },
                "page_size": {
                  "default": 20,
                  "maximum": 20,
                  "minimum": 10,
                  "type": "integer"
                },
                "raw": {
                  "default": false,
                  "description": "True=原始响应；False=精简解析结构/True=raw response; False=simplified parsed structure",
                  "type": "boolean"
                },
                "username": {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "username"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "api_name",
        "request_id",
        "latency_ms",
        "credits_charged",
        "next_input"
      ],
      "type": "object"
    }
  },
  "properties": {
    "data": {
      "additionalProperties": true,
      "description": "Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.",
      "properties": {
        "code": {
          "type": [
            "integer",
            "null"
          ]
        },
        "data": {
          "additionalProperties": true,
          "properties": {
            "articles": {
              "items": {
                "additionalProperties": true,
                "description": "Optional path documented by the source; presence depends on response mode and record type.",
                "properties": {
                  "appMsg": {
                    "additionalProperties": true,
                    "description": "Optional path documented by the source; presence depends on response mode and record type.",
                    "properties": {
                      "detailInfo": {
                        "description": "Optional path documented by the source; presence depends on response mode and record type."
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "app_msg_id": {
                    "description": "Source identifiers retain their original string or integer representation. This optional field may also be null or absent.",
                    "type": [
                      "string",
                      "integer",
                      "null"
                    ]
                  },
                  "baseInfo": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  },
                  "cover": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  },
                  "covers": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  },
                  "create_time": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  },
                  "digest": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  },
                  "idx": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  },
                  "pic_count": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  },
                  "title": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "description": "Optional path documented by the source; presence depends on response mode and record type."
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "biz_username": {
              "description": "Optional path documented by the source; presence depends on response mode and record type."
            },
            "count": {
              "description": "Optional path documented by the source; presence depends on response mode and record type."
            },
            "is_end": {
              "description": "Source flags may be JSON booleans or integer flags; original values are retained. This optional field may also be null or absent.",
              "type": [
                "boolean",
                "integer",
                "null"
              ]
            },
            "next_offset": {
              "description": "Optional path documented by the source; presence depends on response mode and record type."
            },
            "username": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "meta": {
      "$ref": "#/$defs/Schema2"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### Synthetic response / 合成响应

```json
{
  "data": {
    "code": 200,
    "data": {
      "articles": [
        {
          "app_msg_id": "1001",
          "title": "文章"
        }
      ],
      "is_end": true,
      "username": "gh_example"
    }
  },
  "meta": {
    "api_name": "social.wechat.account.articles",
    "credits_charged": 3,
    "latency_ms": 12,
    "next_input": null,
    "request_id": "asklear-example"
  }
}
```

- data (object): Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.
- data.code (integer|null): 暂无字段说明
- data.data (object|null): 暂无字段说明
- data.data.articles (array|null): 暂无字段说明
- data.data.is_end (boolean|integer|null): Source flags may be JSON booleans or integer flags; original values are retained. This optional field may also be null or absent.
- data.data.username (string|null): 账号用户名（如有）。
- data.data.biz_username (scalar): 公众号用户名（如有）。
- data.data.count (scalar): 结果数量（如有）。
- data.data.next_offset (scalar): Optional path documented by the source; presence depends on response mode and record type.
- meta (object): 暂无字段说明
- meta.api_name (string): 暂无字段说明
- meta.request_id (string): 暂无字段说明
- meta.latency_ms (integer): 暂无字段说明
- meta.credits_charged (integer): 暂无字段说明
- meta.next_input (scalar): 暂无字段说明
- data.data.articles[].app_msg_id (string|integer|null): Source identifiers retain their original string or integer representation. This optional field may also be null or absent.
- data.data.articles[].title (string|null): 标题（如有）。
- data.data.articles[].digest (scalar): 文章摘要（如有）。
- data.data.articles[].url (scalar): 公开链接（如有）。
- data.data.articles[].cover (scalar): 封面图片链接（如有）。
- data.data.articles[].covers (scalar): Optional path documented by the source; presence depends on response mode and record type.
- data.data.articles[].create_time (scalar): 创建时间（如有）。
- data.data.articles[].idx (scalar): 序号（如有）。
- data.data.articles[].pic_count (scalar): 图片数（如有）。
- data.data.articles[].appMsg (object|null): Optional path documented by the source; presence depends on response mode and record type.
- data.data.articles[].appMsg.detailInfo (scalar): Optional path documented by the source; presence depends on response mode and record type.
- data.data.articles[].baseInfo (scalar): Optional path documented by the source; presence depends on response mode and record type.
- meta.next_input.cursor (string): 暂无字段说明
- meta.next_input.item_show_type (integer): 暂无字段说明
- meta.next_input.page_size (integer): 暂无字段说明
- meta.next_input.raw (boolean): True=原始响应；False=精简解析结构/True=raw response; False=simplified parsed structure
- meta.next_input.username (string): 暂无字段说明

Follow up: GET /v1/native/results/{query_id}
读取已保存结果，不重复查询数据或收费。

