跳转到主要内容
GET
details
获取 subreddit 的元数据,包括订阅者数量、描述等。Subreddit 名称区分大小写。

示例

请求规范

  • 方法与路径: GET /apis/v1/reddit/subreddit/details
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/reddit/subreddit/details
  • cache_max_age: query; 可选
  • subreddit: query; 可选
  • url: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际计费结果数量收费。 默认请求预估费用:$0.00188 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

cache_max_age
enum<string>

If we have a response in the cache that is this many days old or newer, return the cached response (with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result. See the Caching page for details.

可用选项:
14d,
1d,
30d,
3d,
7d
subreddit
string

Subreddit 名称。必须区分大小写。因此应使用 'AskReddit',而不是 'askreddit'。

url
string

Subreddit URL

响应

成功响应

credits_remaining
integer
description
string
display_name
string
rules
object[]
subreddit_id
string
subscribers
integer
success
boolean
weekly_active_users
integer
weekly_contributions
integer