Search traffic by section
https://seolyticize.com /api/v1/tools/get_content_groups Google search clicks, impressions and position rolled up by section of the site, two periods compared. Answers 'how is the blog doing against the guides' and 'which template is losing traffic'. groups are matched in order against each page's path, first match wins (* matches anything, so '/blog/*'); without groups, pages are grouped by their first path segment. searchType reads image, video, news, Discover or Google News instead of web. Free.
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequireddaysintegercomparestringsearchTypestringgroupsobject[]Show child parameters
namestringrequiredpatternstringrequiredcountrystringdevicestring{
"clientId": "string",
"days": 28,
"compare": "previous",
"searchType": "web",
"groups": null,
"country": null,
"device": null
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/get_content_groups" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","days":28,"compare":"previous","searchType":"web","groups":null,"country":null,"device":null}'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_content_groups
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/get_content_groups
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_content_groups
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_content_groups
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_content_groups
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_content_groups
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/get_content_groups
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger