Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Reddit App Trending Searches

Tài liệu API
https://api.sandbase.ai/v1/api/reddit/app/trending-searches

Returns currently trending search queries and topics from the Reddit mobile application, with an option to clean and format the output data.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
Whether to clean and format the data
Đầu raVí dụ
Phản hồioutputs · 703 B · 24 dòng
[
  {
    "data": {
      "trendingQueries": [
        {
          "displayQuery": "Fundrise Innovation Fund (VCX)",
          "id": "Fundrise Innovation Fund (VCX)",
          "rawQuery": "Fundrise Innovation Fund (VCX)"
        },
        {
          "displayQuery": "Phia Cookie Stuffing Scandal",
          "id": "Phia Cookie Stuffing Scandal",
          "rawQuery": "Phia Cookie Stuffing Scandal"
        },
        {
          "displayQuery": "Bebe Rexha and Jordan Clarkson Relationship",
          "id": "Bebe Rexha and Jordan Clarkson Relationship",
          "rawQuery": "Bebe Rexha and Jordan Clarkson Relationship"
        },
        "… 3 more items in the full response"
      ]
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Reddit App Trending Searches API

Returns the list of search queries currently trending in the Reddit mobile app. The only input is the optional need_format flag, so you can call it with an empty body.

Use cases

  • Show a live list of trending Reddit topics on a dashboard or newsletter.
  • Spot new events, product launches and earnings talk that Reddit users are searching for.
  • Feed trending query text into a keyword search to collect the posts behind each topic.
  • Compare the trending list across repeated calls to see which topics enter or leave it.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/trending-searches" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
need_formatbooleanNoWhether to clean and format the data

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "trendingQueries": [
    {
      "displayQuery": "Sephora Rouge Fall 2026 Savings Event Code",
      "id": "Sephora Rouge Fall 2026 Savings Event Code",
      "rawQuery": "Sephora Rouge Fall 2026 Savings Event Code",
      "trendingIcon": ""
    }
  ]
}

Response fields

FieldMeaning
trendingQueriesList of the trending search queries. Each item is one query.
trendingQueries[].displayQueryThe query text as shown to app users. Use this for display.
trendingQueries[].rawQueryThe query text to use when you run a search for this topic.
trendingQueries[].idIdentifier for the query. In this response it has the same value as the query text.
trendingQueries[].trendingIconIcon value for the query. It is an empty string in this response.

Notes

  • The request needs no input. Send {} to get the default output, or set need_format to true to ask for cleaned and formatted data.
  • Pass a rawQuery value to Reddit Keyword Search or Reddit Search to get the posts for a trending topic.
  • To get partial matches while a user types, use Reddit App Search Typeahead.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Reddit$0.001 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON
Reddit$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Reddit API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Reddit App Trending Searches?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/reddit/app/trending-searches với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Reddit App Trending Searches có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Reddit App Trending Searches chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: need_format (boolean). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Reddit App Trending Searches trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Reddit không?

Không. Reddit App Trending Searches chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Reddit.