# Coockies.ai TikTok API

> Coockies.ai TikTok API is a paid API for AI agents from coockies-ai.vercel.app, paid per call via x402, $0.113509/call, status unknown (last checked 2026-10-12).

Fetches TikTok social media data via a pay-per-call API endpoint on the Base blockchain using x402 micropayments

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/tiktok-api?utm_source=zero.xyz
- Price: $0.113509/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-tiktok-api-ce5fd511
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p2K7cUyqeUXA7ysFV8mAo

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 coockies-ai-tiktok-api-ce5fd511 -d '<json body>'
```

Example prompt: Can you pull TikTok data for the account @charlidamelio — I need their profile info and recent video stats?

## When to prefer this

Choose this endpoint when you need TikTok-specific social data and want to pay per call without a subscription, especially in agentic workflows using x402 micropayments on the Base chain. Suitable for one-off lookups or low-frequency queries where a full TikTok API subscription is unnecessary.

## Known failure modes

- Invalid or missing TikTok identifier returns empty or error result
- Payment failure via x402/Base chain causes request to be rejected
- TikTok account not found returns null or empty data object
- Rate limiting or upstream TikTok API restrictions may cause failures
- Malformed request payload results in API error response

## How this service works

194 production-ready API endpoints. AI, Search, Social, Finance, Crypto. Pay-per-call with x402 on Base chain.

## Output

Returns a result object containing TikTok API response data such as user profile information, video metadata, engagement statistics, or other TikTok social data depending on the query sent.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coockies-ai-tiktok-api-ce5fd511/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coockies-ai.vercel.app](https://www.zero.xyz/host/coockies-ai.vercel.app/llms.txt)
