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

    Type Alias Timeframe

    Timeframe: typeof Timeframe[keyof typeof Timeframe]

    Time ranges accepted by Google Trends.

    Named values for the presets. A custom range is a plain string of two ISO dates, "2023-01-01 2023-06-30", and every query method accepts one in place of a member.

    The range also decides the granularity Google returns: the hourly ranges come back in minutes, the daily ones hourly, and ALL_TIME monthly. Ask for five years and you cannot see a spike that lasted an afternoon.