Install
openclaw skills install dataify-google-trendsWhen the user requests "Call Google Trends" or "Trend Search/Google Trends", or explicitly mentions the trend search field, the dataify-google-trends skill is triggered.
openclaw skills install dataify-google-trendsUse this skill to turn a user's Google Trends request into a Dataify Scraper API form submission.
Before every real API call, follow this confirmation flow. These rules override any older workflow order in this skill.
engine value.pizza, us, en, dates, airport codes, or tokens as defaults.Authorization. Include the complete body field list from this skill's reference document, including engine, even when a field is currently blank.参数名, 当前值, 默认值, 说明.DATAIFY_API_TOKEN.python3 and return the API response body directly without summarizing, extracting, cleaning, translating, or reshaping it.Use the bundled preview helper whenever possible to generate the confirmation table from this skill's reference document:
python3 scripts/preview_params.py --q "USER_QUERY"
Pass every parsed current value to preview_params.py using matching --field value arguments. The helper reads defaults and descriptions from references/*api.md; if the helper cannot parse a default, leave the default blank rather than inventing one.
q as the query and set engine to google_trends.DATAIFY_API_TOKEN.q to pizza; ask the user for a query if it cannot be inferred.参数名, 当前值, 默认值, 说明. Do not include Authorization in the parameter table.python3. Run it from this skill directory, or use the absolute path to scripts/google_trends.py.python3 scripts/google_trends.py --q "AI" --json 1
If the user provided a token in the conversation instead of an environment variable, pass it with --token and avoid echoing it back in the final answer:
python3 scripts/google_trends.py --token "USER_TOKEN" --q "AI" --geo "United+States" --hl en --data_type TIMESERIES --no_cache true
For many fields, pass one JSON object with shell-appropriate quoting. The script still submits form data to the API:
python3 scripts/google_trends.py --params-json '{"q":"AI","json":"1","hl":"en","geo":"United+States","data_type":"TIMESERIES"}'
To generate the required pre-call parameter table from the normalized request without calling the API:
python3 scripts/google_trends.py --request "search Google Trends for AI in the United States, English, timeseries" --preview-table
Return the final script output directly to the user. Do not summarize, extract, clean, translate, or reshape the API response.
Use references/google_trends_api.md when you need the exact field list, defaults, values, or parameter descriptions.
Core rules:
Content-Type: application/x-www-form-urlencoded.engine to google_trends.q cannot be inferred.Bearer is accepted and prefixed automatically.Common mappings:
json: "1"json: "2"json: "3"json: "4"no_cache: "true"no_cache: "false"hlgeoregiondata_type: "TIMESERIES"data_type: "GEO_MAP"data_type: "GEO_MAP_0"data_type: "RELATED_TOPICS"data_type: "RELATED_QUERIES"tzcatgprop: "images"gprop: "news"gprop: "froogle"gprop: "youtube"datecsv: "true"include_low_search_volume: "true"