# agdata TikTok Comments API

> agdata TikTok Comments API is a paid API for AI agents from agdata.shveik.dev, paid per call via x402, $0.01575/call, status unknown (last checked 2026-10-14).

Fetches up to 100 comments from a TikTok video or post as structured JSON, paid per call with no account required

## Facts

- Endpoint: POST https://agdata.shveik.dev/v1/mpp/tiktok-comments?utm_source=zero.xyz
- Price: $0.01575/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agdata-tiktok-comments-api-5c525f71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9D5idgU_gdeDzLYWFlp4v

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 agdata-tiktok-comments-api-5c525f71 -d '<json body>'
```

Example prompt: Can you grab the top 50 comments from this TikTok video — https://www.tiktok.com/@creator/video/123456789 — and give them to me as structured data with like counts and timestamps?

## When to prefer this

Choose this endpoint when you need structured TikTok comment data without setting up a developer account or managing OAuth tokens. It is ideal for one-off or low-volume comment extractions billed per call in stablecoins. Prefer this over building a custom TikTok scraper when you want clean JSON output with engagement metadata (like counts, reply counts, timestamps) and no infrastructure overhead.

## Known failure modes

- Invalid or private TikTok URL returns an error or empty result
- Limit value outside 1–100 range causes a validation error
- TikTok rate-limiting or geo-blocking may result in failed extraction
- Video with zero comments returns an empty array
- Deleted or unavailable video returns an error response
- Payment failure over x402/MPP prevents the call from completing

## How this service works

Unblock any URL as Markdown, or get search, social, maps, jobs and news as data. Paid per call in stablecoins over x402 or MPP, with no account.

## Output

Returns a JSON array of comment objects, each containing: comment ID, text, pinned status, byOwner flag, isReply flag, postedAt timestamp, likeCount, ownerLiked boolean, replyCount, and textTruncated flag. Up to the requested limit (max 100) comments are returned per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 300
  },
  "limit": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "76652633…",
  "text": "Howdy pa…",
  "pinned": false,
  "byOwner": null,
  "isReply": false,
  "postedAt": "2026-07-…",
  "likeCount": 7597,
  "ownerLiked": true,
  "replyCount": 68,
  "textTruncated": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agdata-tiktok-comments-api-5c525f71/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agdata.shveik.dev](https://www.zero.xyz/host/agdata.shveik.dev/llms.txt)
