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.

Claude Blog connects to Google's APIs for first-party and official data. PageSpeed Insights can return CrUX field data from real Chrome users. Search Console returns clicks, impressions, CTR, and position. GA4 returns your organic traffic. The Indexing API is restricted to eligible job-posting and livestream pages, so ordinary blog pages use URL Inspection, sitemaps, internal links, and quota-limited Request Indexing for important URLs.

The skill detects configured credentials and gates commands by tier. Start with an API key for PageSpeed, CrUX, YouTube, and NLP. Add OAuth or a service account for Search Console, URL Inspection, and sitemaps. Indexing API commands remain eligibility-gated. GA4 and Ads credentials unlock their respective reporting tools.

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
Eligibility-gated Indexing API support for permitted page types. Ordinary posts use inspection and sitemap workflows. NLP adds entity and sentiment context.
// 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>Eligibility-gated 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, and eligibility-gated Indexing API support.
  • 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

Many supported APIs have free access or quotas, but account, billing, eligibility, and quota requirements vary. Ads access and some Google Cloud services can have additional requirements. Check the current official documentation before enabling a service.
Tier 0 covers API-key tools such as PageSpeed, CrUX, YouTube, and NLP. Tier 1 adds Search Console, URL Inspection, and sitemaps. Indexing API support is restricted to eligible page types. Tier 2 adds GA4 and Tier 3 adds Ads Keyword Planner.
Both skills can share the same local credentials configuration. Claude SEO focuses on site-wide audits, while Claude Blog applies the data to blog workflows.
Run /blog google nlp on a URL or text to inspect entities, sentiment, and classification. Treat these outputs as analytical context, not as direct E-E-A-T or ranking-factor scores.
CrUX history shows how field performance metrics changed over time when sufficient data is available. It can help identify regressions and evaluate performance work alongside deployment history.
// RELATED SKILLS

EXPLORE MORE

VIEW ALL 30 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 >