API · Prism composites
GET /prism/campaign
A hashtag or phrase before, during and after a campaign: volume, lift, amplifiers. Metered.
| Request | GET /v1/prism/campaign |
| Operation id | prism.campaign.get |
| Cost | 35 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A hashtag or phrase before, during and after a campaign: volume, lift, amplifiers. Metered.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
hashtag | string | no | A hashtag, # optional. |
phrase | string | no | Or a phrase. |
window_start | string | yes | Campaign start, YYYY-MM-DD. Example: 2026-11-01. |
window_end | string | no | Campaign end (default today). |
pre_days | integer | no | Days before (default 7). |
post_days | integer | null | no | Days after (default 7). |
brand | string | no | Also required in each row. |
platforms | string | string[] | no | Default bluesky, reddit, hackernews, tiktok, youtube, threads. |
include | string | no | Not used. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Volume per period, lift, amplifiers. | |
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.