极简版抖音
  1. 基础接口
极简版抖音
  • 基础接口
    • 视频流接口
      GET
    • 用户注册
      POST
    • 用户登录
      POST
    • 用户信息
      GET
    • 投稿接口
      POST
    • 发布列表
      GET
  • 互动接口
    • 赞操作
      POST
    • 喜欢列表
      GET
    • 评论操作
      POST
    • 评论列表
      GET
  • 社交接口
    • 关注操作
      POST
    • 关注列表
      GET
    • 粉丝列表
      GET
    • 好友列表
      GET
    • 发送消息
      POST
    • 聊天记录
      GET
  1. 基础接口

视频流接口

GET
/douyin/feed
不限制登录状态,返回按投稿时间倒序的视频列表,视频数由服务端控制,单次最多30个

请求参数

Query 参数
latest_time
string 
可选
可选参数,限制返回视频的最新投稿时间戳,精确到秒,不填表示当前时间
token
string 
用户登录状态下设置
可选

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/douyin/feed?latest_time=&token='

返回响应

🟢200成功
application/json
Body
status_code
integer 
必需
status_msg
string  | null 
必需
next_time
integer  | null 
必需
video_list
array [object {8}]  | null 
必需
id
integer 
可选
author
object 
可选
play_url
string 
可选
cover_url
string 
可选
favorite_count
integer 
可选
comment_count
integer 
可选
is_favorite
boolean 
可选
title
string 
可选
示例
{
  "status_code": 0,
  "status_msg": "string",
  "next_time": 0,
  "video_list": [
    {
      "id": 0,
      "author": {
        "id": 0,
        "name": "string",
        "follow_count": 0,
        "follower_count": 0,
        "is_follow": true,
        "avatar": "string",
        "background_image": "string",
        "signature": "string",
        "total_favorited": "string",
        "work_count": 0,
        "favorite_count": 0
      },
      "play_url": "string",
      "cover_url": "string",
      "favorite_count": 0,
      "comment_count": 0,
      "is_favorite": true,
      "title": "string"
    }
  ]
}
下一页
用户注册
Built with