# 视频号关键词搜索可以限定最近一周或指定日期吗？

[规范网址](https://social2api.com/answers/wechat-channels-search-published-within-options/)

目录中的视频号关键词搜索支持 published\_within=day、week 或 half\_year。要指定任意起止日，可先用覆盖目标的来源窗口找候选，再按发布字段做二次筛选。

DataXAPI 价目生效日期与版本 [2026-11-25 · v22](https://social2api.com/pricing-catalog.json)

## Agent 提示词

~~~~text
请帮我回答「视频号关键词搜索可以限定最近一周或指定日期吗？」
目录中的视频号关键词搜索支持 published_within=day、week 或 half_year。要指定任意起止日，可先用覆盖目标的来源窗口找候选，再按发布字段做二次筛选。
先选平台支持的相对窗口。 调用 GET /v1/wechat_channels/videos/search，用 query 和 published_within=week 抓取周范围内的候选。该端点不接受 since 或 until 查询参数；传未声明参数会返回 400。
导出时再限定闭区间。 将 data.items 中的 published_at 转成统一时区，按目标起止日筛选。保留无法解析日期的记录作为待核查，不把它们计入区间。搜索有覆盖限制，二次筛选不能找回未返回的作品。
先核对输入和权限。交付结果或可运行的步骤，保留限制及出处。实时取数前确认范围与预算。
https://social2api.com/answers/wechat-channels-search-published-within-options/
~~~~

[打开视频号关键词搜索接口文档](https://social2api.com/docs/api/catalog-wechat-channels-videos-search/)

## 先选平台支持的相对窗口

调用 GET /v1/wechat\_channels/videos/search，用 query 和 published\_within=week 抓取周范围内的候选。该端点不接受 since 或 until 查询参数；传未声明参数会返回 400。

## 导出时再限定闭区间

将 data.items 中的 published\_at 转成统一时区，按目标起止日筛选。保留无法解析日期的记录作为待核查，不把它们计入区间。搜索有覆盖限制，二次筛选不能找回未返回的作品。

## 为什么用 Social2api

- **微信视频号 视频搜索的取样预算** 按 DataXAPI 参考价，2 页估算 USD 0.04，通常约 20 条。 [价格和规格](https://social2api.com/pricing-catalog.json)
- **微信视频号 用户视频列表的取样预算** 按 DataXAPI 参考价，2 页估算 USD 0.04，通常约 30 条。 [价格和规格](https://social2api.com/pricing-catalog.json)
- **预算可控** 托管实时任务可设 1–36 次上游调用上限。 [来源 1](https://social2api.com/docs/api/run/#parameters)
- **免密钥试跑** 3 种托管任务可免费试跑，0 次上游调用。 [来源 1](https://social2api.com/guides/social2api-demo-contract-acceptance/)
- **接入 AI** 1 个 MCP 地址提供最多 3 个按权限可见的工具。 [来源 1](https://social2api.com/docs/api/mcp/)
- **目录覆盖** 覆盖 21 个平台分类、197 个扩展操作。 [来源 1](https://social2api.com/v1/catalog)
- **用量可查** 账单显示 30 个 UTC 自然日的上游尝试量。 [来源 1](https://social2api.com/docs/api/settings-billing/)

## 用到的接口

- [微信视频号 视频搜索](https://social2api.com/docs/api/catalog-wechat-channels-videos-search/) · `GET /v1/wechat_channels/videos/search`
  输入 query。结果在 data.items，续页使用 page.next\_cursor。 DataXAPI 参考价 USD 0.02/次
- [微信视频号 用户视频列表](https://social2api.com/docs/api/catalog-wechat-channels-users-videos-list/) · `GET /v1/wechat_channels/users/videos/list`
  输入 id。结果在 data.items，续页使用 page.next\_cursor。 DataXAPI 参考价 USD 0.02/次

## 相关用户讨论

- [相邻需求（YouTube）：限定过去一周或一月再比较作品表现](https://www.reddit.com/r/AskProgramming/comments/1k03cvj/)

## 相关问答和工具

- [社媒数据 API 问答](https://social2api.com/answers/)。 查找小红书、抖音、微信视频号的独立取数问答，核对接口的输入、返回字段、权限、分页和用量。

[打开视频号关键词搜索接口文档](https://social2api.com/docs/api/catalog-wechat-channels-videos-search/)
