Trendflow JS — API Reference - v0.2.0
    Preparing search index...

    Interface TrendingItem

    A single trending search entry.

    Both backends fill title and traffic; the rest depends on which one answered, since Google exposes different fields on each. See TrendingResult.source.

    interface TrendingItem {
        articles: TrendingArticle[];
        growth: number | null;
        startedAt: Date | null;
        title: string;
        traffic: string;
        volume: number | null;
    }
    Index
    articles: TrendingArticle[]

    News articles behind the trend. RSS backend only; empty from the RPC.

    growth: number | null

    Percentage increase over the window, e.g. 3950. RPC backend only.

    startedAt: Date | null

    When Google started reporting the trend. RSS backend only.

    title: string
    traffic: string

    Human-readable traffic: "+3,950%" from the RPC, "2000+" from RSS.

    volume: number | null

    Relative search volume, on Google's own 0-100 style scale. RPC backend only.