---
document_id: agent.collection.task.twitter_trending_v1
schema_version: 2
parent_document_id: agent.querying
section: querying
---

<!-- Generated by scripts.build_agent_guide; do not edit. -->

# Trends / 趋势榜

Fetch X trends for a country or region.

取指定国家或地区的 X 趋势榜。

Task / 任务: `twitter_trending_v1`
Platform / 平台: X (Twitter) / X（推特）
Billing / 计费: 2 Credits per successful task / 每个成功任务 2 Credits
Estimate / 估价: call `estimate_collection`; start directly when `approval_required=false`, otherwise obtain approval for `upper_bound_credits`.
估价：调用 `estimate_collection`；`approval_required=false` 时直接启动，否则请用户确认 `upper_bound_credits`。

## Limitations / 限制

- 无分页参数；description 常为 null。

## Inputs / 输入

- `country` — Country / 国家/地区; kind=select; required=False; default='UnitedStates'; allowed=UnitedStates, China, India, Japan, Russia, Germany, Indonesia, Brazil, France, UnitedKingdom, Turkey, Italy, Mexico, SouthKorea, Canada, Spain, SaudiArabia, Egypt, Australia, Poland, Iran, Pakistan, Vietnam, Nigeria, Bangladesh, Netherlands, Argentina, Philippines, Malaysia, Colombia, UniteArabEmirates, Romania, Belgium, Switzerland, Singapore, Sweden, Norway, Austria, Kazakhstan, Algeria, Chile, Czechia, Peru, Iraq, Israel, Ukraine, Denmark, Portugal, Hungary, Greece, Finland, NewZealand, Belarus, Slovakia, Serbia, Lithuania, Luxembourg, Estonia

## Minimal call / 最小调用

`estimate_collection`

```json
{
  "task_query": "查看 X 在美国的趋势榜",
  "task_code": "twitter_trending_v1",
  "input": {
    "country": "UnitedStates"
  }
}
```


## Result and pagination / 结果与分页

- mode=none

Only the fields listed below are part of the stable result contract. /
只有下方列出的字段属于稳定结果契约。

## Result fields / 结果字段

- `meta.request_id` — type=string; Asklear request identifier for tracing. / 用于追踪的 Asklear 请求 ID。
- `meta.api_name` — type=string; Executed collection operation name. / 实际执行的采集操作名称。
- `meta.latency_ms` — type=integer; Collection execution latency in milliseconds. / 采集执行耗时（毫秒）。
- `meta.credits_charged` — type=integer; Asklear user-side Credits settled for this task after completion. / 任务完成后 Asklear 用户侧实际结算的 Credits。
- `data.items` — type=array<object>; Projected public items for this task. / 本任务投影后的公开条目。
- `data.item_count` — type=integer; Number of returned items. / 本次返回的条目数。
- `data.items[].keyword` — type=scalar|null; Search keyword, when available. / 搜索关键词（如有）。
- `data.items[].description` — type=scalar|null; Description, when available. / 描述（如有）。
- `data.items[].context` — type=scalar|null; Context, when available. / 上下文（如有）。
- `data.items[].rank` — type=integer; Rank within the trend list. / 热搜榜内排名。

Use `list_collection_tasks` as the runtime authority, then `describe_collection_task` for one task's full input contract, examples and limits. Collection access is entitlement-gated. /
以 `list_collection_tasks` 返回为运行时准据，再用 `describe_collection_task` 取单个任务的完整入参契约、示例与限制；采集能力受 entitlement 控制。
