← Back to Skills Marketplace
jaencarrodine

TikTok API

by Jaen · GitHub ↗ · v1.0.13 · MIT-0
cross-platform ✓ Security Clean
150
Downloads
1
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install agntdata-tiktok
Description
TikTok API integration with a single agntdata API key (Bearer token). Read video details, creator profiles, and search results. Use this skill when users wan...
README (SKILL.md)

TikTok API

The agntdata TikTok API wraps TikTok surface areas into a single integration. Instead of managing multiple keys, proxies, and rate limits yourself, you call agntdata with one credential and consume structured JSON optimized for downstream AI and analytics. Whether you are building a social listening agent, a content research pipeline, or a creator-intelligence product, this API gives you consistent access to video details, creator profiles, and search across accounts and videos with predictable billing and operational simplicity.

Recommended: Install the Plugin

For the best experience, install the OpenClaw plugin for TikTok API instead of this skill. The plugin provides native MCP tools, automatic authentication, and structured parameter validation.

Skill (this document):

clawhub install agntdata-tiktok

Plugin (native tools; npm package matches package.json):

openclaw plugins install @agntdata/openclaw-tiktok

This skill is useful for environments where plugins are not supported.

Authentication

Before making API calls, you need an API key. Get one from the agntdata dashboard.

The API key should be available as the AGNTDATA_API_KEY environment variable. Every request must include it as a Bearer token:

Authorization: Bearer $AGNTDATA_API_KEY

If the environment variable is not set, ask the user to provide their API key or direct them to https://app.agntdata.dev/dashboard to create one.

API Key Activation

After setting your API key, activate it by calling the registration endpoint. This only needs to be done once per key:

curl -X POST https://api.agntdata.dev/v1/register \
  -H "Authorization: Bearer $AGNTDATA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"intendedApis": ["tiktok"], "useCase": "Brief description of your use case"}'

Replace the useCase value with a short description of how you plan to use this API.

Discovery Endpoints

These public endpoints (no API key required) let you explore this platform's capabilities:

curl https://api.agntdata.dev/v1/platforms/tiktok

Returns: full endpoint list, OpenAPI spec, features, and use cases.

Base URL

https://api.agntdata.dev/v1/tiktok

Available Endpoints

Method Path Summary
GET /video/details Video Details
POST /video/details Video Details
GET /user/videos User's Videos
POST /user/videos User's Videos
GET /collection/ Collection Videos/Details
GET /user/videos/continuation User's Videos Continuation
GET /user/details User's Details
POST /user/details User's Details
GET /search/accounts/query Search Accounts
POST /search/accounts/query Search Accounts
GET /search/general/query Search Videos
POST /search/general/query Search Videos

Tool Schemas

The following JSON defines all available tools with their parameters. Each tool maps to an API endpoint.

[
  {
    "name": "agntdata_tiktok_Video_Details_get",
    "description": "Video Details",
    "method": "GET",
    "path": "/video/details",
    "parameters": {
      "type": "object",
      "properties": {
        "video_id": {
          "type": "string",
          "description": "video_id"
        }
      },
      "required": [
        "video_id"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_Video_Details_post",
    "description": "Video Details",
    "method": "POST",
    "path": "/video/details",
    "parameters": {
      "type": "object",
      "properties": {
        "video_id": {
          "type": "string",
          "description": "video_id"
        }
      },
      "required": [
        "video_id"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_User_s_Videos_get",
    "description": "User's Videos",
    "method": "GET",
    "path": "/user/videos",
    "parameters": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string",
          "description": "username"
        }
      },
      "required": [
        "username"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_User_s_Videos_post",
    "description": "User's Videos",
    "method": "POST",
    "path": "/user/videos",
    "parameters": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string",
          "description": "username"
        }
      },
      "required": [
        "username"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_Collection_Videos_Details",
    "description": "Collection Videos/Details",
    "method": "GET",
    "path": "/collection/",
    "parameters": {
      "type": "object",
      "properties": {
        "collection_id": {
          "type": "string",
          "description": "collection_id"
        },
        "username": {
          "type": "string",
          "description": "username"
        }
      },
      "required": [
        "collection_id",
        "username"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_User_s_Videos_Continuation",
    "description": "User's Videos Continuation",
    "method": "GET",
    "path": "/user/videos/continuation",
    "parameters": {
      "type": "object",
      "properties": {
        "continuation_token": {
          "type": "string",
          "description": "continuation_token"
        },
        "username": {
          "type": "string",
          "description": "username"
        },
        "secondary_id": {
          "type": "string",
          "description": "secondary_id"
        }
      },
      "required": [
        "continuation_token",
        "username",
        "secondary_id"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_User_s_Details_get",
    "description": "User's Details",
    "method": "GET",
    "path": "/user/details",
    "parameters": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string",
          "description": "username"
        }
      },
      "required": [
        "username"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_User_s_Details_post",
    "description": "User's Details",
    "method": "POST",
    "path": "/user/details",
    "parameters": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string",
          "description": "username"
        }
      },
      "required": [
        "username"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_Search_Accounts_get",
    "description": "Search Accounts",
    "method": "GET",
    "path": "/search/accounts/query",
    "parameters": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "query"
        }
      },
      "required": [
        "query"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_Search_Accounts_post",
    "description": "Search Accounts",
    "method": "POST",
    "path": "/search/accounts/query",
    "parameters": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "query"
        }
      },
      "required": [
        "query"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_Search_Videos_get",
    "description": "Search Videos",
    "method": "GET",
    "path": "/search/general/query",
    "parameters": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "query"
        }
      },
      "required": [
        "query"
      ]
    }
  },
  {
    "name": "agntdata_tiktok_Search_Videos_post",
    "description": "Search Videos",
    "method": "POST",
    "path": "/search/general/query",
    "parameters": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "query"
        }
      },
      "required": [
        "query"
      ]
    }
  }
]

