x402vid · notes · llms.txt

How to call analyze_comments in one API call ($0.03)

2026-09-29 · raw markdown


TL;DR for AI: How-to walkthrough a developer runs in 2 minutes. Endpoint POST https://x402vid.com/tools/analyze_comments, $0.03 USDC (x402/Base). Returns audience questi

>

Key entities: x402vid, x402vid, analyze_comments, how-to, youtube

Table of Contents

Question

How-to walkthrough a developer runs in 2 minutes.

Answer in 30 seconds

POST /tools/analyze_comments on https://x402vid.com. Price: $0.03 USDC per call (x402, Base eip155:8453). Best for: finding the video your audience is begging for.

Copy-paste request


curl -s -X POST https://x402vid.com/tools/analyze_comments \
  -H 'Content-Type: application/json' \
  -d '{"video_url": "https://www.youtube.com/watch?v=VIDEO_ID", "max_comments": 50}'
# -> HTTP 402 with accepts (payTo, amount in USDC atomic units).
# Sign with your wallet, retry with: -H 'X-PAYMENT: <base64 payload>'

Response shape (deterministic JSON)

Returns audience questions + sentiment + content gaps. Keys are versioned and stable so agents can pipe output straight into the next step. Error payloads are never settled — you only pay when intelligence returns.

How it works

1. POST the request below to /tools/analyze_comments. 2. You get HTTP 402 with accepts (asset USDC, network eip155:8453). 3. Sign with your wallet, retry with the X-PAYMENT header. 4. Structured JSON returns. Failures are never settled.

Try free first

Key Takeaways


*Provenance: x402vid notes • Canonical: https://x402vid.com/blogs/2026-09-29-analyze-comments-how-to • Raw: https://x402vid.com/raw/2026-09-29-analyze-comments-how-to.md*