Bring Google data
Your clients never see a Google sign-in with our name on it. Upload what Google gives you, or send the rows.
Search Console
Performance → pick the date range (3 months is a good default) → Export → Download CSV. Upload the .zip as it is; it holds Pages, Queries, Countries, Devices and Dates.
curl https://amarkos.com/api/v1/google-data \ -H "Authorization: Bearer $AMARKOS_KEY" \ -F site=acme-tools.com -F source=gsc \ -F file=@Performance-on-Search-2026-11-10.zip
Google Analytics 4
Reports → Engagement → Landing page (add the Session default channel group as a second dimension to separate organic visits) → Share → Download CSV.
curl https://amarkos.com/api/v1/google-data \ -H "Authorization: Bearer $AMARKOS_KEY" \ -F site=acme-tools.com -F source=ga4 -F file=@landing-pages.csv
Rows instead of a file
Already reading Google from your own integration? Send JSON. Search Console rows with both page and query are page × search pairs, the richest form: they give link targets their real searches.
{
"site": "acme-tools.com",
"source": "gsc",
"date_from": "2026-08-12",
"date_to": "2026-11-09",
"rows": [
{
"page": "https://acme-tools.com/drills",
"query": "cordless drill uk",
"clicks": 41,
"impressions": 2210,
"ctr": 0.0186,
"position": 9.4
}
]
}What uses it
- Audits: the pages that earn search clicks are read first, and issues are ordered by the clicks at stake.
- Link building: pages ranking just off page one (positions 8–20) become link targets; their searches suggest anchors.
A newer upload of the same source and range replaces the older one. See POST /v1/google-data.