Node.js API Examples

Ready-to-paste Node.js 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.

Other Languages

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