POST
/
google
/
trends
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v2/google/trends \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "timeRange": "today 12-m",
  "region": "US",
  "keywords": [
    "shoe",
    "hat"
  ],
  "language": "en-US"
}'
{
  "code": 0,
  "message": "ok",
  "data": {
    "json": {
      "keywordsGeoData": [
        {
          "keyword": "hat",
          "geoMapData": [
            {
              "geoCode": "US-WY",
              "geoName": "Wyoming",
              "value": [
                100
              ],
              "formattedValue": [
                "100"
              ],
              "maxValueIndex": 0,
              "hasData": [
                true
              ]
            }
          ]
        },
        {
          "keyword": "shoe",
          "geoMapData": [
            {
              "geoCode": "US-MS",
              "geoName": "Mississippi",
              "value": [
                100
              ],
              "formattedValue": [
                "100"
              ],
              "maxValueIndex": 0,
              "hasData": [
                true
              ]
            }
          ]
        }
      ],
      "keywordsRankData": [
        {
          "keyword": "hat",
          "rankList": [
            {
              "rankedKeyword": [
                {
                  "query": "the hat",
                  "value": 100,
                  "formattedValue": "100",
                  "hasData": true,
                  "link": "/trends/explore?q=the+hat&date=today+12-m&geo=US"
                }
              ]
            },
            {
              "rankedKeyword": [
                {
                  "query": "shop disco cowboy hat",
                  "value": 59700,
                  "formattedValue": "Breakout",
                  "link": "/trends/explore?q=shop+disco+cowboy+hat&date=today+12-m&geo=US"
                }
              ]
            }
          ]
        },
        {
          "keyword": "shoe",
          "rankList": [
            {
              "rankedKeyword": [
                {
                  "query": "shoes",
                  "value": 100,
                  "formattedValue": "100",
                  "hasData": true,
                  "link": "/trends/explore?q=shoes&date=today+12-m&geo=US"
                }
              ]
            },
            {
              "rankedKeyword": [
                {
                  "query": "shop shoe organizer",
                  "value": 1850,
                  "formattedValue": "+1,850%",
                  "link": "/trends/explore?q=shop+shoe+organizer&date=today+12-m&geo=US"
                }
              ]
            }
          ]
        }
      ],
      "timelineData": [
        {
          "time": "1742083200",
          "formattedTime": "Mar 16 – 22, 2025",
          "formattedAxisTime": "Mar 16, 2025",
          "value": [
            48,
            66
          ],
          "hasData": [
            true,
            true
          ],
          "formattedValue": [
            "48",
            "66"
          ]
        }
      ],
      "geoMapData": [
        {
          "geoCode": "US-MS",
          "geoName": "Mississippi",
          "value": [
            49,
            51
          ],
          "formattedValue": [
            "49%",
            "51%"
          ],
          "maxValueIndex": 1,
          "hasData": [
            true,
            true
          ]
        }
      ]
    },
    "url": "https://trends.google.com/trends/explore?date=today%2012-m&geo=US&q=shoe,hat&hl=en-US",
    "taskId": "1773644331294-8d7c9e4d01689642"
  }
}

积点消耗说明

1.5个/次

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json

用于接口任务提交的信息

The body is of type object.

Response

200 - application/json

成功返回示例

The response is of type object.