API · Prism composites
GET /prism/leads
Public posts where people look for alternatives to, or switch from, a competitor. Metered.
| Request | GET /v1/prism/leads |
| Operation id | prism.leads.get |
| Cost | 50 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Public posts where people look for alternatives to, or switch from, a competitor. Metered.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
competitor | string | yes | The competitor’s name. Example: notion. |
product_category | string | no | Added as an extra query: "<category> recommendation". |
freshness | integer | no | Days back (default 90). |
limit | integer | no | Default 50. |
platforms | string | string[] | no | Default reddit, hackernews, bluesky, threads. |
include | string | no | Not used. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Ranked leads. | |
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.