Public API/Projects/Search analytics
GET/api/search-analytics

Search analytics

Read cached Google Search Console performance for a project (account API key).

Requires Search Console to be connected on the account and a property bound to the project in the dashboard. See Search Console.

Request

GET /api/search-analytics?days=28 Authorization: Bearer YOUR_ACCOUNT_API_KEY X-Blogizi-Project: your-project-slug
  • days7, 28 (default), or 90
  • refresh=1 — optional; triggers a sync if the cooldown allows

Response

{ "property": "https://your-project.app.blogizi.com/", "range": { "startDate": "2026-07-17", "endDate": "2026-08-13", "days": 28 }, "lastSyncedAt": "2026-08-14T10:00:00.000Z", "totals": { "clicks": 412, "impressions": 18920, "ctr": 0.0218, "position": 18.4 }, "queries": [{ "keys": ["example query"], "clicks": 40, "impressions": 900, "ctr": 0.044, "position": 8.1 }], "pages": [], "chart": [] }

Agent clients can also use the MCP tool get_search_performance.