Google Trends for up to five keywords
https://seolyticize.com /api/v1/tools/get_google_trends Google Trends interest over time (0–100, relative to the busiest point) for up to five keywords compared, by region, and — for a single keyword — the related searches, top and rising. Web search by default, or news, YouTube, images or shopping. Supersedes get_keyword_trends, which reads the United States only. Answers 'is this topic growing', 'when does it peak' and 'which of these terms is bigger'. A paid lookup on the client's account unless anyone read the same thing this week (spend says which); quote it with estimate_cost. (about $0.01)
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequiredkeywordsstring[]requiredtimeRangestringtypestringworldwidebooleanlocationCodeintegerlanguageCodestringmaxCostMicrosintegerdryRunboolean{
"clientId": "string",
"keywords": [
"string"
],
"timeRange": "past_12_months",
"type": "web",
"worldwide": false,
"locationCode": null,
"languageCode": null,
"maxCostMicros": 0,
"dryRun": true
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/get_google_trends" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","keywords":["string"],"timeRange":"past_12_months","type":"web","worldwide":false,"locationCode":null,"languageCode":null,"maxCostMicros":0,"dryRun":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
data, and its meta.Example
{
"data": {},
"meta": {
"requestId": "string",
"costMicros": 0,
"cached": true,
"cachedFrom": "string",
"dataAsOf": "string",
"sources": [
"string"
],
"partial": true,
"next": [
{
"tool": "string",
"args": {},
"why": "string"
}
],
"nextCursor": "string",
"dryRun": true
}
}Schema
datarequiredmetaobjectrequiredShow child parameters
requestIdstringrequiredcostMicrosintegerrequiredcachedbooleanrequiredcachedFromstringdataAsOfstringsourcesstring[]partialbooleanrequirednextobject[]requiredShow child parameters
toolstringargsobjectwhystringnextCursorstringdryRunbooleanX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerX-Request-IdstringExample
{
"error": "string",
"code": "string",
"next": "string",
"requestId": "string"
}Schema
errorstringrequiredcodestringnextstringrequestIdstringX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_google_trends
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/get_google_trends
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_google_trends
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_google_trends
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_google_trends
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_google_trends
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/get_google_trends
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger