---
title: "解析作品链接"
method: GET
path: "/api/v2/channels/works/link-info"
tags: ["渠道管理/作品"]
---

# 解析作品链接

`GET /api/v2/channels/works/link-info`

接口说明：根据链接获取作品信息

## Query parameters

- `platform` 'douyin' | 'xhs' | 'wxSph' | 'KWAI' | 'youtube' | 'wxGzh' | 'bilibili' | 'twitter' | 'tiktok' | 'facebook' | 'instagram' | 'threads' | 'pinterest' | 'linkedin' | 'google_business', required — 平台
- `link` string, required — 作品链接
- `accountId` string — 账号 ID

## Response `200`

请求已被服务处理。业务是否成功以响应体 code === 0 为准。

- object
  - `data` ChannelWorkDataVo
    - `platform` 'douyin' | 'xhs' | 'wxSph' | 'KWAI' | 'youtube' | 'wxGzh' | 'bilibili' | 'twitter' | 'tiktok' | 'facebook' | 'instagram' | 'threads' | 'pinterest' | 'linkedin' | 'google_business', required — 平台
    - `work` object — 作品资料
      - `id` string, required — 平台作品 ID
      - `url` string — 作品链接
      - `title` string — 作品标题
      - `description` string — 作品描述
      - `mediaType` string — 作品媒体类型
      - `coverUrl` string — 封面 URL
      - `publishedAt` string, date-time — 发布时间
      - `status` string — 作品状态
      - `author` string — 作者
    - `snapshots` object[] — 本次保存的作品数据快照
      - `id` string — 快照 ID
      - `platformWorkId` string — 平台作品 ID
      - `snapshotAt` string, date-time, required — 快照对应时间
      - `fetchedAt` string, date-time, required — 平台数据获取时间
      - `periodStartAt` string, date-time — 区间开始时间
      - `periodEndAt` string, date-time — 区间结束时间
      - `work` object, required — 作品资料
        - `id` string, required — 平台作品 ID
        - `url` string — 作品链接
        - `title` string — 作品标题
        - `description` string — 作品描述
        - `mediaType` string — 作品媒体类型
        - `coverUrl` string — 封面 URL
        - `publishedAt` string, date-time — 发布时间
        - `status` string — 作品状态
        - `author` string — 作者
      - `metrics` object — 作品指标
        - `viewCount` number — 浏览数
        - `playCount` number — 播放数
        - `impressionCount` number — 曝光数
        - `reachCount` number — 触达数
        - `likeCount` number — 点赞数
        - `collectCount` number — 收藏数
        - `commentCount` number — 评论数
        - `shareCount` number — 分享数
        - `saveCount` number — 保存数
        - `clickCount` number — 点击数
        - `engagementCount` number — 互动数
        - `watchTimeSeconds` number — 观看时长秒数
      - `extra` object — 平台特殊字段
    - `extra` object — 平台特殊字段
    - `snapshotId` string — 本次主快照 ID
    - `fetchedAt` string, date-time — 平台数据获取时间
    - `message` string — 提示信息
  - `code` integer, required — 业务状态码。0 表示成功，非 0 表示业务错误。
  - `message` string, required — 响应消息。
  - `requestId` string — 请求 ID。
  - `timestamp` integer — 错误响应时间戳，Unix 毫秒。

---

[API](https://skmtc.net/aitoearn/apis/aitoearn-api.md) · [All operations](https://skmtc.net/aitoearn/apis/aitoearn-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aitoearn/aitoearn-api/versions/19d860d9260d/schema)
