GroundsocialDocs

API · Prism composites

GET /prism/comments

Every comment on a post or video link, page after page. Metered per page read.

RequestGET /v1/prism/comments
Operation idprism.comments.get
Cost50 credits, refunded if the call fails
AuthAPI 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

NameTypeRequiredDescription
urlstringyesA post or video link. Example: https://www.tiktok.com/@scout2015/video/6718335390845095173.
maxintegernoMost pages to read (default 10).
sortstringnoPassed to the platform’s comment endpoint where it takes one (Reddit: top, new; YouTube: relevance, time).
limitintegernoMost comments to return (default all read).
includestringnonative: each comment’s native object.
cursorstringnoNot used: pages are followed for you. Accepted for compatibility.
replies"true" | "false"noNot used: replies come nested where the platform nests them. One of true, false.

Responses

StatusMeaningSchema
200Every comment read, as rows.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404Nothing was found for that input on any platform.Error
429Too many requests. Wait for Retry-After seconds.Error
503Prism composites is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.