GroundsocialDocs

API · Prism composites

GET /prism/discover

Search many platforms and keep only rows passing your filters (views, likes, words, languages). Metered.

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

NameTypeRequiredDescription
keywordsstring | string[]noUp to 5 keywords. Example: notion ai.
querystringnoSame as one keyword.
platformsstring | string[]noPlatforms to search.
period"day" | "week" | "month" | "year"noWindow from now. One of day, week, month, year.
sincestringnoYYYY-MM-DD.
untilstringnoYYYY-MM-DD.
min_viewsinteger | nullnoMinimum views.
min_likesinteger | nullnoMinimum likes.
min_commentsinteger | nullnoMinimum comments.
containsstringnoWords every row must contain.
exclude_termsstringnoComma list; rows with any are dropped.
languagesstring | string[]noKeep rows in these languages.
max_per_authorintegernoAt most this many rows per author.
max_per_platformintegernoAt most this many rows per platform.
sort"relevance" | "date" | "engagement"noDefault relevance. One of relevance, date, engagement.
limitintegernoDefault 50.
includestringnonative: native rows.
author_list_idstringnoKeep only these authors (a stored list).
exclude_list_idstringnoLeave out these authors (a stored list).

Responses

StatusMeaningSchema
200Filtered rows and a status per platform.
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.