Reddit App Fetch Trending Searches
Retrieve current trending searches and topics from the Reddit app. Inputs (all optional): - language: Preferred response language as an IETF language tag, such as en-US. Must be 2–16 characters and match the accepted language-tag format; default: en-US. - need_format: Whether to request cleaned and formatted data; default: false. Returns: A JSON response with trending-search information in data. This may include trending keywords, topics, search-volume or popularity information, and related post previews. The data payload does not have a fixed item schema, so available details may vary. Example inputs: {"language":"en-US","need_format":false}
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
language | string | No | 返回内容使用的语言,采用 IETF 语言标签;默认 en-US / Preferred response language as an IETF language tag; default: en-US | en-US |
need_format | boolean | No | 是否需要清洗数据/Whether to clean and format the data | false |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_reddit_app_fetch_trending_searches' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"language": "en-US",
"need_format": true
}
}'{
"code": 200,
"data": {
"trendingQueries": [
{
"displayQuery": "Camp Flog Gnaw 2026 Livestream Schedule",
"id": "Camp Flog Gnaw 2026 Livestream Schedule",
"rawQuery": "Camp Flog Gnaw 2026 Livestream Schedule"
}
]
},
"docs": "https://api.tikhub.io/#/Reddit-APP-API/fetch_trending_searches_api_v1_reddit_app_fetch_trending_searches_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"language": "en-US",
"need_format": "true"
}
}This example shows part of the response. Copied content is valid JSON.

