# TikTok guest cookie

Needs user agent. Served by TikHub.

Purpose:
- Get the guest Cookie of TikTok Web
- Can be used to crawl data of TikTok Web, such as user videos, mix videos, etc.
- Can fix identity to avoid duplicate data for some interfaces.
- Please note: Guest Cookie cannot crawl all data, there are certain restrictions.
- Can be used with open source projects to implement data crawling of TikTok Web using this interface.
Parameters:
- user_agent: User browser agent
Return:
- Guest Cookie

- Tool ID: `tikhub/tiktok-web-fetch-tiktok-web-guest-cookie`
- Name in the catalog: Tiktok, Get the guest Cookie
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [TikTok videos](/tools/tiktok/videos.md)
- Price: $0.002 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.002
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.002; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "user_agent": {
      "type": "string",
      "description": "用户浏览器代理/User browser agent",
      "title": "User Agent"
    }
  },
  "required": [
    "user_agent"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/tiktok-web-fetch-tiktok-web-guest-cookie",
  "input": {
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/TikTok-Web-API/fetch_tiktok_web_guest_cookie_api_v1_tiktok_web_fetch_tiktok_web_guest_cookie_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/tiktok-web-fetch-tiktok-web-guest-cookie) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/tiktok-web-fetch-tiktok-web-guest-cookie) · [Agent index](/llms.txt)
