Skip to content

API Search Console

Power SEO Bot edited this page Feb 27, 2026 · 1 revision

@power-seo/search-console API

Google Search Console Client

Query search analytics:

import { createGSCClient, querySearchAnalytics } from '@power-seo/search-console';

const client = createGSCClient({ siteUrl: 'https://example.com' });

const rows = await querySearchAnalytics(client, {
  startDate: '2026-01-01',
  endDate: '2026-01-31',
  dimensions: ['query', 'page'],
});

OAuth2 and service account support.

Clone this wiki locally