Skip to content

Creators, campaigns and reports

Read a project’s saved creators and campaigns, search profiled creators, and create a report link.

These endpoints return what a project holds about creators and campaigns, as the key’s owner, and create report links. They are free. None of them starts a creator check, a watch or a campaign: those start in the app.

Every endpoint here works in one project. Send project with a project’s id or its exact name, or leave it out to read the project that is active in the app. No request changes which project is active.

Creators

Every creator comes with the same public fields.

FieldWhat it holds
idThe creator’s id, which /creators/{id} and a report take.
platformThe platform the account is on.
handleTheir handle, without @.
nameTheir display name.
profile_urlTheir profile on the platform.
avatar_urlA public avatar image WhyViral hosts.
followersTheir follower count, when the platform shows it.
countryThe country their profile states, as written.
country_codeThat country as an ISO 3166-1 alpha-2 code, when WhyViral recognizes it.

A profile says what a creator’s posts show, never who the person is. A creator WhyViral removed at their request appears in no answer.

Saved creators

GET /creators/saved lists a project’s saved creators, newest first.

FieldWhat it holds
object"saved_creator".
typical_viewsThe views their videos usually get, from the posts WhyViral holds.
median_viewsMedian views of their recent posts: from their profile, else their last check.
engagement_rateA fraction: 0.03 is 3%. Per view, or per follower on Instagram.
statusnew, contacted, agreed or rejected.
saved_atWhen they were saved.
fit{verdict, summary, reasons, concerns, checked_at} once a creator check ran; verdict is strong, possible or weak. It is a read of their public posts against the project’s brief, not a fact about the person.
findingsWhat their posts show about the project’s competitors; see the table below.
conflict{state, competitors, not_found, found, posts_read, videos_watched, from, to}: whether their posts name a competitor. state is clear, named, sponsored or not_checked; each of found is {competitor, kind, posts, last_at, places}, and kind says who likely paid: sponsored, likely_hidden, unclear, organic or own.
criteria[{requirement, level, verdict, reason, by, evidence}]: the project’s criteria as answered. verdict is met, not_met or not_shown; not_shown means nothing read answers it, never that it is unmet. by is numbers, quick, deep or null, and each piece of evidence is {kind, text, at, unit, post_url}.
depthWhat answered the criteria: free from stored data alone, quick once a check read the profile, deep once videos were watched for it.
listsThe names of the project’s lists they are in.
vetted_atWhen the owner marked them vetted, else null.

findings says whether the project’s competitors appear in the creator’s stored posts and the videos WhyViral watched. No finding means none in what was read, which posts_read and videos_watched count.

FieldWhat it holds
statefound, clear, or not_checked when nothing of theirs was read or the project lists no competitor.
competitorsCompetitors the project lists.
foundHow many of them appear in what was read.
posts_readTheir stored posts that were searched.
videos_watchedTheir posts WhyViral watched.
findingThe newest finding: {competitor, where, quote, at, unit, post_url, posted_at, views}.
flagThe strongest brand-safety flag of their watched posts: {key, level, severity, at, unit, evidence}.

criteria answers the project’s must-haves and nice-to-haves from what WhyViral read: stored numbers and posts, a creator check, then watched videos. not_shown means nothing read answers one; it is never a no.

GET /creators/search searches the creators WhyViral has profiled, not everyone on a platform. q is a sentence about what they post, up to 300 characters, matched by meaning; numbers, a platform and countries it states become filters, which understood reports back.

curl -G "https://whyviral.ai/api/v1/creators/search" \
  -H "Authorization: Bearer $WHYVIRAL_API_KEY" \
  --data-urlencode "q=home bakers who show their pricing, over 50k followers" \
  -d "sort=median_views"
