API · Prism composites
GET /prism/comment-leads
Buyer leads from the comments under a keyword search’s most discussed posts. Metered.
| Request | GET /v1/prism/comment-leads |
| Operation id | prism.comment_leads.get |
| Cost | 60 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Buyer leads from the comments under a keyword search’s most discussed posts. Metered.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | What buyers talk about. Example: crm for small business. |
platform | "reddit" | "youtube" | "tiktok" | "hackernews" | no | Default reddit. One of reddit, youtube, tiktok, hackernews. |
posts | integer | no | Results to consider (default 25). |
open | integer | no | Posts to open (default 5). |
comments_per_post | integer | no | Most comments kept per post (default 100). |
include | string | no | all: every comment read, not only leads. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Lead comments with their posts. | |
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.