Google Search Console Data Sync in cURL

Sync your Google Search Console data to correlate traditional search performance (clicks, impressions, CTR, position) with AI-readiness metrics. After syncing, you can identify pages where low ACRI scores correlate with declining traffic.

Endpoint

POST /api/v1/gsc/sync

cURL Code

curl -X POST "https://seodiff.io/api/v1/gsc/sync" \
  -H "Authorization: Bearer $SEODIFF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"site_url":"https://example.com","date_range":"last_90_days"}'

Example Response

{"status":"synced","pages_imported":1247,"date_range":{"start":"2025-01-01","end":"2025-03-31"}}
Authentication

All requests require an API key in the Authorization: Bearer header. Get your API key →

Same Endpoint, Other Languages

More cURL Examples

Evaluate pSEO Pages

Test programmatic pages against assertion rules. The core agentic evaluation endpoint.

Scan a Website

Enqueue a surface scan for diff detection and SEO regression identification.

Validate in CI/CD Pipeline

CI-friendly endpoint that blocks deployments when SEO regressions are detected.

Trigger Deep Audit

Start a comprehensive multi-page crawl with PageRank, link analysis, and pSEO diagnostics.

Validate llms.txt File

Test your llms.txt file against the specification and get actionable fixes.

Start testing in 30 seconds

Get an API key and run your first evaluation with a single cURL command.

Get API Key or Read full API docs