Skip to main content
GET
Search user posts
Search user posts Pricing — base $0.00145 per successful call (provider cost × 1.45; final charge scales by your plan multiplier). Charged only when the upstream response body code is 200.

Example

Authorizations

Authorization
string
header
required

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

Query Parameters

uid
string
required

用户ID/User ID

q
string
default:""

搜索关键词/Search keyword

page
integer
default:1

页数/Page number

starttime
integer | null
default:1772294400

开始时间戳/Start timestamp

endtime
integer | null
default:1772294400

结束时间戳/End timestamp

hasori
integer
default:1

是否包含原创微博,1=包含,0=不包含/Include original posts, 1=include, 0=exclude

hasret
integer
default:1

是否包含转发微博,1=包含,0=不包含/Include retweets, 1=include, 0=exclude

hastext
integer
default:1

是否包含文字微博,1=包含,0=不包含/Include text posts, 1=include, 0=exclude

haspic
integer
default:1

是否包含图片微博,1=包含,0=不包含/Include image posts, 1=include, 0=exclude

hasvideo
integer
default:1

是否包含视频微博,1=包含,0=不包含/Include video posts, 1=include, 0=exclude

hasmusic
integer
default:1

是否包含音乐微博,1=包含,0=不包含/Include music posts, 1=include, 0=exclude

Response

200 - application/json

Successful Response

code
integer
default:200

HTTP status code | HTTP状态码

request_id
string | null

Unique request identifier | 唯一请求标识符

message
string
default:Request successful. This request will incur a charge.

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

message_zh
string
default:请求成功,本次请求将被计费。

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

support
string
default: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
default: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
default: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
default:本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。

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

cache_url
string | null

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

router
string
default:""

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

params
any
default:{}

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

data
any | null

The response data | 响应数据