Technical SEO Audit & Optimization
Prioritize technical SEO findings on representative public pages
Prioritize technical SEO findings on representative public pages. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.
Implementation example by the EdgeDNS team · Updated
The Challenge
Metadata, crawl directives, structured data, and performance issues can be difficult to review consistently across a site.
The Solution
Combine SEO audit, search readiness, metadata, robots, redirects, structured data, and performance checks. The analyzers inspect bounded public-page observations; validate coverage and use search-engine tools to confirm indexing and rich-result outcomes.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/domain/seo-auditAPI referenceSEO Audit: Comprehensive on-page SEO analysis
/v1/domain/search-readinessAPI referenceSearch Readiness: Evaluate search engine optimization readiness
/v1/domain/redirectAPI referenceRedirect Chain: Trace HTTP redirect chain
/v1/domain/metaAPI referenceMeta Tags: Extract SEO and social meta tags
/v1/domain/robotsAPI referenceRobots.txt: Parse robots.txt rules and sitemaps
/v1/domain/pagespeedAPI referencePageSpeed Insights: Lighthouse audit via Google PageSpeed
/v1/domain/web-vitalsAPI referenceWeb Performance Diagnostics: Server-side HTML performance diagnostics and measured TTFB
/v1/domain/structured-dataAPI referenceStructured Data: Extract JSON-LD and schema markup
/v1/domain/keyword-analysisAPI referenceKeyword Analysis: On-page keyword extraction and density
/v1/score/seoAPI referenceSEO Score: Composite SEO score from multiple audits
What this workflow helps you do
Review crawl and indexing signals
Inspect directives and canonical/redirect findings.
Prioritize on-page fixes
Review titles, descriptions, headings, and structured-data observations.
Measure search outcomes separately
Scores do not guarantee indexing, rich results, or ranking improvements.
Code Example
Prioritize technical SEO findings on representative public pages
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
{
"path": "/v1/domain/seo-audit",
"params": {
"domain": "https://example.com"
}
},
{
"path": "/v1/domain/search-readiness",
"params": {
"domain": "example.com"
}
},
{
"path": "/v1/domain/redirect",
"params": {
"url": "http://example.com"
}
}
];
// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
const url = new URL(path, 'https://api.edgedns.dev');
url.search = new URLSearchParams(params).toString();
const response = await fetch(url, { headers });
const result = await response.json();
if (!response.ok) {
throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
}
// Keep the response metadata and any partial/unknown findings for review.
console.log(path, result);
}Learn More
Explore industry standards and best practices related to this use case.
Google Search Central: Core Web Vitals
Google's documentation on Core Web Vitals and their impact on search ranking signals
Schema.org Vocabulary
The collaborative vocabulary for structured data markup used by Google, Bing, and other search engines
Google PageSpeed Insights
Documentation for the PageSpeed Insights API powered by Lighthouse audits
Ready to build Technical SEO Audit & Optimization?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
Website Migration SEO Validation
Compare crawl and indexing signals before and after a migration
Technical SEO Lead / Content Platform EngineerAI Crawler & Search Access Review
Review crawler-specific robots rules alongside search-readiness signals
Frontend Developer / Performance EngineerWebsite Speed & Performance Optimization
Review delivery configuration and observed website performance