{"id":"8d129138-2f6e-4edf-8c34-a9749f9b6b81","entityType":"agent","slug":"clawhub-lentiancn-skill-douyin","name":"抖音","canonicalUrl":"https://www.xpersona.co/agent/clawhub-lentiancn-skill-douyin","canonicalPath":"/agent/clawhub-lentiancn-skill-douyin","generatedAt":"2026-10-11T05:32:59.321Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T02:45:36.741Z","emptyReason":null},"description":"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.","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s171s9nrp26s708az7wxhva2g583swdr:skill-douyin","sourceUrl":"https://clawhub.ai/lentiancn/skill-douyin","homepage":"https://clawhub.ai/lentiancn/skills/skill-douyin","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/lentiancn/skill-douyin","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/lentiancn/skills/skill-douyin","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":61,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"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"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T02:45:36.741Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T02:45:36.741Z","emptyReason":null},"stars":null,"forks":null,"downloads":1184,"packageName":null,"latestVersion":"1.0.2","tractionLabel":"1.2K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T02:45:36.668Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T02:45:36.741Z","lastCrawledAt":"2026-10-11T02:45:36.668Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T02:45:36.668Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.2","createdAt":"2026-06-01T10:15:49.691Z","changelog":"- 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.","fileCount":5,"zipByteSize":3602},{"version":"1.0.1","createdAt":"2026-05-29T16:02:19.442Z","changelog":"No changes were made in this version. - No file modifications detected. - Skill functionality and documentation remain unchanged.","fileCount":5,"zipByteSize":3612},{"version":"1.0.0","createdAt":"2026-05-29T15:22:35.764Z","changelog":"- Initial release of skill-douyin for accessing 抖音开放平台 API. - Provides integration via douyin:api. - Includes clear restriction: do not modify files under skill-douyin to ensure update compatibility. - Documentation and API references available in references/apidocs/apis.md.","fileCount":5,"zipByteSize":3607}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s171s9nrp26s708az7wxhva2g583swdr:skill-douyin","setupComplexity":"low","setupSteps":["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":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T05:32:59.321Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lentiancn-skill-douyin/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T02:45:36.741Z","emptyReason":null},"readme":"Skill: 抖音\n\nOwner: lentiancn\n\nSummary: douyin:api - 抖音开放平台 API\n\nTags: latest:1.0.2\n\nVersion history:\n\nv1.0.2 | 2026-06-01T10:15:49.691Z | user\n\n- Removed the file skill-card.md.\n- Updated and reworded sections in SKILL.md for clarity and formatting.\n- No new features or bug fixes; documentation adjustments only.\n\nv1.0.1 | 2026-05-29T16:02:19.442Z | user\n\nNo changes were made in this version.\n\n- No file modifications detected.\n- Skill functionality and documentation remain unchanged.\n\nv1.0.0 | 2026-05-29T15:22:35.764Z | auto\n\n- Initial release of skill-douyin for accessing 抖音开放平台 API.\n- Provides integration via douyin:api.\n- Includes clear restriction: do not modify files under skill-douyin to ensure update compatibility.\n- Documentation and API references available in references/apidocs/apis.md.\n\nArchive index:\n\nArchive v1.0.2: 5 files, 3602 bytes\n\nFiles: references/apidocs/apis.md (84b), references/apidocs/douyin.open.client.token.md (3823b), skill-card.md (1898b), SKILL.md (427b), _meta.json (131b)\n\nFile v1.0.2:SKILL.md\n\n---\nname: skill-douyin\ndescription: \"douyin:api - 抖音开放平台 API\"\n---\n\n## Important Principles ⭐\n\n**Modification Prohibited (Mandatory)**: Any files under `skill-douyin`. This skill is maintained via\n`openclaw skills update skill-douyin`; any alterations will disrupt its normal operation.\n\n## douyin:api - 抖音开放平台 API\n\nSee `references/apidocs/apis.md`\n\n## More skills\n\nhttps://github.com/lentiancn/skills\n\nFile v1.0.2:_meta.json\n\n{\n  \"ownerId\": \"kn7c7940mcwpxdz93fm36yw85d81h21a\",\n  \"slug\": \"skill-douyin\",\n  \"version\": \"1.0.2\",\n  \"publishedAt\": 1780308949691\n}\n\nFile v1.0.2:references/apidocs/apis.md\n\n# douyin.open.client.token (生成 client_token)\n\nSee `douyin.open.client.token.md`\n\nFile v1.0.2:references/apidocs/douyin.open.client.token.md\n\n# douyin.open.client.token (生成 client_token)\n\n## 接口说明\n\n该接口用于获取接口调用的凭证 `client_token`。该接口适用于抖音授权；\n\n业务场景：`client_token` 用于**不需要用户授权**就可以调用的接口。\n\n## 注意事项\n\n- `client_token` 的有效时间为 **2 个小时**，重复获取 `client_token` 后会使上次的 `client_token` 失效（但有 5\n  分钟的缓冲时间，连续多次获取 `client_token` 只会保留最新的两个 `client_token`）。\n- 禁止频繁调用 access-token 接口（频控规则：5 分钟内超过 500 次接口调用，接口报错，错误码 10020）。\n- 正式上线后，测试环境不能使用正式的 `client_key`、`client_secret` 获取 token，否则会导致线上正式环境的 token 失效，影响线上业务。\n\n## 基本信息\n\n| 名称          | 描述                                            |\n|-------------|-----------------------------------------------|\n| HTTP URL    | `https://open.douyin.com/oauth/client_token/` |\n| HTTP Method | POST                                          |\n\n## 请求参数\n\n### 请求头\n\n| 参数           | 必填 | 类型     | 说明                     |\n|--------------|----|--------|------------------------|\n| Content-Type | 是  | String | 固定值 `application/json` |\n\n### Body\n\n| 参数            | 必填 | 类型     | 示例                                  | 说明                               |\n|---------------|----|--------|-------------------------------------|----------------------------------|\n| client_key    | 是  | String | `ttxxxxxx`                          | 应用唯一标识。获取方式参考：小程序通用参数、移动网站应用通用参数 |\n| client_secret | 是  | String | `7802f4e6f243e659d51135445fe******` | 应用的密钥，用于获取接口调用凭证                 |\n| grant_type    | 是  | String | `client_credential`                 | 固定值 `client_credential`          |\n\n## 请求示例\n\n```bash\ncurl --location 'https://open.douyin.com/oauth/client_token/' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"grant_type\": \"client_credential\",\n    \"client_key\": \"ttxxxxxx\",\n    \"client_secret\": \"7802f4e6f243e659d51135445fe********\"\n}'\n```\n\n## 响应参数\n\n| 参数                | 类型      | 说明                      |\n|-------------------|---------|-------------------------|\n| data              | Struct  | 响应数据                    |\n| data.access_token | String  | 接口调用凭证                  |\n| data.expires_in   | Integer | 凭证有效时间，单位：秒（7200 = 2小时） |\n| data.description  | String  | 错误描述                    |\n| data.error_code   | Integer | 错误码，0 表示成功              |\n| message           | String  | 请求响应信息                  |\n\n### 响应示例\n\n正常响应：\n\n```json\n{\n  \"data\": {\n    \"access_token\": \"clt.75c380db41e815978a733994d96f5d23RqilUxH48iobyWhbIOQFo******\",\n    \"description\": \"\",\n    \"error_code\": 0,\n    \"expires_in\": 7200\n  },\n  \"message\": \"success\"\n}\n```\n\n异常响应：\n\n```json\n{\n  \"data\": {\n    \"error_code\": 10003,\n    \"description\": \"client_key 或者 client_secret 报错\"\n  },\n  \"message\": \"error\"\n}\n```\n\n## 错误码\n\n| HTTP 状态码 | 错误码   | 错误码描述                          | 排查建议                               |\n|----------|-------|--------------------------------|------------------------------------|\n| 200      | 10002 | 参数错误                           | 检查参数是否漏传                           |\n| 200      | 10003 | client_key 不存在                 | 检查 client_key 参数是否正确               |\n| 200      | 10013 | client_key 或者 client_secret 报错 | 检查 client_key 和 client_secret 是否正确 |\n\nFile v1.0.2:skill-card.md\n\n## Description:\n\ndouyin:api - 抖音开放平台 API\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[lentiancn](https://clawhub.ai/user/lentiancn)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers 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.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Douyin app credentials such as client_secret could be exposed in shared logs, prompts, or copied curl examples.\n\nMitigation: Confirm the intended Douyin endpoint before use and avoid placing production client_secret values in shared logs or prompts.\n\nRisk: Using production client_key or client_secret values in a test environment can invalidate production tokens and disrupt live integrations.\n\nMitigation: Keep test and production Douyin credentials separate and verify the target environment before requesting a client_token.\n\n## Reference(s):\n\n- [douyin.open.client.token API index](references/apidocs/apis.md)\n- [douyin.open.client.token reference](references/apidocs/douyin.open.client.token.md)\n- [Douyin client_token endpoint](https://open.douyin.com/oauth/client_token/)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, Shell commands, Guidance]\n\n**Output Format:** [Markdown with API tables and inline bash and JSON code blocks]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Documents the Douyin client_token request and response; does not execute code.]\n\n## Skill Version(s):\n\n1.0.2 (source: release evidence)\n\n## Ethical Considerations:\n\nUsers 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.\n\nArchive v1.0.1: 5 files, 3612 bytes\n\nFiles: references/apidocs/apis.md (84b), references/apidocs/douyin.open.client.token.md (3823b), skill-card.md (2016b), SKILL.md (448b), _meta.json (131b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: skill-douyin\ndescription: \"douyin:api - 抖音开放平台 API\"\n---\n\n# Important Principles ⭐\n\n**Modification Restriction (Mandatory)**: Do not modify any files under `skill-douyin`. This skill is maintained via\n`openclaw skills update skill-douyin`; any alterations will disrupt its normal operation.\n\n---\n\n# douyin:api - 抖音开放平台 API\n\nSee `references/apidocs/apis.md`\n\n---\n\n# More skills: https://github.com/lentiancn/skills\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn7c7940mcwpxdz93fm36yw85d81h21a\",\n  \"slug\": \"skill-douyin\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1780070539442\n}\n\nFile v1.0.1:references/apidocs/apis.md\n\n# douyin.open.client.token (生成 client_token)\n\nSee `douyin.open.client.token.md`\n\nFile v1.0.1:references/apidocs/douyin.open.client.token.md\n\n# douyin.open.client.token (生成 client_token)\n\n## 接口说明\n\n该接口用于获取接口调用的凭证 `client_token`。该接口适用于抖音授权；\n\n业务场景：`client_token` 用于**不需要用户授权**就可以调用的接口。\n\n## 注意事项\n\n- `client_token` 的有效时间为 **2 个小时**，重复获取 `client_token` 后会使上次的 `client_token` 失效（但有 5\n  分钟的缓冲时间，连续多次获取 `client_token` 只会保留最新的两个 `client_token`）。\n- 禁止频繁调用 access-token 接口（频控规则：5 分钟内超过 500 次接口调用，接口报错，错误码 10020）。\n- 正式上线后，测试环境不能使用正式的 `client_key`、`client_secret` 获取 token，否则会导致线上正式环境的 token 失效，影响线上业务。\n\n## 基本信息\n\n| 名称          | 描述                                            |\n|-------------|-----------------------------------------------|\n| HTTP URL    | `https://open.douyin.com/oauth/client_token/` |\n| HTTP Method | POST                                          |\n\n## 请求参数\n\n### 请求头\n\n| 参数           | 必填 | 类型     | 说明                     |\n|--------------|----|--------|------------------------|\n| Content-Type | 是  | String | 固定值 `application/json` |\n\n### Body\n\n| 参数            | 必填 | 类型     | 示例                                  | 说明                               |\n|---------------|----|--------|-------------------------------------|----------------------------------|\n| client_key    | 是  | String | `ttxxxxxx`                          | 应用唯一标识。获取方式参考：小程序通用参数、移动网站应用通用参数 |\n| client_secret | 是  | String | `7802f4e6f243e659d51135445fe******` | 应用的密钥，用于获取接口调用凭证                 |\n| grant_type    | 是  | String | `client_credential`                 | 固定值 `client_credential`          |\n\n## 请求示例\n\n```bash\ncurl --location 'https://open.douyin.com/oauth/client_token/' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"grant_type\": \"client_credential\",\n    \"client_key\": \"ttxxxxxx\",\n    \"client_secret\": \"7802f4e6f243e659d51135445fe********\"\n}'\n```\n\n## 响应参数\n\n| 参数                | 类型      | 说明                      |\n|-------------------|---------|-------------------------|\n| data              | Struct  | 响应数据                    |\n| data.access_token | String  | 接口调用凭证                  |\n| data.expires_in   | Integer | 凭证有效时间，单位：秒（7200 = 2小时） |\n| data.description  | String  | 错误描述                    |\n| data.error_code   | Integer | 错误码，0 表示成功              |\n| message           | String  | 请求响应信息                  |\n\n### 响应示例\n\n正常响应：\n\n```json\n{\n  \"data\": {\n    \"access_token\": \"clt.75c380db41e815978a733994d96f5d23RqilUxH48iobyWhbIOQFo******\",\n    \"description\": \"\",\n    \"error_code\": 0,\n    \"expires_in\": 7200\n  },\n  \"message\": \"success\"\n}\n```\n\n异常响应：\n\n```json\n{\n  \"data\": {\n    \"error_code\": 10003,\n    \"description\": \"client_key 或者 client_secret 报错\"\n  },\n  \"message\": \"error\"\n}\n```\n\n## 错误码\n\n| HTTP 状态码 | 错误码   | 错误码描述                          | 排查建议                               |\n|----------|-------|--------------------------------|------------------------------------|\n| 200      | 10002 | 参数错误                           | 检查参数是否漏传                           |\n| 200      | 10003 | client_key 不存在                 | 检查 client_key 参数是否正确               |\n| 200      | 10013 | client_key 或者 client_secret 报错 | 检查 client_key 和 client_secret 是否正确 |\n\nFile v1.0.1:skill-card.md\n\n## Description: <br>\ndouyin:api - 抖音开放平台 API <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[lentiancn](https://clawhub.ai/user/lentiancn) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers use this skill as Douyin Open Platform API reference material, especially for preparing client-token requests that use a client key and client secret. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill discusses Douyin client secrets and generated client tokens, which are sensitive credentials. <br>\nMitigation: Do not paste real client_secret values unless intentionally preparing Douyin API calls, and treat generated client tokens as short-lived credentials. <br>\nRisk: Repeated client-token requests can invalidate prior tokens or trigger Douyin rate limits. <br>\nMitigation: Follow the documented token lifetime and frequency guidance before using generated shell commands. <br>\n\n\n## Reference(s): <br>\n- [Douyin API index](references/apidocs/apis.md) <br>\n- [douyin.open.client.token](references/apidocs/douyin.open.client.token.md) <br>\n- [Douyin client token endpoint](https://open.douyin.com/oauth/client_token/) <br>\n- [ClawHub skill page](https://clawhub.ai/lentiancn/skill-douyin) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [guidance, markdown, shell commands] <br>\n**Output Format:** [Markdown with API reference text, tables, and inline shell command examples] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May discuss client keys, client secrets, and short-lived client tokens.] <br>\n\n## Skill Version(s): <br>\n1.0.1 (source: server release metadata) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>\n\nArchive v1.0.0: 5 files, 3607 bytes\n\nFiles: references/apidocs/apis.md (84b), references/apidocs/douyin.open.client.token.md (2998b), skill-card.md (2108b), SKILL.md (448b), _meta.json (131b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: skill-douyin\ndescription: \"douyin:api - 抖音开放平台 API\"\n---\n\n# Important Principles ⭐\n\n**Modification Restriction (Mandatory)**: Do not modify any files under `skill-douyin`. This skill is maintained via\n`openclaw skills update skill-douyin`; any alterations will disrupt its normal operation.\n\n---\n\n# douyin:api - 抖音开放平台 API\n\nSee `references/apidocs/apis.md`\n\n---\n\n# More skills: https://github.com/lentiancn/skills\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7c7940mcwpxdz93fm36yw85d81h21a\",\n  \"slug\": \"skill-douyin\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1780068155764\n}\n\nFile v1.0.0:references/apidocs/apis.md\n\n# douyin.open.client.token (生成 client_token)\n\nSee `douyin.open.client.token.md`\n\nFile v1.0.0:references/apidocs/douyin.open.client.token.md\n\n# douyin.open.client.token (生成 client_token)\n\n## 接口说明\n\n该接口用于获取接口调用的凭证 `client_token`。该接口适用于抖音授权；\n\n业务场景：`client_token` 用于**不需要用户授权**就可以调用的接口。\n\n## 注意事项\n\n- `client_token` 的有效时间为 **2 个小时**，重复获取 `client_token` 后会使上次的 `client_token` 失效（但有 5 分钟的缓冲时间，连续多次获取 `client_token` 只会保留最新的两个 `client_token`）。\n- 禁止频繁调用 access-token 接口（频控规则：5 分钟内超过 500 次接口调用，接口报错，错误码 10020）。\n- 正式上线后，测试环境不能使用正式的 `client_key`、`client_secret` 获取 token，否则会导致线上正式环境的 token 失效，影响线上业务。\n\n## 基本信息\n\n| 名称 | 描述 |\n|------|------|\n| HTTP URL | `https://open.douyin.com/oauth/client_token/` |\n| HTTP Method | POST |\n\n## 请求参数\n\n### 请求头\n\n| 参数 | 必填 | 类型 | 说明 |\n|------|------|------|------|\n| Content-Type | 是 | String | 固定值 `application/json` |\n\n### Body\n\n| 参数 | 必填 | 类型 | 示例 | 说明 |\n|------|------|------|------|------|\n| client_key | 是 | String | `ttxxxxxx` | 应用唯一标识。获取方式参考：小程序通用参数、移动网站应用通用参数 |\n| client_secret | 是 | String | `7802f4e6f243e659d51135445fe******` | 应用的密钥，用于获取接口调用凭证 |\n| grant_type | 是 | String | `client_credential` | 固定值 `client_credential` |\n\n## 请求示例\n\n```bash\ncurl --location 'https://open.douyin.com/oauth/client_token/' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"grant_type\": \"client_credential\",\n    \"client_key\": \"ttxxxxxx\",\n    \"client_secret\": \"7802f4e6f243e659d51135445fe********\"\n}'\n```\n\n## 响应参数\n\n| 参数 | 类型 | 说明 |\n|------|------|------|\n| data | Struct | 响应数据 |\n| data.access_token | String | 接口调用凭证 |\n| data.expires_in | Integer | 凭证有效时间，单位：秒（7200 = 2小时） |\n| data.description | String | 错误描述 |\n| data.error_code | Integer | 错误码，0 表示成功 |\n| message | String | 请求响应信息 |\n\n### 响应示例\n\n正常响应：\n\n```json\n{\n\"data\": {\n\"access_token\": \"clt.75c380db41e815978a733994d96f5d23RqilUxH48iobyWhbIOQFo******\",\n\"description\": \"\",\n\"error_code\": 0,\n\"expires_in\": 7200\n},\n\"message\": \"success\"\n}\n```\n\n异常响应：\n\n```json\n{\n    \"data\": {\n        \"error_code\": 10003,\n        \"description\": \"client_key 或者 client_secret 报错\"\n    },\n    \"message\": \"error\"\n}\n```\n\n## 错误码\n\n| HTTP 状态码 | 错误码 | 错误码描述 | 排查建议 |\n|-------------|--------|------------|----------|\n| 200 | 10002 | 参数错误 | 检查参数是否漏传 |\n| 200 | 10003 | client_key 不存在 | 检查 client_key 参数是否正确 |\n| 200 | 10013 | client_key 或者 client_secret 报错 | 检查 client_key 和 client_secret 是否正确 |\n\nFile v1.0.0:skill-card.md\n\n## Description: <br>\ndouyin:api - 抖音开放平台 API. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[lentiancn](https://clawhub.ai/user/lentiancn) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers and agents use this skill to look up Douyin Open Platform API details for requesting a client_token with client credentials. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Douyin client_secret values are sensitive credentials that could be exposed in shared chats, logs, or generated examples. <br>\nMitigation: Use placeholders in prompts and examples; keep real production secrets in a secret manager or local environment variables and avoid pasting them into shared contexts. <br>\nRisk: Repeated token requests can invalidate previous client_token values and may affect production integrations. <br>\nMitigation: Cache and reuse valid tokens according to the documented two-hour expiry and avoid mixing production credentials with test environments. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/lentiancn/skill-douyin) <br>\n- [API index](references/apidocs/apis.md) <br>\n- [douyin.open.client.token](references/apidocs/douyin.open.client.token.md) <br>\n- [Douyin client token endpoint](https://open.douyin.com/oauth/client_token/) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [guidance, markdown, shell commands, configuration] <br>\n**Output Format:** [Markdown with API parameters, JSON examples, and curl command examples] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May involve sensitive client_key and client_secret values supplied by the user or environment.] <br>\n\n## Skill Version(s): <br>\n1.0.0 (source: server release metadata) <br>\n\n## Ethical Considerations: <br>\nUsers 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. <br>","readmeExcerpt":"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. ","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"curl --location 'https://open.douyin.com/oauth/client_token/' \\\n--header 'Content-Type: application/json' \\\n--data '{"},{"language":"bash","snippet":"curl --location 'https://open.douyin.com/oauth/client_token/' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"grant_type\": \"client_credential\",\n    \"client_key\": \"ttxxxxxx\",\n    \"client_secret\": \"7802f4e6f243e659d51135445fe********\"\n}'"},{"language":"json","snippet":"{\n  \"data\": {\n    \"access_token\": \"clt.75c380db41e815978a733994d96f5d23RqilUxH48iobyWhbIOQFo******\",\n    \"description\": \"\",\n    \"error_code\": 0,\n    \"expires_in\": 7200\n  },\n  \"message\": \"success\"\n}"},{"language":"json","snippet":"{\n  \"data\": {\n    \"error_code\": 10003,\n    \"description\": \"client_key 或者 client_secret 报错\"\n  },\n  \"message\": \"error\"\n}"},{"language":"bash","snippet":"curl --location 'https://open.douyin.com/oauth/client_token/' \\\n--header 'Content-Type: application/json' \\\n--data '{"},{"language":"bash","snippet":"curl --location 'https://open.douyin.com/oauth/client_token/' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"grant_type\": \"client_credential\",\n    \"client_key\": \"ttxxxxxx\",\n    \"client_secret\": \"7802f4e6f243e659d51135445fe********\"\n}'"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: skill-douyin\ndescription: \"douyin:api - 抖音开放平台 API\"\n---\n\n## Important Principles ⭐\n\n**Modification Prohibited (Mandatory)**: Any files under `skill-douyin`. This skill is maintained via\n`openclaw skills update skill-douyin`; any alterations will disrupt its normal operation.\n\n## douyin:api - 抖音开放平台 API\n\nSee `references/apidocs/apis.md`\n\n## More skills\n\nhttps://github.com/lentiancn/skills"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7c7940mcwpxdz93fm36yw85d81h21a\",\n  \"slug\": \"skill-douyin\",\n  \"version\": \"1.0.2\",\n  \"publishedAt\": 1780308949691\n}"},{"path":"references/apidocs/apis.md","content":"# douyin.open.client.token (生成 client_token)\n\nSee `douyin.open.client.token.md`"},{"path":"references/apidocs/douyin.open.client.token.md","content":"# douyin.open.client.token (生成 client_token)\n\n## 接口说明\n\n该接口用于获取接口调用的凭证 `client_token`。该接口适用于抖音授权；\n\n业务场景：`client_token` 用于**不需要用户授权**就可以调用的接口。\n\n## 注意事项\n\n- `client_token` 的有效时间为 **2 个小时**，重复获取 `client_token` 后会使上次的 `client_token` 失效（但有 5\n  分钟的缓冲时间，连续多次获取 `client_token` 只会保留最新的两个 `client_token`）。\n- 禁止频繁调用 access-token 接口（频控规则：5 分钟内超过 500 次接口调用，接口报错，错误码 10020）。\n- 正式上线后，测试环境不能使用正式的 `client_key`、`client_secret` 获取 token，否则会导致线上正式环境的 token 失效，影响线上业务。\n\n## 基本信息\n\n| 名称          | 描述                                            |\n|-------------|-----------------------------------------------|\n| HTTP URL    | `https://open.douyin.com/oauth/client_token/` |\n| HTTP Method | POST                                          |\n\n## 请求参数\n\n### 请求头\n\n| 参数           | 必填 | 类型     | 说明                     |\n|--------------|----|--------|------------------------|\n| Content-Type | 是  | String | 固定值 `application/json` |\n\n### Body\n\n| 参数            | 必填 | 类型     | 示例                                  | 说明                               |\n|---------------|----|--------|-------------------------------------|----------------------------------|\n| client_key    | 是  | String | `ttxxxxxx`                          | 应用唯一标识。获取方式参考：小程序通用参数、移动网站应用通用参数 |\n| client_secret | 是  | String | `7802f4e6f243e659d51135445fe******` | 应用的密钥，用于获取接口调用凭证                 |\n| grant_type    | 是  | String | `client_credential`                 | 固定值 `client_credential`          |\n\n## 请求示例\n\n```bash\ncurl --location 'https://open.douyin.com/oauth/client_token/' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"grant_type\": \"client_credential\",\n    \"client_key\": \"ttxxxxxx\",\n    \"client_secret\": \"7802f4e6f243e659d51135445fe********\"\n}'\n```\n\n## 响应参数\n\n| 参数                | 类型      | 说明                      |\n|-------------------|---------|-------------------------|\n| data              | Struct  | 响应数据                    |\n| data.access_token | String  | 接口调用凭证                  |\n| data.expires_in   | Integer | 凭证有效时间，单位：秒（7200 = 2小时） |\n| data.description  | String  | 错误描述                    |\n| data.error_code   | Integer | 错误码，0 表示成功              |\n| message           | String  | 请求响应信息                  |\n\n### 响应示例\n\n正常响应：\n\n```json\n{\n  \"data\": {\n    \"access_token\": \"clt.75c380db41e815978a733994d96f5d23RqilUxH48iobyWhbIOQFo******\",\n    \"description\": \"\",\n    \"error_code\": 0,\n    \"expires_in\": 7200\n  },\n  \"message\": \"success\"\n}\n```\n\n异常响应：\n\n```json\n{\n  \"data\": {\n    \"error_code\": 10003,\n    \"description\": \"client_key 或者 client_secret 报错\"\n  },\n  \"message\": \"error\"\n}\n```\n\n## 错误码\n\n| HTTP 状态码 | 错误码   | 错误码描述                          | 排查建议                               |\n|----------|-------|--------------------------------|------------------------------------|\n| 200      | 10002 | 参数错误                           | 检查参数是否漏传                           |\n| 200      | 10003 | client_key 不存在                 | 检查 client_key 参数是否正确               |\n| 200      | 10013 | client_key 或者 client_secret 报错 | 检查 client_key 和 client_se"},{"path":"skill-card.md","content":"## Description:\n\ndouyin:api - 抖音开放平台 API\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[lentiancn](https://clawhub.ai/user/lentiancn)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers 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.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Douyin app credentials such as client_secret could be exposed in shared logs, prompts, or copied curl examples.\n\nMitigation: Confirm the intended Douyin endpoint before use and avoid placing production client_secret values in shared logs or prompts.\n\nRisk: Using production client_key or client_secret values in a test environment can invalidate production tokens and disrupt live integrations.\n\nMitigation: Keep test and production Douyin credentials separate and verify the target environment before requesting a client_token.\n\n## Reference(s):\n\n- [douyin.open.client.token API index](references/apidocs/apis.md)\n- [douyin.open.client.token reference](references/apidocs/douyin.open.client.token.md)\n- [Douyin client_token endpoint](https://open.douyin.com/oauth/client_token/)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, Shell commands, Guidance]\n\n**Output Format:** [Markdown with API tables and inline bash and JSON code blocks]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Documents the Douyin client_token request and response; does not execute code.]\n\n## Skill Version(s):\n\n1.0.2 (source: release evidence)\n\n## Ethical Considerations:\n\nUsers 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."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"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.","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":828,"uniquenessScore":55,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T02:45:36.741Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T02:45:36.741Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T05:32:59.321Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"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!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"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","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}