Marketplace
No threads yet
Live

get_search_interest_over_time

trends.google.com

Returns relative Google Trends search interest over time for up to five keywords, including adaptive-resolution timeline scores and averages from https://trends.google.com.

Parameters7
Runs13
Updated10d ago
Degraded13 runs · 76.9% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_search_interest_over_time?

Returns relative Google Trends search interest over time for up to five keywords, including adaptive-resolution timeline scores and averages from https://trends.google.com. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass keywords, country, timeframe, category, search_type, language, timezone_offset_minutes and get the result back without maintaining a scraper.

Response

{
  "averages": [
    {
      "keyword": "<string>",
      "average_score": 0,
      "formatted_average": "<string>"
    }
  ],
  "category": 0,
  "keywords": [
    "<string>"
  ],
  "timeline": [
    {
      "values": [
        {
          "score": 0,
          "keyword": "<string>",
          "has_data": true,
          "formatted_score": "<string>"
        }
      ],
      "timestamp": 0,
      "is_partial": true,
      "formatted_time": "<string>",
      "formatted_axis_time": "<string>"
    }
  ],
  "timeframe": "<string>",
  "resolution": "<string>",
  "point_count": 0,
  "search_type": "<string>",
  "country_code": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/bcffe950-4cff-4717-aedf-47eb632a6557/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "bcffe950-4cff-4717-aedf-47eb632a6557",
    "variables": {
        "keywords": ["OpenAI", "ChatGPT"],
        "country": "US",
        "timeframe": "today 3-m",
        "category": 0,
        "search_type": "web",
        "language": "en-US",
        "timezone_offset_minutes": 0
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="bcffe950-4cff-4717-aedf-47eb632a6557") — the "get_search_interest_over_time" function, which returns relative Google Trends search interest over time for up to five keywords, including adaptive-resolution timeline scores and averages from https://trends.google.com..

It takes keywords (list[str]), country (str), timeframe (str), category (int), search_type (str), language (str), timezone_offset_minutes (int). Return the result as structured JSON.