API · Prism composites
GET /prism/comments
Every comment on a post or video link, page after page. Metered per page read.
| Request | GET /v1/prism/comments |
| Operation id | prism.comments.get |
| Cost | 50 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Every comment on a post or video link, page after page. Metered per page read.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | A post or video link. Example: https://www.tiktok.com/@scout2015/video/6718335390845095173. |
max | integer | no | Most pages to read (default 10). |
sort | string | no | Passed to the platform’s comment endpoint where it takes one (Reddit: top, new; YouTube: relevance, time). |
limit | integer | no | Most comments to return (default all read). |
include | string | no | native: each comment’s native object. |
cursor | string | no | Not used: pages are followed for you. Accepted for compatibility. |
replies | "true" | "false" | no | Not used: replies come nested where the platform nests them. One of true, false. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Every comment read, as rows. | |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | Nothing was found for that input on any platform. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Prism composites is temporarily unavailable. Retryable; nothing was charged. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.