抖音
douyin:api - 抖音开放平台 API Skill: 抖音 Owner: lentiancn Summary: douyin:api - 抖音开放平台 API Tags: latest:1.0.2 Version history: v1.0.2 | 2026-06-01T10:15:49.691Z | user - Removed the file skill-card.md. - Updated and reworded sections in SKILL.md for clarity and formatting. - No new features or bug fixes; documentation adjustments only. v1.0.1 | 2026-05-29T16:02:19.442Z | user No changes were made in this version. - No file modifications detected.
Rank
62
Safety
84
Downloads
1.2k
Updated
Oct 11, 2026
Version
1.0.2
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.2K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.0.2release · observed Jun 1, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s171s9nrp26s708az7wxhva2g583swdr:skill-douyin- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/snapshot"
Documentation
CLAWHUB
18,014 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: skill-douyin description: "douyin:api - 抖音开放平台 API" --- ## Important Principles ⭐ **Modification Prohibited (Mandatory)**: Any files under `skill-douyin`. This skill is maintained via `openclaw skills update skill-douyin`; any alterations will disrupt its normal operation. ## douyin:api - 抖音开放平台 API See `references/apidocs/apis.md` ## More skills https://github.com/lentiancn/skills
_meta.json
{
"ownerId": "kn7c7940mcwpxdz93fm36yw85d81h21a",
"slug": "skill-douyin",
"version": "1.0.2",
"publishedAt": 1780308949691
}references/apidocs/apis.md
# douyin.open.client.token (生成 client_token) See `douyin.open.client.token.md`
references/apidocs/douyin.open.client.token.md
# douyin.open.client.token (生成 client_token)
## 接口说明
该接口用于获取接口调用的凭证 `client_token`。该接口适用于抖音授权;
业务场景:`client_token` 用于**不需要用户授权**就可以调用的接口。
## 注意事项
- `client_token` 的有效时间为 **2 个小时**,重复获取 `client_token` 后会使上次的 `client_token` 失效(但有 5
分钟的缓冲时间,连续多次获取 `client_token` 只会保留最新的两个 `client_token`)。
- 禁止频繁调用 access-token 接口(频控规则:5 分钟内超过 500 次接口调用,接口报错,错误码 10020)。
- 正式上线后,测试环境不能使用正式的 `client_key`、`client_secret` 获取 token,否则会导致线上正式环境的 token 失效,影响线上业务。
## 基本信息
| 名称 | 描述 |
|-------------|-----------------------------------------------|
| HTTP URL | `https://open.douyin.com/oauth/client_token/` |
| HTTP Method | POST |
## 请求参数
### 请求头
| 参数 | 必填 | 类型 | 说明 |
|--------------|----|--------|------------------------|
| Content-Type | 是 | String | 固定值 `application/json` |
### Body
| 参数 | 必填 | 类型 | 示例 | 说明 |
|---------------|----|--------|-------------------------------------|----------------------------------|
| client_key | 是 | String | `ttxxxxxx` | 应用唯一标识。获取方式参考:小程序通用参数、移动网站应用通用参数 |
| client_secret | 是 | String | `7802f4e6f243e659d51135445fe******` | 应用的密钥,用于获取接口调用凭证 |
| grant_type | 是 | String | `client_credential` | 固定值 `client_credential` |
## 请求示例
```bash
curl --location 'https://open.douyin.com/oauth/client_token/' \
--header 'Content-Type: application/json' \
--data '{
"grant_type": "client_credential",
"client_key": "ttxxxxxx",
"client_secret": "7802f4e6f243e659d51135445fe********"
}'
```
## 响应参数
| 参数 | 类型 | 说明 |
|-------------------|---------|-------------------------|
| data | Struct | 响应数据 |
| data.access_token | String | 接口调用凭证 |
| data.expires_in | Integer | 凭证有效时间,单位:秒(7200 = 2小时) |
| data.description | String | 错误描述 |
| data.error_code | Integer | 错误码,0 表示成功 |
| message | String | 请求响应信息 |
### 响应示例
正常响应:
```json
{
"data": {
"access_token": "clt.75c380db41e815978a733994d96f5d23RqilUxH48iobyWhbIOQFo******",
"description": "",
"error_code": 0,
"expires_in": 7200
},
"message": "success"
}
```
异常响应:
```json
{
"data": {
"error_code": 10003,
"description": "client_key 或者 client_secret 报错"
},
"message": "error"
}
```
## 错误码
| HTTP 状态码 | 错误码 | 错误码描述 | 排查建议 |
|----------|-------|--------------------------------|------------------------------------|
| 200 | 10002 | 参数错误 | 检查参数是否漏传 |
| 200 | 10003 | client_key 不存在 | 检查 client_key 参数是否正确 |
| 200 | 10013 | client_key 或者 client_secret 报错 | 检查 client_key 和 client_seskill-card.md
## Description: douyin:api - 抖音开放平台 API This skill is ready for commercial/non-commercial use. ## Publisher: [lentiancn](https://clawhub.ai/user/lentiancn) ### License/Terms of Use: MIT-0 ## Use Case: Developers use this skill as a Douyin Open Platform API reference for obtaining a client_token and understanding request parameters, response fields, and common error codes. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Douyin app credentials such as client_secret could be exposed in shared logs, prompts, or copied curl examples. Mitigation: Confirm the intended Douyin endpoint before use and avoid placing production client_secret values in shared logs or prompts. Risk: Using production client_key or client_secret values in a test environment can invalidate production tokens and disrupt live integrations. Mitigation: Keep test and production Douyin credentials separate and verify the target environment before requesting a client_token. ## Reference(s): - [douyin.open.client.token API index](references/apidocs/apis.md) - [douyin.open.client.token reference](references/apidocs/douyin.open.client.token.md) - [Douyin client_token endpoint](https://open.douyin.com/oauth/client_token/) ## Skill Output: **Output Type(s):** [Text, Markdown, Shell commands, Guidance] **Output Format:** [Markdown with API tables and inline bash and JSON code blocks] **Output Parameters:** [1D] **Other Properties Related to Output:** [Documents the Douyin client_token request and response; does not execute code.] ## Skill Version(s): 1.0.2 (source: release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/lentiancn/skills/skill-douyin",
"sourceUrl": "https://clawhub.ai/lentiancn/skills/skill-douyin",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T02:45:36.741Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T02:45:36.741Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.2K downloads",
"href": "https://clawhub.ai/lentiancn/skill-douyin",
"sourceUrl": "https://clawhub.ai/lentiancn/skill-douyin",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T02:45:36.741Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.2",
"href": "https://clawhub.ai/lentiancn/skill-douyin",
"sourceUrl": "https://clawhub.ai/lentiancn/skill-douyin",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-01T10:15:49.691Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.2",
"description": "- Removed the file skill-card.md. - Updated and reworded sections in SKILL.md for clarity and formatting. - No new features or bug fixes; documentation adjustments only.",
"href": "https://clawhub.ai/lentiancn/skill-douyin",
"sourceUrl": "https://clawhub.ai/lentiancn/skill-douyin",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-01T10:15:49.691Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
