Skip to main content
GET
Get Search Console and analytics totals

Authorizations

Authorization
string
header
required

API key with dtk_live_ prefix. Obtain it from API Keys in the account sidebar. New keys start with all supported scopes selected for the chosen project, and you can narrow them to specific read/write scopes as needed.

Path Parameters

projectId
string<uuid>
required

Query Parameters

source
enum<string>
required

gsc for Search Console, analytics for the selected analytics provider, or ga4 for legacy GA4 totals.

Available options:
gsc,
ga4,
analytics
windowDays
enum<integer>
default:30

Fixed rolling window in days. Supported values are 30 and 90. Defaults to 30.

Available options:
30,
90
cursor
string

pagination.nextCursor from the previous page, unchanged. Keep the other parameters the same: a cursor sent with different filters, or beside a deprecated position parameter, returns 400.

Maximum string length: 1024
generation
string

Deprecated: cursor carries the generation. Required with analytics offsets after the first page; use pagination.generation.

Required string length: 1 - 128
limit
integer
default:25

Daily analytics rows per page; ignored for other sources.

Required range: 1 <= x <= 100
pageSize
integer
default:25

The same setting as limit. Send either; both with different values returns 400.

Required range: 1 <= x <= 100
offset
integer
default:0

Deprecated: Pass cursor instead. Daily analytics row offset; ignored for other sources.

Required range: x >= 0

Response

Search rollup totals and measurement coverage

data
object
required
meta
object
required

Sent beside data on every successful response that returns data.