# 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-12).

Fetches up to 100 comments (text, timestamp, likes, reply count) from a TikTok video URL as structured JSON

## Facts

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

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-4f68c2bf -d '<json body>'
```

Example prompt: Grab the top 50 comments from this TikTok video — https://www.tiktok.com/@username/video/1234567890 — and give me each comment's text, how many likes it got, and how many replies it has.

## When to prefer this

Choose this endpoint when you need structured comment data (text, time, likes, reply count) from a specific TikTok video URL without needing commenter identities. Ideal for sentiment analysis, audience research, and content monitoring pipelines that pay per call in stablecoins and need predictable per-request pricing with automatic refunds for missing data.

## Known failure modes

- Invalid or inaccessible TikTok URL returns an error (private videos, deleted videos, or regional restrictions)
- Limit parameter outside 1–100 range is rejected
- TikTok rate limiting or blocking may result in partial results with partial refund
- Network timeout if TikTok is slow to respond
- Video with zero comments returns an empty array

## How this service works

TikTok comments API for AI agents: send the URL of a video and get its comments as JSON: text, time, likes and reply count. Up to 100 comments per call. The commenters' names and handles are not returned. Pay per call in stablecoins; comments you paid for but did not get are refunded.

## Output

A JSON array of up to 100 comment objects, each containing: the comment text, the time it was posted, the number of likes it received, and the number of replies. Commenter names and handles are not included. Comments paid for but not returned are automatically refunded.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agdata-tiktok-comments-api-4f68c2bf/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)
