---
description: Seo Gsc command
---

# SEO Search Console

Google Search Console data retrieval and analysis.

## Triggers
- "get GSC data", "Search Console report", "search performance"

## Capabilities

1. **Search Performance** - Clicks, impressions, CTR, position
2. **Query Analysis** - Top queries, trending keywords
3. **Page Performance** - Best/worst performing pages
4. **Index Coverage** - Indexed pages, errors, warnings

## Scripts

```bash
# Get search performance
python ourdigital-custom-skills/16-seo-search-console/code/scripts/gsc_client.py \
  --site https://example.com --days 28

# Query analysis
python ourdigital-custom-skills/16-seo-search-console/code/scripts/gsc_client.py \
  --site https://example.com --report queries --limit 100

# Page performance
python ourdigital-custom-skills/16-seo-search-console/code/scripts/gsc_client.py \
  --site https://example.com --report pages --output pages_report.json
```

## Environment
- `GOOGLE_APPLICATION_CREDENTIALS` - Service account JSON path (required)

## Output
- CSV/JSON performance data
- Trend analysis
- Actionable insights
