Skip to content
Eden Engine

TikTok Web Guest Cookie (by User Agent)

omnial/tiktok-guest-cookie

Given a browser user-agent string, returns a fresh anonymous TikTok web guest cookie (one cookie-header string with tt_csrf_token, ttwid, msToken and tt_chain_token values), the user agent echoed back and a tiktok.com Referer to send with it. Not tied to any TikTok account.

activeper callv1

Price

Up to $0.0041 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

TikTok

Data from TikTok.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/tiktok-guest-cookie" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/tiktok-guest-cookie" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/tiktok-guest-cookie", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/tiktok-guest-cookie", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0041
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "user_agent"
  ],
  "properties": {
    "user_agent": {
      "type": "string",
      "examples": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36"
      ],
      "description": "The browser user-agent string to mint the guest cookie for."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "Cookie": {
      "type": "string",
      "description": "A fresh anonymous TikTok web guest cookie, as one cookie-header string (tt_csrf_token, ttwid, msToken and tt_chain_token values; some names appear twice)."
    },
    "Referer": {
      "type": [
        "string",
        "null"
      ],
      "description": "A tiktok.com page to send as the Referer header with the cookie."
    },
    "User-Agent": {
      "type": "string",
      "description": "The user_agent input, echoed back."
    }
  },
  "description": "The guest request headers, as returned after shaping."
}