GET /trending

Trending

Trending searches and communities on Reddit now. Reddit Scraper API endpoint /trending: parameters, JSON response fields and code examples.

What Reddit’s search box shows as trending: up to 16 searches and 5 communities, each community with a one-line summary of what it is discussing. The list updates every hour, is the same worldwide and has no history (store it to build one). Expand a search with /post/search. Billed 1 request.

HTTP Request

GET /trending

Cost (in requests): 1. Every successful answer reports its cost in data.billed_requests.

Parameters

This endpoint takes no parameters.

Response

Real response to GET /trending (arrays trimmed to 2 items, long texts cut with …).

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  "status": true,
  "request_id": "d29c48d4-55ba-1030-a788-34040957",
  "data": {
    "trending_searches": [
      {
        "position": 1,
        "query": "Minnesota Wild Beat San Jose Sharks 5-2",
        "search_url": "https://www.reddit.com/search/?q=Minnesota+Wild+Beat+San+Jose+Sharks+5-2"
      },
      {
        "position": 2,
        "query": "Femboy Starter Guide",
        "search_url": "https://www.reddit.com/search/?q=Femboy+Starter+Guide"
      }
    ],
    "trending_subreddits": [
      {
        "position": 1,
        "name": "wowforever",
        "subreddit_id": "t5_jrw26h",
        "icon_url": "https://styles.redditmedia.com/t5_jrw26h/styles/communityIcon_mqkszf4ltiqh1.png",
        "is_nsfw": false,
        "headline": "Just 0.8% of players have rolled an Orc Mage in WoW Forever"
      },
      {
        "position": 2,
        "name": "tamilyapping",
        "subreddit_id": "t5_e1nr1a",
        "icon_url": "https://styles.redditmedia.com/t5_e1nr1a/styles/communityIcon_u8s2govqbjre1.jpg",
        "is_nsfw": false,
        "headline": "A Tamil family celebrates parents' anniversary with surprising openness"
      }
    ],
    "computed_at": "2026-11-24T20:18:21.736619+00:00",
    "billed_requests": 1
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectReddit’s trending searches and communities.
data.trending_searchesarray of objectsUp to 16 searches trending on Reddit now.
data.trending_searches[].positionintegerRank in Reddit’s list, 1-based.
data.trending_searches[].querystringThe trending search text, e.g. Black Friday 2026 Deals. Pass it as q to /post/search.
data.trending_searches[].search_urlstringReddit’s search page for the query.
data.trending_subredditsarray of objectsCommunities trending now (5), each with what it is discussing.
data.trending_subreddits[].positionintegerRank in Reddit’s list, 1-based.
data.trending_subreddits[].namestringSubreddit name without r/.
data.trending_subreddits[].subreddit_idstringSubreddit id (t5_…).
data.trending_subreddits[].icon_urlstringCommunity icon URL.
data.trending_subreddits[].is_nsfwbooleanMarked 18+.
data.trending_subreddits[].headlinestringReddit’s one-line AI summary of what the community is discussing this hour.
data.computed_atstringWhen this answer was computed (RFC 3339, UTC). Older than the request when it was served from the cache.
data.billed_requestsintegerRequests billed for this call (also sent as Requests in the X-RapidAPI-Billing header when it is not RapidAPI’s default of 1).
request_paramsobjectEcho of the parameters you sent

Error Responses

Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:

1
{ "status": false, "request_id": "99a1e6cd-2e57-9e8f-4e44-2dea7f6d", "error": "Invalid parameter 'post_id': must be a post id such as z1c9z or t3_z1c9z", "request_params": { "post_id": "!!" } }
Status CodeCauseDescription
400Invalid or missing parameterPlain-English message per field. Not billed
503Reddit temporarily unreachable"error": "Service temporarily unavailable". Not billed, retry later

Code Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
import requests

url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/trending"

params = {

}

headers = {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=params)
data = response.json()["data"]

print(data)
print("Billed requests:", data["billed_requests"])
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
const url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/trending";

const params = new URLSearchParams({

});

const response = await fetch(`${url}?${params}`, {
  headers: {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
  }
});

const { data } = await response.json();
console.log(data);
1
2
3
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/trending" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
  • Popular Feed : Popular posts across Reddit, worldwide or by country
  • Best Feed : Reddit’s best posts right now, worldwide
Start building today

Get your API key and make your first request in under a minute.

Get Your API Key on RapidAPI