搜索视频
POST
/api/ks/search_aweme请求参数
Header 参数
cookie
string
可选
web端cookie
Body 参数application/json
keyword
string
必需
pcursor
string
必需
示例
{
"keyword": "袁天罡",
"pcursor": "0"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
result
integer
必需
mixFeeds
array [object {6}]
必需
recoPcursor
string
必需
ussid
string
必需
extParams
object
必需
pcursor
string
必需
llsid
string
必需
jumpToSlideMode
boolean
必需
host-name
string
必需
recoInterestFlag
boolean
必需
responseCode
integer
必需
示例
{
"code": 0,
"msg": "string",
"data": {
"result": 0,
"mixFeeds": [
{
"feed": {
"longVideo": true,
"editInfo": {
"editVersion": 0,
"editTime": 0
},
"supportType": 0,
"bottomEntryInfo": {
"bottomStyleInfo": {
"bottomWeakStyle": {
"title": "string",
"iconUrl": "string",
"actionUrl": "string",
"fontColor": "string",
"fontSize": 0,
"visibility": 0,
"backgroundColor": "string",
"roundCorner": true,
"enableForceClose": true,
"iconWidth": 0,
"iconHeight": 0,
"notTruncatedTitle": "string",
"showSeparator": true,
"iconTextSuffix": "string",
"preTitle": "string",
"tailIconUrl": "string",
"bottomWeakStyleType": 0,
"showArrow": true,
"label": "string",
"users": [
null
]
},
"bottomStrongStyle": {
"title": "string",
"iconUrl": "string",
"actionUrl": "string",
"fontColor": "string",
"fontSize": 0,
"visibility": 0,
"backgroundColor": "string",
"roundCorner": true,
"enableForceClose": true,
"iconWidth": 0,
"iconHeight": 0,
"showSeparator": true,
"iconTextSuffix": null,
"preTitle": "string",
"tailIconUrl": "string",
"labels": [
null
],
"bottomStrongStyleType": 0,
"needToRequestStrongApi": true,
"strongStyleItems": [
null
]
},
"showStrongVideoMillis": 0,
"showStrongVideoCountdownMillis": 0,
"playVideoEndToStrongMillis": 0,
"weakToStrongAction": [
null
],
"strongStyleCloseHideWeakStyle": true,
"styleTriggers": [
null
],
"delayShowWeakStyle": true
},
"bottomBizType": 0,
"eventTrackData": {
"search_redpoint_entry_source": "string",
"search_redpoint_query_list_id": "string",
"search_redpoint_query_name": "string",
"stg_recall_source": "string",
"search_redpoint_query_id": "string"
},
"bizExtraData": {}
},
"fastCommentType": 0,
"enableFullScreenPlay": true,
"showProgressEnterDetail": true,
"poi": {
"latitude": 0,
"longitude": 0,
"title": "string",
"id": 0,
"address": "string",
"city": "string",
"category": 0
},
"ptp": "string",
"sourcePhotoPage": "string",
"hasVote": true,
"commentInfo": {
"commentIconType": 0,
"commentCountSpecialEffect": true,
"permissions": 0
},
"videoColdStartType": 0,
"savePlayProgressStrategy": 0,
"feedSwitches": {
"disableCommentLikeAnimation": true,
"disable61ActivityAnimation": true,
"enablePlayerPanel": true,
"enablePictureCommentForPhoto": true
},
"plcFeatureEntryAbFlag": 0,
"noNeedToRequestPLCApi": true,
"plcResponseTime": 0,
"plcHighPriorityThanBottomEntry": true,
"hated": 0,
"liked": 0,
"streamManifest": {
"version": "string",
"businessType": 0,
"mediaType": 0,
"videoId": "string",
"hideAuto": true,
"manualDefaultSelect": true,
"stereoType": 0,
"adaptationSet": [
{
"id": 0,
"duration": 0,
"representation": [
{
"id": 0,
"url": "string",
"backupUrl": [
"string"
],
"m3u8Slice": "string",
"maxBitrate": 0,
"avgBitrate": 0,
"codecs": "string",
"width": 0,
"height": 0,
"frameRate": 0,
"quality": 0,
"kvqScore": {
"FR": 0,
"NR": 0,
"FRPost": 0,
"NRPost": 0
},
"qualityType": "string",
"qualityLabel": "string",
"featureP2sp": true,
"hidden": true,
"disableAdaptive": true,
"defaultSelect": true,
"comment": "string",
"hdrType": 0,
"fileSize": 0,
"bitratePattern": [
0
]
}
]
}
],
"playInfo": {
"cdnTimeRangeLevel": 0
},
"videoFeature": {
"blurProbability": 0,
"blockyProbability": 0,
"avgEntropy": 0,
"mosScore": 0
}
},
"override_cover_thumbnail_type": 0,
"ff_cover_thumbnail_urls": [
{
"cdn": "string",
"url": "string"
}
],
"main_mv_urls": [
{
"cdn": "string",
"url": "string"
}
],
"cover_thumbnail_urls": [
{
"cdn": "string",
"url": "string"
}
],
"override_cover_thumbnail_urls": [
{
"cdn": "string",
"url": "string"
}
],
"comments": [
null
],
"us_c": 0,
"slideCommentEntryDisabled": true,
"comment_count": 0,
"frameStyle": 0,
"following": 0,
"kwaiId": "string",
"verified": true,
"user_sex": "string",
"headurls": [
{
"cdn": "string",
"url": "string"
}
],
"user_name": "string",
"displayTime": null,
"location": {},
"timestamp": 0,
"time": "string",
"pureTitle": "string",
"isShareCountExp": true,
"photo_id": 0,
"forward_count": 0,
"view_count": 0,
"share_count": 0,
"photo_status": 0,
"caption": "string",
"like_count": 0,
"unlike_count": 0,
"shareGuide": {
"photoShareGuide": true,
"minPlayDurationInSeconds": 0,
"textDisplayDurationInSeconds": 0,
"playTimes": 0
},
"us_d": 0,
"enableShareToStory": true,
"forward_stats_params": {
"fid": "string",
"et": "string"
},
"share_info": "string",
"soundTrack": {
"imageUrls": [
{
"cdn": "string",
"url": "string"
}
],
"artist": "string",
"avatarUrls": [
{
"cdn": "string",
"url": "string"
}
],
"audioUrls": [
{
"cdn": "string",
"url": "string"
}
],
"photoId": 0,
"user": {
"kwaiId": "string",
"following": true,
"eid": "string",
"headurls": [
{
"cdn": "string",
"url": "string"
}
],
"visitorBeFollowed": true,
"headurl": "string",
"user_sex": "string",
"user_name": "string",
"profilePagePrefetchInfo": {
"profilePageType": 0
},
"user_id": 0
},
"name": "string",
"duration": 0,
"audioType": 0,
"genreId": 0,
"id": "string",
"type": 0,
"loudness": 0,
"finalStatus": 0,
"disableEnhancedEntry": true,
"hasCopyright": true,
"isOffline": true
},
"recoTags": [
null
],
"tagLeaderboard": {
"textTags": [
0
]
},
"sameFrame": {
"allow": true,
"availableDepth": 0
},
"adminTags": [
{
"id": 0,
"name": "string",
"rich": true,
"tag": "string"
}
],
"tags": [
{
"id": 0,
"name": "string",
"rich": true,
"tag": "string"
}
],
"tag_hash_type": 0,
"photoTextLocationInfo": {
"leftRatio": 0,
"topRatio": 0,
"widthRatio": 0,
"heightRatio": 0
},
"type": 0,
"duration": 0,
"ext_params": {
"mtype": 0,
"color": "string",
"w": 0,
"sound": 0,
"h": 0,
"interval": 0,
"video": 0,
"f": 0,
"atlas": {
"volume": 0,
"musicCdnList": [
{
"cdn": "string"
}
],
"music": "string",
"cdnList": [
{
"cdn": "string"
}
],
"size": [
{
"w": 0,
"h": 0
}
],
"type": 0,
"cdn": [
"string"
],
"list": [
"string"
]
}
},
"override_cover_size": {
"width": 0,
"height": 0
},
"followShoot": {
"isLipsSyncPhoto": true,
"lrcUrls": [
{
"cdn": "string",
"url": "string"
}
],
"disableFollowShoot": true
},
"exp_tag": "string",
"serverExpTag": "string",
"profilePagePrefetchInfo": {
"profilePageType": 0
},
"user_id": 0,
"feedLogCtx": {
"stidContainer": "string",
"stExParams": "string"
},
"photoDisplayLocationInfo": {
"leftRatio": 0,
"topRatio": 0,
"widthRatio": 0,
"heightRatio": 0,
"displayWidth": 0,
"displayHeight": 0,
"photoWidth": 0,
"photoHeight": 0
},
"photoReward": {
"favorGuideStrategy": 0,
"descNotClickText": "string",
"rewardUsers": [
{
"headurls": [
{
"cdn": "string",
"url": "string"
}
],
"headurl": "string"
}
],
"rewardCount": 0,
"headButton": true,
"headButtonNow": true,
"canReward": true
},
"us_l": true,
"music": {
"imageUrls": [
{
"cdn": "string",
"url": "string"
}
],
"artist": "string",
"avatarUrls": [
{
"cdn": "string",
"url": "string"
}
],
"audioUrls": [
{
"cdn": "string",
"url": "string"
}
],
"photoId": 0,
"user": {
"kwaiId": "string",
"following": true,
"eid": "string",
"headurls": [
{
"cdn": "string",
"url": "string"
}
],
"visitorBeFollowed": true,
"headurl": "string",
"user_sex": "string",
"user_name": "string",
"profilePagePrefetchInfo": {
"profilePageType": 0
},
"user_id": 0
},
"name": "string",
"duration": 0,
"audioType": 0,
"genreId": 0,
"id": "string",
"type": 0,
"loudness": 0,
"finalStatus": 0,
"disableEnhancedEntry": true,
"hasCopyright": true,
"isOffline": true,
"image": "string",
"vocalStartTime": 0,
"avatarUrl": "string",
"snippetUrls": [
{
"cdn": "string",
"url": "string"
}
],
"snippetDuration": 0,
"lrcUrls": [
{
"cdn": "string",
"url": "string"
}
],
"url": "string",
"lrc": "string",
"copyrightTimeLimit": 0,
"analysisResult": {
"beats": [
{
"beatsUrls": [
{
"cdn": "string",
"url": "string"
}
],
"algorithm": "string"
}
]
},
"chorus": 0,
"musicianUid": 0,
"pureName": "string",
"nameChanged": true
},
"hasMusicTag": true,
"supportLandscapePlay": true,
"cover_urls": [
{
"cdn": "string",
"url": "string"
}
],
"main_mv_urls_sd_h265": [
{
"cdn": "string",
"url": "string"
}
]
},
"extInfo": {
"recallSource": "string"
},
"atmosphereType": 0,
"feedLogCtx": {
"stidContainer": "string",
"stExParams": null
},
"rank": 0,
"itemType": 0
}
],
"recoPcursor": "string",
"ussid": "string",
"extParams": {
"rsRecoAfterPlayInterval": 0,
"isShowPymkUserPhotos": true,
"isShowScrollTopButton": true,
"subtagWithPic": true
},
"pcursor": "string",
"llsid": "string",
"jumpToSlideMode": true,
"host-name": "string",
"recoInterestFlag": true,
"responseCode": 0
}
}
最后修改时间: 2 个月前