Search performance totals, series, top pages and top keywords for a range.
Read this before writing any advice: it holds the real clicks, impressions and positions. range is 7d, 28d, 3m, 6m, 12m, all or custom with from/to.
GET
https://app.softsolz.uk/api/v1/services/seo/sites/{site_id}/analyticsRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
site_idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Query Params
rangestring7d, 28d, 3m, 6m, 12m, all or custom.
fromstringStart date (YYYY-MM-DD) when range=custom.
tostringEnd date (YYYY-MM-DD) when range=custom.
Response
Response Body
siteobjectA tracked website.analyticsobjectrange, totals, series, top_pages, top_keywords, coverage and query visibility.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.seo.getSiteAnalytics('<site_id>', {});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": { "site": {}, "analytics": {} }}