PHP API Examples
Ready-to-paste PHP code for every key SEODiff endpoint. Each page includes the full request, response, and error handling.
POST Evaluate pSEO Pages
Test programmatic pages against assertion rules. The core agentic evaluation endpoint.
POST Scan a Website
Enqueue a surface scan for diff detection and SEO regression identification.
POST Validate in CI/CD Pipeline
CI-friendly endpoint that blocks deployments when SEO regressions are detected.
POST Trigger Deep Audit
Start a comprehensive multi-page crawl with PageRank, link analysis, and pSEO diagnostics.
POST Validate llms.txt File
Test your llms.txt file against the specification and get actionable fixes.
POST Google Search Console Data Sync
Pull GSC performance data into SEODiff for correlation with AI-readiness metrics.