GroundsocialDocs

API · Prism composites

GET /prism/audience-questions

The questions a topic’s audience asks on Reddit, YouTube, Hacker News and Stack Overflow. Metered.

RequestGET /v1/prism/audience-questions
Operation idprism.audience_questions.get
Cost30 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

The questions a topic’s audience asks on Reddit, YouTube, Hacker News and Stack Overflow. Metered.

Query parameters

NameTypeRequiredDescription
topicstringyesThe topic. Example: sourdough starter.
platformsstring | string[]noDefault reddit, youtube, hackernews, stackoverflow.
max_questionsintegernoDefault 50.
threads_per_sourceinteger | nullnoThreads opened per platform (default 2).
timeframe"week" | "month" | "year" | "all"noDefault all. One of week, month, year, all.
includestringnoNot used.

Responses

StatusMeaningSchema
200Ranked questions with sources.
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.