Skip to content
Navigation

Search creators

GET
https://whyviral.ai/api/v1/creators/search

Searches the creators WhyViral has profiled: by a sentence about what they post, matched by meaning, and by filters. Each comes with what their posts show about the project’s competitors. Free, and limited like searches in the app.

Authorization

  • bearer
    optional
    HTTP Bearer

    Authorization: Bearer <token>

  • apiKeyHeader
    optional
    API key in header

    x-api-key: <token>

Query parameters

  • project
    optional
    string

    A project’s id or exact name; case is ignored. Leave it out for the project active in the app.

  • q
    optional
    string

    What the creators post, as a sentence. Numbers, a platform and countries it states become filters. Leave it out to search by filters alone.

    maxLength: 300
  • platform
    optional
    tiktok
    or
    instagram
    or
    youtube
    or
    x

    Only this platform.

  • sort
    optional
    string
    ·
    one of 8 values

    The order of the answer.

    Allowed values: match, followers, median_views, engagement_rate, posts_per_month, last_post, follower_growth, mentions
    default: "match"
  • limit
    optional
    integer

    How many rows, 1 to 50.

    maximum: 50 · minimum: 1 · default: 20
  • min_followers
    optional
    number

    At least this many followers.

    minimum: 0
  • max_followers
    optional
    number

    At most this many followers.

    minimum: 0
  • min_median_views
    optional
    number

    At least this many median views.

    minimum: 0
  • max_median_views
    optional
    number

    At most this many median views.

    minimum: 0
  • min_engagement_rate
    optional
    number

    At least this engagement rate, as a fraction: 0.03 is 3%.

    minimum: 0
  • min_posts_per_month
    optional
    number

    At least this many posts a month.

    minimum: 0
  • last_post_days
    optional
    number

    Posted within this many days.

    minimum: 0
  • countries
    optional
    string

    ISO 3166-1 alpha-2 country codes, separated by commas.

  • account_types
    optional
    string

    Account types (creator, group, brand, faceless), separated by commas.

  • paid_posts
    optional
    some
    or
    none

    Creators whose recent posts include paid ones, or none.

  • not_promoted_competitors
    optional
    boolean

    true leaves out creators whose posts name one of the project’s competitors.

  • saved
    optional
    hide
    or
    only

    Hide the project’s saved creators, or keep only them.

  • scope
    optional
    results
    or
    everyone

    results searches only the creators in the project’s results.

    default: "everyone"
  • offset
    optional
    integer

    Rows to skip: the last answer’s next_offset.

    minimum: 0 · default: 0
  • languages
    optional
    string

    ISO 639-1 codes of languages their captions or speech show, separated by commas.

  • named_brand
    optional
    any
    or
    organic
    or
    sponsored
    or
    heard

    Creators with a mention of the project’s brand: any, organic, sponsored, or said or shown in a watched post.

  • named_competitor
    optional
    boolean

    true keeps creators whose posts in the results name a competitor.

  • no_competitor_months
    optional
    number

    Leaves out creators whose posts in the results named a competitor in this many months.

    minimum: 0
  • min_follower_growth
    optional
    number

    At least this follower growth over growth_days, as a fraction: 0.1 is 10%.

    minimum: 0
  • growth_days
    optional
    30
    or
    90
    or
    180

    The days min_follower_growth is measured over.

    default: 90
  • main_kinds
    optional
    string

    What they post most (video, slides, text), separated by commas.

  • has_checks
    optional
    boolean

    true keeps creators with a post WhyViral watched.

  • read_within_days
    optional
    number

    Their posts were read within this many days.

    minimum: 0

Returns

200

The creators found.