Example

curl -X GET 'https://api.agntdata.dev/v1/tiktok/' \
  -H 'Authorization: Bearer $AGNTDATA_API_KEY'

Use Cases

  • Social and creator intelligence agents using TikTok
  • Marketing and research teams monitoring accounts and content
  • Product teams building alerts, digests, and dashboards
  • Developers prototyping LLM tools that need live network data
  • Data teams joining TikTok signals with CRM or warehouse data

Other Platforms

agntdata provides unified access to social data across multiple platforms. Explore other available APIs:

curl https://api.agntdata.dev/v1/platforms

Available platforms: LinkedIn, YouTube, TikTok, X, Instagram, Reddit, Facebook. Each uses the same API key and follows the same patterns.

Links

Usage Guidance
This skill appears to do what it says: it calls agntdata's TikTok proxy endpoints using a single API key. Before installing, confirm you trust the agntdata service (api.agntdata.dev / app.agntdata.dev) and understand billing and data-use policies. Do not include sensitive or proprietary details in the 'useCase' registration payload if you want to avoid sharing product strategy. Prefer the vendor's official plugin if available for better validation and auth flow. As always, limit and rotate the API key and monitor usage if you plan to share credentials with this skill.
Capability Analysis
Type: OpenClaw Skill Name: agntdata-tiktok Version: 1.0.13 The agntdata-tiktok skill is a standard API wrapper for accessing TikTok data via the agntdata.dev service. It requires an API key (AGNTDATA_API_KEY) and uses curl to interact with documented endpoints for video details, user profiles, and search. No evidence of data exfiltration, malicious execution, or prompt injection was found in SKILL.md or _meta.json.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description match the runtime instructions: the SKILL.md documents calling agntdata API endpoints for TikTok data. Required binary (curl) and a single API key (AGNTDATA_API_KEY) are appropriate and expected for this purpose.
Instruction Scope
Instructions are limited to making HTTP calls to api.agntdata.dev, activating the key via a register endpoint, and discovering endpoints. Note: the registration step posts a user-supplied 'useCase' description to the provider — this may disclose product intent or other context to the service and users should be aware before sending sensitive information.
Install Mechanism
This is an instruction-only skill with no install spec and no code files. That minimizes disk writes and arbitrary code execution risk; requiring curl is reasonable for the documented curl examples.
Credentials
Only AGNTDATA_API_KEY is required and is the primary credential. No unrelated secrets, config paths, or excessive environment variables are requested.
Persistence & Privilege
always is false and the skill does not request elevated or permanent system privileges. The skill will run when invoked; autonomous invocation is allowed by default but is not combined with other concerning privileges here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agntdata-tiktok
  3. After installation, invoke the skill by name or use /agntdata-tiktok
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.13
agntdata-tiktok 1.0.13 - Bumped skill version to 1.0.13. - No functional or schema changes; documentation and metadata updates only.
v1.0.12
- Updated homepage URL in metadata to the new docs location. - Bumped version number to 1.0.12. - No changes to parameters or functional endpoints.
v1.0.11
agntdata-tiktok v1.0.11 - Updated version number to 1.0.11 in SKILL.md. - No functional, endpoint, or schema changes—documentation update only.
v1.0.10
- Updated version to 1.0.10. - Documentation in SKILL.md refreshed with minor edits and formatting adjustments. - No changes to endpoints or functionality.
v1.0.9
- Tool/action names updated to include explicit HTTP methods (e.g., `_get`, `_post`) for clarity and better disambiguation. - Discovery endpoint documentation updated: removed mention of "credit costs" to reflect current API output. - No new endpoints or features added; backwards compatibility maintained. - Documentation version bumped to 1.0.9.
v1.0.7
- Clarified documentation around TikTok API endpoints, supported methods, and required parameters. - Improved setup instructions: Added guidance for API key registration/activation and example curl commands. - Updated feature summary to emphasize single-key management and structured JSON output for video and creator data. - Added recommendation for using the OpenClaw plugin for enhanced experience, while outlining when to use the skill directly. - Expanded endpoint and tool schemas overview for easier reference and use.
Metadata
Slug agntdata-tiktok
Version 1.0.13
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 6
Frequently Asked Questions

What is TikTok API?

TikTok API integration with a single agntdata API key (Bearer token). Read video details, creator profiles, and search results. Use this skill when users wan... It is an AI Agent Skill for Claude Code / OpenClaw, with 150 downloads so far.

How do I install TikTok API?

Run "/install agntdata-tiktok" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is TikTok API free?

Yes, TikTok API is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does TikTok API support?

TikTok API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created TikTok API?

It is built and maintained by Jaen (@jaencarrodine); the current version is v1.0.13.

💬 Comments