DataForSEO Google Trends

https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_trends/explore/live

Get Google Trends interest over time for up to 5 keywords by location, language and time range, with weekly values on a 0–100 scale.

Price
$0.002USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
0 required · 0 optional
Production route

Try the model

Playground

Open playground
Input
No input schema available
OutputExample
Responseoutputs · 715 B · 34 lines
[
  {
    "cost": 0,
    "status_code": 20000,
    "status_message": "Ok.",
    "tasks": [
      {
        "cost": 0,
        "data": {
          "api": "keywords_data",
          "function": "explore",
          "se": "google_trends"
        },
        "id": "08200931-2190-0173-0000-a76c72bf7e00",
        "path": [
          "v3",
          "keywords_data",
          "google_trends",
          "explore",
          "live"
        ],
        "result": null,
        "result_count": 0,
        "status_code": 40503,
        "status_message": "POST Data Is Invalid.",
        "time": "0 sec."
      }
    ],
    "tasks_count": 1,
    "tasks_error": 1,
    "time": "0.0089 sec.",
    "version": "0.1.20260806"
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.002 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

Parameters
None

Access

Provider
DataForSEO
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/dataforseo/v3/keywords_data/google_trends/explore/live
Authentication
Bearer API key

API README

Google Trends API

Send up to five keywords and get Google Trends interest-over-time data, the same 0–100 index shown on trends.google.com, for any location and time range.

Use cases

  • Compare interest in brands, products or topics.
  • Detect seasonality and emerging trends.
  • Add trend data to SEO and content planning.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_trends/explore/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["running shoes"], "location_code": 2840, "language_code": "en"}'

Parameters

The body is passed through to DataForSEO. Common fields:

NameTypeDescription
keywordsarrayUp to 5 keywords to compare.
location_codeintegerDataForSEO location code, e.g. 2840 for the United States.
language_codestringLanguage code, e.g. "en".
time_rangestringPreset range, e.g. past_hour, past_day, past_7_days, past_30_days, past_90_days, past_12_months, past_5_years.

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "status_code": 20000,
  "tasks": [
    {
      "status_message": "Ok.",
      "result": [
        {
          "keywords": [
            "openai"
          ],
          "location_code": 2840,
          "language_code": "en",
          "datetime": "2026-10-06 09:02:28 +00:00",
          "items": [
            {
              "type": "google_trends_graph",
              "keywords": [
                "openai"
              ],
              "data": [
                {
                  "date_from": "2025-10-05",
                  "date_to": "2025-10-11",
                  "missing_data": false,
                  "timestamp": 1759622400,
                  "values": [
                    19
                  ]
                },
                {
                  "date_from": "2025-10-12",
                  "date_to": "2025-10-18",
                  "missing_data": false,
                  "timestamp": 1760227200,
                  "values": [
                    12
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Notes

  • Use date_from / date_to instead of time_range for a custom window.

Pricing

Flat price per call. Failed calls are not charged.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_trends/explore/live
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_trends/explore/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
DataForSEO$0.002 per callJSONJan 1, 2024
DataForSEO$0.004 per callJSONJan 1, 2024
DataForSEO$0.004 per callJSONJan 1, 2024
DataForSEO$0.004 per callJSONJan 1, 2024
DataForSEO$0.004 per callJSONJan 1, 2024
DataForSEO$0.002 per callJSONJan 1, 2024

Questions

FAQ

How do I use the DataForSEO Google Trends API?

Send a POST request to https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_trends/explore/live with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the DataForSEO Google Trends API cost?

$0.002 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the DataForSEO Google Trends API accept?

DataForSEO Google Trends takes no input parameters; send an empty JSON body.

What does the DataForSEO Google Trends API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a DataForSEO developer account or API key?

No. DataForSEO Google Trends runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for DataForSEO API access separately.