API · Prism composites
GET /prism/discover
Search many platforms and keep only rows passing your filters (views, likes, words, languages). Metered.
| Request | GET /v1/prism/discover |
| Operation id | prism.discover.get |
| Cost | 30 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Search many platforms and keep only rows passing your filters (views, likes, words, languages). Metered.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
keywords | string | string[] | no | Up to 5 keywords. Example: notion ai. |
query | string | no | Same as one keyword. |
platforms | string | string[] | no | Platforms to search. |
period | "day" | "week" | "month" | "year" | no | Window from now. One of day, week, month, year. |
since | string | no | YYYY-MM-DD. |
until | string | no | YYYY-MM-DD. |
min_views | integer | null | no | Minimum views. |
min_likes | integer | null | no | Minimum likes. |
min_comments | integer | null | no | Minimum comments. |
contains | string | no | Words every row must contain. |
exclude_terms | string | no | Comma list; rows with any are dropped. |
languages | string | string[] | no | Keep rows in these languages. |
max_per_author | integer | no | At most this many rows per author. |
max_per_platform | integer | no | At most this many rows per platform. |
sort | "relevance" | "date" | "engagement" | no | Default relevance. One of relevance, date, engagement. |
limit | integer | no | Default 50. |
include | string | no | native: native rows. |
author_list_id | string | no | Keep only these authors (a stored list). |
exclude_list_id | string | no | Leave out these authors (a stored list). |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Filtered rows and a status per platform. | |
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.