Ranking Data

Pull your own search performance data from Google Search Console.

What this tool does

search_performance.py connects to the Google Search Console API and pulls real impression, click, and position data for your site. This tells you exactly which queries Google already associates with your domain.

Why this matters — Your Search Console data is the single most reliable signal for SEO. It shows what Google actually thinks your pages are about — not what you intended them to be about.

Prerequisites

You need a Google Cloud project with the Search Console API enabled, and a service account or OAuth credentials. This is the most setup-heavy tool in the toolkit.

1

Create credentials

Go to Google Cloud Console → APIs & Services → enable Google Search Console API → create OAuth 2.0 credentials (Desktop app type).

2

Download credentials JSON

Save the client_secret.json file. Place it in the same directory as the script, or pass the path with --creds.

3

Verify your site in Search Console

Your site must be verified in Google Search Console. Use the property URL (e.g. sc-domain:example.com or https://example.com/).

Basic usage

python3 -m zens_ink search_performance --site "sc-domain:example.com" --creds client_secret.json

The first run opens a browser for OAuth consent. Subsequent runs use cached credentials.

QueryImpressionsClicksAvg PositionCTR
ai tarot reading2,400458.31.9%
tarot card meanings1,8001222.10.7%
free tarot yes or no950384.24.0%
dream interpretation620331.50.5%

Finding opportunities in your own data

The position 5–15 sweet spot — Keywords where you rank between position 5 and 15 are your biggest opportunity. You’re close to page 1 — a small content improvement can push you into the top results. Focus your optimization effort here first.

Date ranges

Pull data for specific periods:

python3 -m zens_ink search_performance --site "sc-domain:example.com" --start 2025-01-01 --end 2025-06-30

Export for analysis

python3 -m zens_ink search_performance --site "sc-domain:example.com" --format csv > gsc_data.csv

What’s next?

You now know what Google thinks your site is about, and where you’re close to breaking through. The final piece: what are your competitors ranking for that you’re not?

keyword_research keyword_volume ranking_data competitor_gap

Competitor Analysis →

PRO

Doing this manually takes time. The Pro engine's content_matrix script automates the entire flow — one command from raw data to actionable strategy.

Explore the Pro engine →