FieldWhat it holds
object"creator".
descriptionWhat their posts show, in a sentence or two. Never who the person is.
tagsShort labels for what they post.
account_typecreator, group, brand or faceless.
languageThe language they post in, as an ISO 639-1 code.
numbers{followers, median_views, engagement_rate, engagement_per_view, engagement_per_follower, posts_per_week, posts_per_month, last_post_at, paid_share, sample_size, as_of}, worked out from the sample_size posts held at as_of.
promotedBrands their recent posts promoted.
posts[{url, posted_at, views, cover_url}]: a few of their recent posts.
findingsWhat their posts show about the project’s competitors.
readFalse for a creator in the project’s results whose posts WhyViral hasn’t read: the numbers are what a search gave.
followers_growth{d30, d90, d180}: growth of their followers over the days, as a fraction; null without a read that old.
languages[{code, from, posts}]: the languages their captions are written in or watched posts speak, as ISO 639-1 codes.
countries[{code, from, posts, text}]: countries the platform’s own field (profile), their bio or their captions show, and the words that do. Never guessed from a name, a face or a language.
why[{type, name, posts, mention}]: why they are in the project’s results, strongest first, type being brand, competitor, hashtag, campaign, topic or search. Empty outside them.
conflict{state, competitors, not_found, found, posts_read, videos_watched, from, to}: whether their posts name a competitor. state is clear, named, sponsored or not_checked; each of found is {competitor, kind, posts, last_at, places}, and kind says who likely paid: sponsored, likely_hidden, unclear, organic or own.
criteria[{requirement, level, verdict, reason, by, evidence}]: the project’s criteria as answered. verdict is met, not_met or not_shown; not_shown means nothing read answers it, never that it is unmet. by is numbers, quick, deep or null, and each piece of evidence is {kind, text, at, unit, post_url}.
open_criteriaCriteria nothing has answered yet: what a creator check adds.
savedTrue when the project already saved them.
scoreHow close they are to your sentence, 0 to 1; null without a sentence.

scope=results searches only the creators in the project’s results: the ones behind its mentions, its topic videos, its own searches and its campaigns. why says which of those put each one there. Pages follow next_offset.

sortOrder
matchClosest to the sentence first; the default.
followersMost followers first.
median_viewsHighest median views first.
engagement_rateHighest engagement rate first.
posts_per_monthMost posts a month first.
last_postMost recent post first.
follower_growthFastest follower growth over 90 days first.
mentionsMost mentions in the project’s results first.

Searches are limited per account, together with the searches made in the app; see Limits.

One creator

GET /creators/{id} returns one creator with what the project found in their posts. Each finding and flag carries its position (at, counted in unit) and the post’s link.

FieldWhat it holds
object"creator_report".
project{id, name}: the project the findings are for.
savedTrue when the project saved them.
profile{description, tags, account_type, language, numbers, read_at}: what their posts show, never who the person is. Null until WhyViral has profiled them.
posts_readTheir stored posts that were searched.
videos_watchedTheir posts WhyViral watched.
competitors{total, found, findings}: each finding is {competitor, where, quote, at, unit, post_url, posted_at, views}.
brands[{name, label, type, posts, last_at, competitor}]: brands their posts promoted. label is disclosed, likely_hidden, unclear or mention; competitor marks one of the project’s.
safety[{key, level, severity, posts, mild, strong, items}]: brand-safety flags of their watched posts and how many posts raise each mildly or strongly, each item {at, unit, evidence, post_url}.
post_topics[{key, posts, items}]: watched posts about politics and social issues or religion. They are facts about those posts, never said of the creator.
conflict{state, competitors, not_found, found, posts_read, videos_watched, from, to}: whether their posts name a competitor. state is clear, named, sponsored or not_checked; each of found is {competitor, kind, posts, last_at, places}, and kind says who likely paid: sponsored, likely_hidden, unclear, organic or own.
fit{depth, summary, criteria, watched_videos, watching}: every criterion of the project with its answer. summary is {must, nice}, each {total, met, not_met, not_shown}.
collaborations[{name, competitor, own_brand, posts, sponsored, likely_hidden, unclear, organic, first_at, last_at, post_list}]: every brand their read and watched posts name, newest first, with the posts behind it.
history{points, followers_growth, views_growth}: their numbers over time, oldest first, one point a week and then one a month.
paid{paid_posts, paid_median_views, other_posts, other_median_views}: posts with the platform’s paid label beside the rest.
languages[{code, from, posts}]: the languages their captions are written in or watched posts speak, as ISO 639-1 codes.
countries[{code, from, posts, text}]: countries the platform’s own field (profile), their bio or their captions show, and the words that do. Never guessed from a name, a face or a language.
other_accounts[{platform, handle, url}]: accounts their own bio or link names.
last_read_atWhen WhyViral last read their posts.
in_project{lists, vetted_at, campaigns, own_mentions, own_sponsored, own_last_at}: the project’s lists and campaigns they are in, and their mentions of its brand.
requirements{videos, pending, items}: the answers to the project’s own requirements, from the owner’s watch of their videos. Null without one.
posts[{url, kind, posted_at, views, likes, comments, shares, cover_url, watched, competitors}]: recent posts the account may see.

