# SocialFetch TikTok Video Lookup

> SocialFetch TikTok Video Lookup is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status healthy (last checked 2026-09-15, last successful call 2026-08-16).

Fetches metadata, media links, and optional transcript for a single TikTok video by its URL.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/tiktok/videos
- Price: $0.014/call
- Payment: x402
- Status: healthy
- Last checked: 2026-09-15
- Last successful call: 2026-08-16
- Success rate: 100% of calls made through Zero
- Activations on Zero: 38
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-tiktok-video-lookup-f92102ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K0JEj3TEOVa-GJ3W0zZ4g

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability socialfetch-tiktok-video-lookup-f92102ec
```

Example prompt: Can you fetch the details and transcript for this TikTok video: https://www.tiktok.com/@username/video/1234567890 — I also want the download link if available.

## When to prefer this

Use this endpoint when you need structured metadata, download links, or a transcript for a specific TikTok video identified by URL. Prefer this over generic web scrapers when you need reliable, structured TikTok data with optional media hosting and transcript support in a single call.

## Known failure modes

- Invalid or non-existent TikTok URL returns an error response
- TikTok video is private or deleted — no data returned
- Transcript unavailable for the video — `transcript` field absent even with getTranscript=true
- downloadMedia incurs additional 10 credits even if downloads array is empty
- Region routing issues may cause intermittent failures for geo-restricted content
- Payment failure (x402) if insufficient USDC balance

## How this service works

Get a single TikTok video by URL.

## Output

Returns a JSON object containing TikTok video metadata (author, description, stats, etc.), and optionally hosted CDN download URLs in a `downloads` field and a WEBVTT transcript in a `transcript` field, depending on the flags passed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 4096,
       "minLength": 1,
       "description": "Link to the video or photo post."
      },
      "trim": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "enum": [
          "0",
          "1",
          "true",
          "false"
         ],
         "type": "string"
        }
       ],
       "description": "When true, returns a smaller response with fewer fields."
      },
      "region": {
       "type": "string",
       "description": "Optional ISO 3166-1 country code used to route the request when needed."
      },
      "downloadMedia": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "enum": [
          "0",
          "1",
          "true",
          "false"
         ],
         "type": "string"
        }
       ],
       "description": "When true, includes hosted CDN URLs in `downloads` when available. Adds 10 credits (11 total with the base lookup) on successful lookups, even if `downloads` is empty."
      },
      "getTranscript": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "enum": [
          "0",
          "1",
          "true",
          "false"
         ],
         "type": "string"
        }
       ],
       "description": "When true, includes the video transcript (WEBVTT) in `transcript` when one is available."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-tiktok-video-lookup-f92102ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
