Skip to main content
POST
Fetch hashtag search V2
获取话题搜索 V2 计费 — 成功调用基准价 $0.0145(= provider 成本 × 1.45;最终扣费按你的套餐倍率浮动)。仅当上游响应体 code200 时计费。

示例

授权

Authorization
string
header
必填

AIsa API key. Get yours at https://aisa.one

请求体

application/json
keyword
string
默认值:猫咪

关键词 / Keyword

cursor
integer
默认值:0

偏移游标,用于翻页,从上一次请求返回的响应中获取 / Offset cursor for pagination, obtained from the last response

sort_type
string
默认值:0

排序方式:0=综合排序 1=最多点赞 2=最新发布 / Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest

publish_time
string
默认值:0

发布时间筛选:0=不限 1=最近一天 7=最近一周 180=最近半年 / Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year

filter_duration
string
默认值:0

视频时长过滤:0=不限 0-1=一分钟以内 1-5=一到五分钟 5-10000=五分钟以上 / Video duration filter: 0=Unlimited, 0-1=Within 1 minute, 1-5=1 to 5 minutes, 5-10000=More than 5 minutes

content_type
string
默认值:0

内容类型:0=不限 1=视频 2=图片 3=文章 / Content type: 0=All, 1=Video, 2=Picture, 3=Article

search_id
string
默认值:""

搜索ID,用于翻页,从上一次请求返回的响应中获取 / Search ID for pagination, obtained from the last response

backtrace
string
默认值:""

翻页回溯标识,用于翻页,从上一次请求返回的响应中获取 / Backtrace for pagination, obtained from the last response

响应

200 - application/json

Successful Response

code
integer
默认值:200

HTTP status code | HTTP状态码

request_id
string | null

Unique request identifier | 唯一请求标识符

message
string
默认值:Request successful. This request will incur a charge.

Response message (EN-US) | 响应消息 (English)

message_zh
string
默认值:请求成功,本次请求将被计费。

Response message (ZH-CN) | 响应消息 (中文)

support
string
默认值:Discord: https://discord.gg/aMEAS8Xsvz

Support message | 支持消息

time
string

The time the response was generated | 生成响应的时间

time_stamp
integer

The timestamp the response was generated | 生成响应的时间戳

time_zone
string
默认值:America/Los_Angeles

The timezone of the response time | 响应时间的时区

docs
string | null

Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接

cache_message
string | null
默认值:This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.

Cache message (EN-US) | 缓存消息 (English)

cache_message_zh
string | null
默认值:本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。

Cache message (ZH-CN) | 缓存消息 (中文)

cache_url
string | null

The URL to access the cached result | 访问缓存结果的 URL

router
string
默认值:""

The endpoint that generated this response | 生成此响应的端点

params
any
默认值:{}

The parameters used in the request | 请求中使用的参数

data
any | null

The response data | 响应数据