A fit verdict, a finding and a brand-safety flag are automated reads of public posts. They can be wrong, and none of them is a fact about the person.

Campaigns

A campaign is creators a project hired, whose public posts WhyViral reads once a day while it is active. GET /campaigns lists them, GET /campaigns/{id} adds each creator’s totals and the posts that raised an alert, and GET /campaigns/{id}/posts pages through the posts with next_cursor.

FieldWhat it holds
idThe campaign’s id.
object"campaign".
nameIts name.
statusactive or ended.
required_termsThe tags and handles a campaign post must carry.
flag_undisclosedWhether a campaign post without an ad disclosure raises an alert.
flag_competitorsWhether a post that names a competitor does.
start_atThe instant the campaign starts: midnight of start_day in its owner’s timezone. Posts since then are read.
start_dayThe start as the calendar day its owner picked, YYYY-MM-DD. Show this one: the UTC date of start_at can be the day before.
ended_atWhen it was ended, else null.
end_dayIts last day, YYYY-MM-DD in its owner’s timezone; it ends by itself after a last read. Null without one.
expected_postsCampaign posts each creator owes; null when none are expected.
creators_doneCreators with that many campaign posts; null when none are expected.
created_atWhen it was made.
creatorsCreators in the campaign.
creators_postedHow many of them have a campaign post.
postsCampaign posts found.
viewsTheir views at the last read.
all_postsEvery post the creators published since the start.
alertsPosts that raised an alert.
last_read_atWhen the creators’ posts were last read.
next_read_atWhen they are read next; null once it ended.
FieldWhat it holds
idThe post’s id in the campaign.
object"campaign_post".
urlThe post’s link.
kindvideo, slides or text.
textIts caption or text.
cover_urlA public cover image WhyViral hosts.
platformThe platform it is on.
posted_atWhen it was published.
viewsIts views at the last read.
likesIts likes.
campaignTrue for a campaign post: it meets the required terms or names the brand, or the owner added or moved it there.
names_brandWhether it names the project’s brand.
disclosure{how, text, at_sec}: the ad disclosure found, by label, hashtag, said or shown.
terms_metWhether every required term is present.
missing_termsThe required terms it lacks.
used_terms[{term, where}]: where each required term it carries was found; where is caption, shown or said.
movedThe owner’s own word on whether it is a campaign post; null while its terms decide.
addedTrue when its owner added it by its link.
competitor{name, where, quote, at, unit}: a competitor it names.
alertsundisclosed, missing_terms and competitor; see the table below.
watchedTrue when WhyViral watched it, not only read its text.
creatorThe creator’s fields.
alertsWhat raised it
undisclosedA campaign post with no ad disclosure, when the campaign flags that.
missing_termsA campaign post that lacks a required term; missing_terms lists them.
competitorA post since the start that names a competitor; competitor quotes it.

Reports

A report is a page frozen when it is made, with a link to send to someone else. Anyone who has the link can open it with no account, so share it with care. GET /reports lists a project’s reports and POST /reports makes one.

curl -X POST https://whyviral.ai/api/v1/reports \
  -H "Authorization: Bearer $WHYVIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind": "mentions", "days": 30, "prepared_by": "Northlight Social"}'
kindAlso sendWhat the page shows
mentionsdays (7 or 30); creator_check, one saved creator’s id, to add their checkThe brand’s mentions and ranking over the period.
creatorscreators: 1 to 10 saved creators’ idsThe creators side by side: numbers, what their posts show, findings and flags.
campaigncampaign: a campaign’s idThe campaign’s totals, creators and posts.
FieldWhat it holds
idThe report’s id.
object"report".
kindmentions, creators or campaign.
titleThe page’s title.
prepared_byThe name the page shows as “Prepared by”; empty for none.
urlThe page’s link. Anyone who has it can open it with no account; null once revoked or expired.
period_fromThe start of what the report covers.
period_toThe end of what it covers.
hiddenSections its owner hid on the page.
created_atWhen it was made.
revoked_atWhen its link was revoked, else null.
expires_atWhen its link stops opening; null while it has no end.

An account can create 100 reports a day through the API, whichever of its keys asks. Revoking or deleting a report happens in the app; a revoked one keeps its row and its url becomes null.

Type to search…

↑↓ navigate↵ selectEsc close