Google Trendsカテゴリ一覧
Google Trends APIのcatパラメータは、数値のカテゴリIDを受け付けます。結果の対象範囲を指定したいカテゴリのIDを調べるには、以下のリファレンスファイルを使用してください。
Categories
Section titled “Categories”Google Trendsカテゴリの全リストはJSONリファレンスファイルとして管理されています。各エントリにはカテゴリのidとその表示名nameが含まれます。例:
[ { "id": 0, "name": "All categories" }, { "id": 3, "name": "Arts & Entertainment" }, { "id": 5, "name": "Computers & Electronics" }, { "id": 7, "name": "Finance" }, { "id": 8, "name": "Games" }, { "id": 11, "name": "Business & Industrial" }, { "id": 12, "name": "Internet & Telecom" }, { "id": 13, "name": "People & Society" }, { "id": 14, "name": "News" }, { "id": 16, "name": "Sports" }, { "id": 18, "name": "Shopping" }, { "id": 19, "name": "Law & Government" }, { "id": 20, "name": "Online Communities" }]Example usage
Section titled “Example usage”https://serp.shifter.io/v1?engine=google_trends&api_key=YOUR_API_KEY&q=messi&cat=20