JSON
  • object
    string
    required

    "creator_search".

  • project
    object
    required
    • id
      string
      required

      The project’s id.

    • name
      string
      required

      Its name.

  • understood
    object
    required

    {text, platform, filters, stated}: the part of q matched by meaning, and the numbers, platform and countries it stated, which became filters.

    • text
      string
      required

      What was matched by meaning.

    • platform
      required

      Any of the following:

      • string
        tiktok
        or
        instagram
        or
        youtube
        or
        x
      • null
    • filters
      object
      required
      • followers
        required

        Any of the following:

        • object
          • min
            number
            required
          • max
            number
            required
        • null
      • median_views
        required

        Any of the following:

        • object
          • min
            number
            required
          • max
            number
            required
        • null
      • engagement_rate
        required

        Any of the following:

        • number
        • null
      • posts_per_month
        required

        Any of the following:

        • number
        • null
      • last_post_days
        required

        Any of the following:

        • number
        • null
      • countries
        required

        Any of the following:

        • array<string>
        • null
      • account_types
        required

        Any of the following:

        • array<string>
        • null
      • paid_posts
        required

        Any of the following:

        • string
          some
          or
          none
        • null
      • not_promoted_competitors
        boolean
        required
      • saved
        required

        Any of the following:

        • string
          hide
          or
          only
        • null
      • languages
        required

        Any of the following:

        • array<string>
        • null
      • named_brand
        required

        Any of the following:

        • string
          any
          or
          organic
          or
          sponsored
          or
          heard
        • null
      • named_competitor
        boolean
        required
      • no_competitor_months
        required

        Any of the following:

        • number
        • null
      • follower_growth
        required

        Any of the following:

        • object
          • days
            30
            or
            90
            or
            180
            required
          • min
            number
            required
        • null
      • main_kinds
        required

        Any of the following:

        • array<string>
        • null
      • has_checks
        boolean
        required
      • read_within_days
        required

        Any of the following:

        • number
        • null
    • stated
      array of
      object
      required
      • kind
        string
        required

        The filter the words became, such as followers.

      • words
        string
        required

        The words of q it was read from.

  • platform
    tiktok
    or
    instagram
    or
    youtube
    or
    x
    or
    any
    required

    The platform searched, or any.

  • filters
    object
    required
    • followers
      required

      Any of the following:

      • object
        • min
          number
          required
        • max
          number
          required
      • null
    • median_views
      required

      Any of the following:

      • object
        • min
          number
          required
        • max
          number
          required
      • null
    • engagement_rate
      required

      Any of the following:

      • number
      • null
    • posts_per_month
      required

      Any of the following:

      • number
      • null
    • last_post_days
      required

      Any of the following:

      • number
      • null
    • countries
      required

      Any of the following:

      • array<string>
      • null
    • account_types
      required

      Any of the following:

      • array<string>
      • null
    • paid_posts
      required

      Any of the following:

      • string
        some
        or
        none
      • null
    • not_promoted_competitors
      boolean
      required
    • saved
      required

      Any of the following:

      • string
        hide
        or
        only
      • null
    • languages
      required

      Any of the following:

      • array<string>
      • null
    • named_brand
      required

      Any of the following:

      • string
        any
        or
        organic
        or
        sponsored
        or
        heard
      • null
    • named_competitor
      boolean
      required
    • no_competitor_months
      required

      Any of the following:

      • number
      • null
    • follower_growth
      required

      Any of the following:

      • object
        • days
          30
          or
          90
          or
          180
          required
        • min
          number
          required
      • null
    • main_kinds
      required

      Any of the following:

      • array<string>
      • null
    • has_checks
      boolean
      required
    • read_within_days
      required

      Any of the following:

      • number
      • null
  • scope
    results
    or
    everyone
    required

    results for the creators in the project’s results alone, else everyone.

  • in_results
    integer
    required

    Creators in the project’s results, whatever the filters.

    minimum: 0
  • total
    integer
    required

    Creators that passed, before limit.

    minimum: 0
  • next_offset
    required

    The offset of the next page; null on the last.

    Any of the following:

    • integer
    • null
  • data
    array of
    object
    required

    The creators, in the order sort asked for.

    • id
      string
      required

      The creator’s id, which /creators/{id} and a report take.

    • object
      string
      required

      "creator".

    • platform
      tiktok
      or
      instagram
      or
      youtube
      or
      x
      required

      The platform the account is on.

    • handle
      string
      required

      Their handle, without @.

    • name
      required

      Their display name.

      Any of the following:

      • string
      • null
    • profile_url
      string
      required

      Their profile on the platform.

      format: uri
    • avatar_url
      required

      A public avatar image WhyViral hosts.

      Any of the following:

      • string
      • null
    • country
      required

      The country their profile states, as written.

      Any of the following:

      • string
      • null
    • country_code
      required

      That country as an ISO 3166-1 alpha-2 code, when WhyViral recognizes it.

      Any of the following:

      • string
      • null
    • description
      string
      required

      What their posts show, in a sentence or two. Never who the person is.

    • tags
      array of
      string
      required

      Short labels for what they post.

    • account_type
      required

      creator, group, brand or faceless.

      Any of the following:

      • string
        creator
        or
        group
        or
        brand
        or
        faceless
      • null
    • language
      required

      The language they post in, as an ISO 639-1 code.

      Any of the following:

      • string
      • null
    • numbers
      object
      required
      • followers
        required

        Any of the following:

        • integer
        • null
      • median_views
        required

        Any of the following:

        • number
        • null
      • engagement_rate
        required

        Any of the following:

        • number
          A fraction: 0.03 is 3%.
        • null
      • engagement_per_view
        required

        Any of the following:

        • number
          Likes, comments, shares and saves over views, a fraction.
        • null
      • engagement_per_follower
        required

        Any of the following:

        • number
          Likes and comments over followers, a fraction.
        • null
      • posts_per_week
        required

        Any of the following:

        • number
        • null
      • posts_per_month
        required

        Any of the following:

        • number
        • null
      • last_post_at
        required

        Any of the following:

        • string
        • null
      • paid_share
        required

        Any of the following:

        • number
          Posts with a paid label, 0 to 1.
        • null
      • sample_size
        integer
        required
        minimum: 0
      • as_of
        required

        Any of the following:

        • string
        • null
    • promoted
      array of
      string
      required

      Brands their recent posts promoted.

    • posts
      array of
      object
      required

      [{url, posted_at, views, cover_url}]: a few of their recent posts.

      • url
        string
        required
        format: uri
      • posted_at
        required

        Any of the following:

        • string
        • null
      • views
        required

        Any of the following:

        • integer
        • null
      • cover_url
        required

        Any of the following:

        • string
        • null
    • findings
      object
      required
      • state
        found
        or
        clear
        or
        not_checked
        required

        found, clear, or not_checked when nothing of theirs was read or the project lists no competitor.

      • competitors
        integer
        required

        Competitors the project lists.

        minimum: 0
      • found
        integer
        required

        How many of them appear in what was read.

        minimum: 0
      • posts_read
        integer
        required

        Their stored posts that were searched.

        minimum: 0
      • videos_watched
        integer
        required

        Their posts WhyViral watched.

        minimum: 0
      • finding
        required

        The newest finding: {competitor, where, quote, at, unit, post_url, posted_at, views}.

        Any of the following:

        • object
          • competitor
            string
            required

            The competitor’s name.

          • where
            said
            or
            shown
            or
            written
            required
          • quote
            string
            required

            The post’s own words, verbatim.

          • at
            required

            Any of the following:

            • number
              Its position, counted in `unit`; null when written.
            • null
          • unit
            second
            or
            slide
            or
            line
            required
          • post_url
            string
            required
            format: uri
          • posted_at
            required

            Any of the following:

            • string
            • null
          • views
            required

            Any of the following:

            • integer
            • null
        • null
      • flag
        required

        The strongest brand-safety flag of their watched posts: {key, level, severity, at, unit, evidence}.

        Any of the following:

        • object
          • key
            string
            required

            The brand-safety category, such as profanity.

          • level
            string
            required

            How strong it is, by the category’s own scale.

          • severity
            mild
            or
            strong
            required
          • at
            required

            Any of the following:

            • number
            • null
          • unit
            second
            or
            slide
            or
            line
            required
          • evidence
            required

            Any of the following:

            • string
              What is seen or heard.
            • null
        • null
    • read
      boolean
      required

      False for a creator in the project’s results whose posts WhyViral hasn’t read: the numbers are what a search gave.

    • followers_growth
      object
      required

      {d30, d90, d180}: growth of their followers over the days, as a fraction; null without a read that old.

      • d30
        required

        Any of the following:

        • number
        • null
      • d90
        required

        Any of the following:

        • number
        • null
      • d180
        required

        Any of the following:

        • number
        • null
    • languages
      array of
      object
      required

      [{code, from, posts}]: the languages their captions are written in or watched posts speak, as ISO 639-1 codes.

      • code
        string
        required

        ISO 639-1.

      • from
        captions
        or
        speech
        required
      • posts
        integer
        required

        Watched posts that speak it; 0 for captions.

        minimum: 0
    • countries
      array of
      object
      required

      [{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.

      • code
        string
        required

        ISO 3166-1 alpha-2.

      • from
        profile
        or
        bio
        or
        captions
        required
      • posts
        integer
        required

        Captions that show it; 0 for the profile and the bio.

        minimum: 0
      • text
        string
        required

        The word or price that shows it.

    • why
      array of
      object
      required

      [{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.

      • type
        brand
        or
        competitor
        or
        hashtag
        or
        campaign
        or
        topic
        or
        search
        required
      • name
        string
        required

        The tracker’s name, or the topics’.

      • posts
        integer
        required
        minimum: 0
      • mention
        required

        Any of the following:

        • object
          • where
            said
            or
            shown
            or
            written
            required
          • quote
            string
            required

            The post’s own words, verbatim.

          • at_sec
            required

            Any of the following:

            • number
            • null
          • post_url
            string
            required
            format: uri
          • posted_at
            required

            Any of the following:

            • string
            • null
          • views
            required

            Any of the following:

            • integer
            • null
        • null
    • conflict
      object
      required
      • state
        clear
        or
        named
        or
        sponsored
        or
        not_checked
        required
      • competitors
        integer
        required

        Competitors the project lists.

        minimum: 0
      • not_found
        array of
        string
        required
      • found
        array of
        object
        required
        • competitor
          string
          required
        • kind
          sponsored
          or
          likely_hidden
          or
          unclear
          or
          organic
          or
          own
          required
        • posts
          integer
          required
          minimum: 0
        • last_at
          required

          Any of the following:

          • string
          • null
        • places
          array of
          object
          required
          • where
            said
            or
            shown
            or
            written
            required
          • quote
            string
            required

            The post’s own words, verbatim.

          • at
            required

            Any of the following:

            • number
            • null
          • unit
            second
            or
            slide
            or
            line
            required
          • kind
            sponsored
            or
            likely_hidden
            or
            unclear
            or
            organic
            or
            own
            required
          • post_url
            string
            required
            format: uri
          • posted_at
            required

            Any of the following:

            • string
            • null
      • posts_read
        integer
        required
        minimum: 0
      • videos_watched
        integer
        required
        minimum: 0
      • from
        required

        Any of the following:

        • string
        • null
      • to
        required

        Any of the following:

        • string
        • null
    • criteria
      array of
      object
      required

      [{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}.

      • requirement
        string
        required

        The criterion, in words.

      • level
        must
        or
        nice
        required
      • verdict
        met
        or
        not_met
        or
        not_shown
        required
      • reason
        string
        required

        Why, in what the profile and posts show.

      • by
        required

        Any of the following:

        • string
          numbers
          or
          quick
          or
          deep
        • null
      • evidence
        array of
        object
        required
        • kind
          numbers
          or
          profile
          or
          captions
          or
          watched
          required
        • text
          string
          required
        • at
          required

          Any of the following:

          • number
          • null
        • unit
          second
          or
          slide
          or
          line
          required
        • post_url
          required

          Any of the following:

          • string
          • null
    • open_criteria
      integer
      required

      Criteria nothing has answered yet: what a creator check adds.

      minimum: 0
    • saved
      boolean
      required

      True when the project already saved them.

    • score
      required

      How close they are to your sentence, 0 to 1; null without a sentence.

      Any of the following:

      • number
      • null

400

INVALID_REQUEST: The body isn’t JSON, its url is missing or too long, or a parameter has a value it doesn’t take. AMBIGUOUS_PROJECT: Several of your projects share the name you sent; pass the project’s id.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

401

INVALID_API_KEY: The key is missing, mistyped or revoked.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

403

ACCOUNT_DISABLED: The key’s account is disabled.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

404

NOT_FOUND: No read, project, creator, campaign or report like this on your account.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

429

RATE_LIMITED: Too many new reads, data requests, searches or report links; wait the Retry-After header’s seconds.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

500

INTERNAL: Something broke on our side; try again.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

503

SEARCH_UNAVAILABLE: A search by sentence can’t run right now; try again, or search by filters alone.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

Type to search…

↑↓ navigate↵ selectEsc close