HOME SKILLS BLOG GITHUB
// SKILL

GOOGLE APIS
FOR BLOGGERS

Direct access to Google's own data for blog content workflows. Real Chrome user metrics from CrUX, real search performance from Search Console, real GA4 organic traffic, plus PageSpeed Insights for Core Web Vitals. All APIs are free. Setup walks you through Google Cloud project + OAuth in 5 minutes. 13 commands across 4 credential tiers.

BY DANIEL AGRICI · UPDATED MAY 2026

$
/blog google pagespeed <url>

REQUIRES CLAUDE BLOG INSTALLED IN CLAUDE CODE

// WHAT YOU GET

REAL GOOGLE DATA. NO SCRAPING.

Most blog tooling guesses at Google data through scraping, third-party SERP databases, or synthetic Lighthouse runs. Claude Blog talks to Google's own APIs directly. PageSpeed Insights returns CrUX field data from real Chrome users. Search Console returns your actual clicks, impressions, CTR, and position. GA4 returns your actual organic traffic. Indexing API submits URLs straight to Google's crawl queue.

The skill detects which credentials you have configured and gates commands by tier. Start with a free API key (Tier 0) and you unlock PageSpeed, CrUX, CrUX history, YouTube, and NLP. Add OAuth or a service account (Tier 1) and you unlock Search Console, URL Inspection, and Indexing. Add a GA4 property (Tier 2) for organic traffic reports. Add an Ads developer token (Tier 3) for Keyword Planner volumes.

01
PAGESPEED + CRUX
Combined Lighthouse lab data and real Chrome user metrics. p75 LCP, INP, CLS, FCP, TTFB. 25-week history for trend analysis.
02
SEARCH CONSOLE
Clicks, impressions, CTR, position, top queries, top pages. URL Inspection for crawl status. Sitemap submission monitoring.
03
GA4 ORGANIC
Organic traffic, top landing pages, engagement, conversions. Pulls last 28 days by default. Requires GA4 property ID configured.
04
INDEXING + NLP
Submit URLs directly for crawl. Batch up to 200 URLs. NLP entity extraction + sentiment for E-E-A-T signal mining.
// USAGE

13 COMMANDS. 4 TIERS.

Command Reference

CommandDescriptionTier
/blog google setupConfigure API credentials--
/blog google pagespeed <url>PSI + CrUX field data0
/blog google crux <url>CrUX field data only0
/blog google crux-history <url>25-week CWV trends0
/blog google gsc <property>Search Console metrics1
/blog google inspect <url>URL Inspection1
/blog google index <url>Indexing API submit1
/blog google ga4 [property-id]GA4 organic traffic2
/blog google ga4-pages [property-id]Top organic landing2
/blog google youtube <query>YouTube video search0
/blog google nlp <url-or-text>Entity extraction + sentiment0
/blog google keywords <seed>Google Ads Keyword Planner3

Credential Tiers

  • Tier 0 (API key): PageSpeed, CrUX, CrUX history, YouTube, NLP. Free API key from Google Cloud Console, no OAuth flow.
  • Tier 1 (OAuth or service account): Adds Search Console, URL Inspection, Sitemaps, Indexing API. One OAuth consent grants all four.
  • Tier 2 (GA4 property ID): Adds GA4 organic traffic and top landing pages. Requires a GA4 property already collecting data.
  • Tier 3 (Ads developer token): Adds Google Ads Keyword Planner. Requires an approved Google Ads developer token and a customer ID.

Claude Blog auto-detects your tier from the config file and only surfaces commands you can actually run. Run /blog google setup first to walk through Tier 0 and 1 in five minutes.

Sharing config with claude-seo

blog-google and seo-google read the same config file at ~/.config/claude-seo/google-api.json. If you have both plugins installed, you only set up credentials once. Run /seo google setup or /blog google setup and the OAuth tokens, GA4 property ID, and Ads tokens are shared. The two skills do not duplicate functionality: claude-seo targets site-wide audits while claude-blog targets blog content workflows.

Config File Schema

{
  "api_key": "AIzaSy...",
  "oauth_client_path": "/path/to/client_secret.json",
  "default_property": "sc-domain:example.com",
  "ga4_property_id": "properties/123456789",
  "ads_developer_token": "...",
  "ads_customer_id": "123-456-7890"
}

All fields are optional. The presence of each field promotes you to the next tier.

// FAQ

QUESTIONS ABOUT GOOGLE APIS

No. All Google APIs used by Claude Blog are free: Search Console, PageSpeed Insights, CrUX, Indexing API, and GA4 Data API. You need a Google Cloud project (free) and either an API key (Tier 0: PageSpeed, CrUX) or OAuth/service account credentials (Tier 1: GSC, Indexing). Tier 2 adds GA4. Tier 3 adds Ads Keyword Planner.
Tier 0 (API key) unlocks PageSpeed, CrUX, CrUX history, YouTube, NLP. Tier 1 adds OAuth or service account credentials and unlocks Search Console, URL Inspection, Sitemaps, Indexing. Tier 2 adds a GA4 property ID and unlocks GA4 organic traffic. Tier 3 adds Ads Keyword Planner. Claude Blog detects your tier automatically and gates commands accordingly.
Both skills share the same credentials config at ~/.config/claude-seo/google-api.json. Set up once with either /seo google setup or /blog google setup and both plugins use the same OAuth tokens. The two skills do not duplicate functionality: claude-seo focuses on site-wide SEO audits, claude-blog focuses on blog content workflows.
Run /blog google nlp on any URL or text. The skill returns entities, sentiment, and content classification. Useful for E-E-A-T entity signal mining (does your content mention the entities Google associates with your topic?), competitive content analysis, and topic coverage audits.
Run /blog google crux-history <url> to see how LCP, INP, CLS, FCP, and TTFB trended over the last 25 weeks. Real Chrome user data, not synthetic. Useful for catching regressions tied to specific deploys, validating performance investments, or proving Core Web Vitals improvement over time.
// RELATED SKILLS

EXPLORE MORE

VIEW ALL 28 SKILLS →

PULL REAL GOOGLE DATA
IN 30 SECONDS.

$
git clone --depth 1 https://github.com/AgriciDaniel/claude-blog.git && bash claude-blog/install.sh
VIEW ON GITHUB ALL SKILLS >