Communitygithub.com

viictiiyo-dev/tiktok-bridge

搜尋公開 TikTok 影片並回傳標準化 JSON,包含網址、封面、ISO-8601 日期及可用指標。每次請求透過 Base mainnet 上的 x402 付費。

tiktok-bridge 是什麼?

TikTok Bridge 是一個專為 AI 代理設計的 x402 橋接服務,提供標準化的 JSON 契約,用於搜尋公開 TikTok 內容。它會從多個供應商進行後備搜尋,以確保結果不為空、稀少或語彙相關性低;同時還會合併重複記錄、根據語彙啟發式分類結果,並實施快取。此服務僅限於公開內容,無法存取私人資料。支援的 REST 端點包括:搜尋影片(每次請求 0.08 USDC,最多 20 則)、個人檔案資訊(0.08 USDC)以及留言(0.05 USDC),所有請求均透過 Base mainnet 上的 USDC 進行結算。無效或無資料的請求不會被結算,而供應商錯誤則會以重試提示的形式回傳。此外,還提供 MCP(Model Context Protocol)整合,透過 Streamable HTTP 端點公開 `tiktok_search`、`tiktok_profile` 和 `tiktok_comments` 等工具,並支援舊版別名。MCP 端點為公開用途,不會簽署付款;一個 `MCP_ALLOW_FREE_SEARCH` 環境變數可讓運營者在私有實例中啟用免費搜尋,此時工具會從共享的 Redis 或 SQLite 後備中傳回標準化 JSON。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add viictiiyo-dev/tiktok-bridge

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

TikTok Bridge — 供代理使用的 TikTok 查詢

x402 橋接,提供代理標準化的 JSON 契約。搜尋功能在回應為空、稀少或語彙相關性低時,會在各供應商之間進行後備;合併重複記錄、根據語彙啟發式對結果進行分類,並實施快取。僅限公開內容。無法存取私人個人檔案或私人影片。

搜尋 — Base mainnet 上的 x402

首先傳送未簽署的請求以取得 HTTP 402:

POST https://veredicto.dpdns.org/v1/tiktok/search
Content-Type: application/json

{"q":"paella","max":20}

相容 x402 的用戶端會簽署挑戰,並以 PAYMENT-SIGNATURE 和相同的 JSON 重試。若付款有效,會回傳 JSON 和 PAYMENT-RESPONSE。如果供應商有回應但無可用影片,則回傳 free_miss 且不結算。如果供應商失敗,則回傳 202 並附上 retry-hint,以免將錯誤誤認為無結果。

搜尋回應:q、videos、search_meta、cached 和 ts。search_meta 會告知已查詢的來源數量(不揭露其 ID)、是否有後備、結果數量、平均語彙相關性以及封面/網址的覆蓋率。每部影片包含 id、desc、author、likes、date、hashtags、cover 和 url;可用欄位包括 author_name、author_username、views、comments、shares、saves、duration、language、is_ad 和 relevance。date 為 ISO-8601 UTC;hashtags 為字串列表;不可用的資料會以 null 或空字串表示。relevance 是一個介於 0 到 1 之間的語彙啟發式參考值。

個人檔案與留言

留言回應會增加 comments_meta,包含請求/傳送的數量、按 ID 計算的重複數、欄位覆蓋率、邏輯來源(primary/fallback)以及 exhaustive=false。這僅衡量觀察到的回應,不保證 TikTok 會公開所有留言。

MCP

  • Streamable HTTP:https://veredicto.dpdns.org/tiktok-mcp/mcp
  • 建議的工具:tiktok_search、tiktok_profile、tiktok_comments。
  • 相容性:tiktok_perfil_info 和 tiktok_comments_info 仍可作為別名使用。
  • 公開 MCP 會回傳 REST x402 指示;不會簽署付款。MCP_ALLOW_FREE_SEARCH=1 僅應在運營者的私有實例中啟用。在此模式下,三個工具都會使用 REST 透過 Redis 或 SQLite 後備所共用的規範金鑰,回傳標準化 JSON。記憶體是最後手段,且不會在進程之間共享。

Individual skills in this repo

This repo contains 17 individual skills — each has its own dedicated page.

viictiiyo-dev/tiktok-bridge

Investigate implementation failures using root-cause-first debugging. Use when an implementer is blocked, verification fails, or repeated remediation does not converge.

viictiiyo-dev/tiktok-bridge

Entry point for new work. Determines the best action path or work decomposition (update existing spec, create new spec, mixed decomposition, or no spec needed) and refines ideas through structured dialogue.

viictiiyo-dev/tiktok-bridge

Implement approved tasks using TDD with subagent dispatch. Runs all pending tasks autonomously or selected tasks manually.

viictiiyo-dev/tiktok-bridge

Review a task implementation against approved specs, task boundaries, and verification evidence. Use after an implementer finishes a task, after remediation, or before accepting a task as complete.

viictiiyo-dev/tiktok-bridge

Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel sub-agent dispatch by dependency wave.

viictiiyo-dev/tiktok-bridge

Create comprehensive technical design for a specification

viictiiyo-dev/tiktok-bridge

Initialize a new specification with detailed project description

viictiiyo-dev/tiktok-bridge

Quick spec generation with interactive or automatic mode

viictiiyo-dev/tiktok-bridge

Generate comprehensive requirements for a specification

viictiiyo-dev/tiktok-bridge

Show specification status and progress

viictiiyo-dev/tiktok-bridge

Generate implementation tasks for a specification

viictiiyo-dev/tiktok-bridge

Create custom steering documents for specialized project contexts

viictiiyo-dev/tiktok-bridge

Manage .kiro/steering/ as persistent project knowledge

viictiiyo-dev/tiktok-bridge

Interactive technical design quality review and validation

viictiiyo-dev/tiktok-bridge

Analyze implementation gap between requirements and existing codebase

viictiiyo-dev/tiktok-bridge

Validate feature-level integration after all tasks are implemented. Checks cross-task consistency, full test suite, and overall spec coverage.

viictiiyo-dev/tiktok-bridge

Verify completion and success claims with fresh evidence. Use before claiming a task is complete, a fix works, tests pass, or a feature is ready for GO.

相關技能