Google Trends
engine=google_trends
Google Trends の結果を構造化 JSON で返します。すべてのエンジンが応答するのと同じエンドポイントからです。
JSON
リクエストを実行しています…
まだ何も実行されていません。リクエストを送信すると記録済みレスポンスが表示されます。
「実行」はディスクから返す記録に応答します。実際に API を呼ぶには、下の「ライブ実行」に自分のキーを貼り付けてください。
エージェントから使う
カタログのすべてのエンジンは、すでに開いているエージェントから利用できます。一度接続すれば、あとは言葉で尋ねるだけです。
接続する
claude mcp add searchapi "<YOUR_MCP_URL>" --transport http
https://www.searchapi.io/integrations/mcp で MCP URL を作成し、プレースホルダーに上書きしてください。接続フローは OAuth なので、API キーがクライアントの設定に入ることはありません。
尋ねる
SearchApi の Google Trends エンジンでこの検索を実行し、結果を要約してください: q = "coffee"
上のリクエストに追随します — パラメータを変えれば、これも一緒に変わります。
SearchApi の MCP サーバーは 2026-08-11 に確認しました。Streamable HTTP によるリモート、80 以上のツール、OAuth 接続です。そのツール一覧がどのエンジンを含むかは、ここでは検証していません。
パラメータ
8 個のパラメータを、レンダリング時にカタログから読み出しています。
| パラメータ | 型 | 説明 |
|---|---|---|
| q必須 | string |
Query or up to 5 comma-separated queries to compare. |
| data_type | enum |
Kind of trends data: interest over time, interest by region, related topics/queries.
|
| time | string |
Time range, e.g. now 1-H, now 7-d, today 12-m, all, or custom '2024-01-01 2024-12-31'. 既定値: today 12-m |
| geo | string |
Location of interest, e.g. US or US-NY; worldwide when empty. |
| region | enum |
Resolution of GEO_MAP data.
|
| cat | string |
Category filter; values listed at docs/parameters/google-trends/categories. |
| gprop | enum |
Google property to filter by (web search when empty).
|
| hl | enum |
Interface language of the search (two-letter language code).
|
どのリクエストにも含まれるもの
カタログのすべてのエンジンに共通するパラメータが 3 つあります。呼び出すエンジン、呼び出しを認証するキー、そしてエンタープライズ向けの保持設定です。
| パラメータ | 型 | 説明 |
|---|---|---|
| engine必須 | string |
Engine that retrieves the data; fixed per API (see Apis::BY_ENGINE keys). |
| api_key必須 | string |
SearchApi.io API key; alternatively send 'Authorization: Bearer <key>'. |
| zero_retention | boolean |
Enterprise-only: disables all logging and persistent storage of the search. 既定値: false |