Tiktoktiktok.com

ScoredNov 13, 2026, 11:14 PM

TikTok's API program shows strong foundations in contract quality and agent discoverability, but two areas create real friction for partners and their AI agents: operational reliability and error semantics. With zero mutating operations documenting idempotency or rate-limit behavior, and no error responses defined anywhere in the spec, any agent-driven integration risks duplicate writes, silent throttling, and unhandled failures.

API DesignA clean, typed, well-governed API contract agents can reason about3 pass2 warn0 fail89A
SignalPointsFindingsRationale
passAuth declared & discoverablevia mcp25/25The MCP server at https://tiktok.api.trendsapi.ai/mcp accepts unauthenticated requests, so an agent knows it needs no credentials. Investigated: mcp 100%, spec 0%, docs 0%.Agents can only call an API when they can determine its auth posture — a declared scheme, or an explicit statement that none is required.
warnMachine-readable, versioned contractvia spec18.8/25The API sets a version ("1.0.0") but exposes no versioning scheme in the URL, a header, or the media type, so an agent can't pin to a specific version. Investigated: spec 75%, docs 50%.
Fix: Pick a versioning scheme (URL path /v1/, Accept: application/vnd.x+json, or a version header) and apply it consistently.
A current OpenAPI version with a declared versioning scheme lets agents reason about the contract.
warnSchema coverage & depthvia spec18.8/25Only 0% of the 307 operations document request and response schemas, so an agent can't do function-calling against most endpoints. Investigated: spec 75%, sdk 50%.
Fix: Add request and response schemas to enable agent function-calling.
Typed, complete request/response schemas are what make agent function-calling possible.
passSecurity & governance hygienevia spec15/15No credential-shaped strings detected in spec. Investigated: spec 100%, sdk 100%, wellknown 50%.No leaked secrets, no critical lint violations, no OWASP API Top-10 spec smells, and a published vulnerability-disclosure channel.
passExample coveragevia spec10/10Only 0% of parameters and responses (0 of 4) include example values, so an agent has little grounding in real payload shapes. Investigated: spec 100%, sdk 100%, docs 0%.Examples carry shape semantics schemas under-specify — for humans and agents alike.
Developer ExperienceThe context both developers and agents need to integrate fast — onboarding, code samples, complete descriptions and worked examples3 pass0 warn2 fail74B
SignalPointsFindingsRationale
passSelf-service developer portalvia docs29/29Self-service signup available at https://www.tiktok.com/signup, with a free tier or sandbox documented — an agent can onboard without contacting sales. Investigated: docs 100%.A first call without a human in the loop — self-serve credentials, a free tier, or an API that needs none.
passQuickstart presentvia docs25/25Quickstart at https://developers.tiktok.com/docs/en/welcome includes a runnable first-call code sample. Investigated: docs 100%.A quickstart is the fastest path from landing page to first successful call.
passDescription completenessvia spec15/15Only 10% of operations and parameters have descriptions (61 of 307 ops, 0 of 701 params), leaving an agent to guess what most endpoints do. Investigated: spec 100%, sdk 0%.Complete descriptions are the context humans and agents need to use endpoints.
failCode samples in docsvia docs0/18No code samples detected across 1 sampled docs pages, so a coding agent gets no ready-to-use examples. Investigated: docs 0%.
Fix: Add copy-pasteable code samples to API reference and quickstart pages.
Multi-language samples shorten time-to-first-call.
failChangelog publishedvia spec0/13No changelog link or mention appears in the spec, so an agent can't tell what changed before something breaks. Investigated: spec 0%, docs 0%.
Fix: Publish a structured changelog (e.g., /changelog.json or releases.atom) and reference it in info or externalDocs.
A published changelog lets partners track changes without surprise.
Agent DiscoveryPartners and their agents can find your APIs — llms.txt, registries, crawlable and reachable docs2 pass2 warn0 fail82A
SignalPointsFindingsRationale
passDocs reachable, not hard auth-gatedvia docs30/30All 1 pages are publicly accessible. Investigated: docs 100%.Agents can only index and fetch docs they can reach — past auth gates and over correct HTTP semantics.
passRegistry & SDK presencevia docs28/28Indexed on Context7 (rioanandaputra-bot/tiktok-docs, 3324 snippets). Investigated: docs 100%, sdk 50%, cli 0%, mcp 0%, wellknown 0%.Listing in MCP registries and publishing SDKs puts the API where agents and their tooling look.
warnllms.txt present, valid & comprehensivevia docs15/30No llms.txt found at any candidate location (https://developers.tiktok.com/llms.txt, https://developers.tiktok.com/docs/llms.txt). Investigated: docs 50%, sdk 0%.A valid, comprehensive llms.txt is the machine-readable entry point for agents.
warnCrawlable / AEOvia wellknown6/12No sitemap found via robots.txt or /sitemap.xml on the docs host, so AI search engines have no crawl map for your docs. Investigated: wellknown 50%.
Fix: Publish an XML sitemap and reference it from robots.txt.
Bots allowed plus a fresh sitemap make docs findable by agent crawlers.
Agent UnderstandingAgents can correctly interpret your APIs — machine-readable errors, consistent descriptions, structured data, parseable docs2 pass2 warn1 fail68C
SignalPointsFindingsRationale
passOperation purpose clarityvia spec25/2594% of operations (290 of 307) have both a clear summary and a descriptive name, so an agent can pick the right endpoint. Investigated: spec 100%, sdk 63%.Agents select the right endpoint from its summary + operationId; clear, named operations make tool-selection reliable — the strongest driver of correct tool choice.
passAgent-navigable, token-efficient docsvia docs22/22All 1 pages contain server-rendered content. Investigated: docs 100%.Server-rendered, clean, small-footprint docs are what an agent can cheaply fetch and parse correctly.
warnAgent instructions file (AGENTS.md)via sdk5/10No agents.md or skill.md context file found (nice-to-have for agent operation). Investigated: sdk 50%, wellknown 0%.
Fix: Add an agents.md or skill.md describing how an agent should use this SDK (auth setup, key operations, gotchas).
An AGENTS.md gives coding agents explicit setup, auth, and usage instructions to interpret and operate the API — beyond llms.txt's link index.
warnDocs structured datavia docs4/8Only OpenGraph/meta tags across 1 assessed pages — no JSON-LD for AI answer engines to cite. Investigated: docs 50%.
Fix: Emit JSON-LD with Article/TechArticle @type and dateModified in the rendered docs head.
Structured data (JSON-LD/schema.org) on docs pages gives agents an unambiguous parse target and is what answer engines cite. Detected on the JS-rendered head (Firecrawl) for a bounded page budget, so JS-injected JSON-LD is now caught; pages we can't render are excluded rather than failed.
failMachine-readable errors (RFC 9457)via spec0/28No error responses (4xx/5xx or a catch-all default) are documented anywhere in the spec, so an agent can't anticipate or handle failures. Investigated: spec 0%, docs 0%.
Fix: Document at least the common error codes (400, 401, 403, 404, 429, 500) per operation.
RFC 9457 problem details and a documented error-code inventory let agents parse failures without burning tokens.
naDescription consistency across surfaces—/7Only 1 surface description(s) with ≥6 tokens available; need at least 2 to compare.Every surface tells the same story about what the product is.
Agent UsabilityAgents have the context to use your APIs reliably, not just find them1 pass1 warn2 fail47F
SignalPointsFindingsRationale
warnSandbox separationvia sdk10/20No test-mode flag or sandbox environment is exposed. Investigated: sdk 50%, spec 0%, docs 0%.
Fix: Expose a test-mode flag or sandbox environment so agents can exercise the SDK safely.
An isolated environment lets agents exercise destructive operations safely.
passRunnable collection with test scriptsvia sdk9/9README is present and includes a runnable quickstart. Investigated: sdk 100%, platform 50%.A public, maintained collection with assertions is runnable truth agents validate against.
failIdempotency documentedvia spec0/27Only 0% of mutating operations (0 of 152) document idempotency, so an agent's retries can create duplicate writes. Investigated: spec 0%, docs 0%, sdk 0%.
Fix: Agents retry on failure; without idempotency, retries create duplicates. Document Idempotency-Key on every POST/PUT/PATCH/DELETE.
Documented idempotency lets agents retry safely.
failRate-limit signalingvia spec0/22No rate-limit response headers are documented, so an agent can't tell when it is approaching a limit and will get throttled. Investigated: spec 0%, docs 0%.
Fix: Add x-ratelimit-* response headers and document retry-after semantics.
Machine-readable rate-limit headers let agents throttle adaptively.
naPagination documented & consistent—/22No surface produced evidence for this capability in this run.Consistent, documented pagination lets agents traverse collections.
Resources Discovered

The public resources we found for Tiktok — the evidence behind the score. All discovered from public sources; nothing here requires access to your systems.

Agent hintsContext7 (3,324)
APIs analyzed2 — TikTok Business API V1.3, {"en":"AdvertiserInfo","zh":"1"}
Want to improve your results?