SEO Score API
pro/v1/score/seoReturns a versioned EdgeDNS diagnostic SEO score with evidence coverage and search-readiness state. Actual final URL/origin, restrictive indexing directives and crawler policy are preserved. The score is not Google ranking, Lighthouse scoring or a guarantee of indexing; grade is null for blocked or incomplete assessments.
What It Does
Analyzes on-page HTML, technical SEO, applicable structured-data syntax, social metadata, image/resource diagnostics and bounded link checks. Optional CrUX origin field data is scored using a documented EdgeDNS 70/30 phone/desktop policy, with actual source origin, collection period and missing metric state. Recency dates and authorship markup are diagnostics, not universal quality or expertise scores. Unknown observations are excluded from observed arithmetic but retained in coverage; absence and not-applicable checks remain distinct. Error/challenge pages cannot establish requested-page readiness.
Why It's Useful
Track repeatable diagnostics and identify which components need investigation. The score is an EdgeDNS composite, not a Google ranking score or a guarantee of indexing. Compare component availability and source warnings across reports.
Use Cases
SEO Health Dashboard
Track composite SEO scores across all properties in a single dashboard.
Monitor overall SEO health and identify properties needing attention.
Client Reporting
Generate monthly SEO score reports for clients showing progress and component breakdown.
Demonstrate ROI of SEO services with a clear, trackable metric.
Pre-Launch Validation
Run an SEO score check before launching or updating a website to ensure SEO readiness.
Catch SEO issues across all dimensions before they affect rankings.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | Domain or full URL — accepts `example.com` or `https://example.com/path`.Example: https://example.com |
Response Fields
Result fields below are inside the JSON data object. Any row named meta describes the sibling response metadata object. See response and error handling for status codes and error responses. Optional observations may be absent or null; inspect warnings and partial-failure fields before treating a missing result as a negative finding.
| Field | Type | Description |
|---|---|---|
assessment | object | Complete/provisional/unavailable evidence status, applicable/observed weights, coverage and unavailable components |
searchReadiness | object | Eligible, blocked or unknown indexing/crawling readiness with observed reasons; separate from diagnostic arithmetic |
diagnosticGrade | string | Grade of observed diagnostic score only; grade is null when readiness or evidence does not support a complete result |
requestedUrl | string | Requested document URL without fragment |
finalUrl | string | Final response URL used to scope origin observations |
webVitalsEvidence | object | Per-device field evidence including requested/matched origin, collection period, availability and complete-core status; alternate-origin observations do not silently enter the score |
methodology | object | Versioned EdgeDNS policy; independent of Google ranking and Lighthouse algorithms |
domain | string | The scored domain (bare hostname). |
url | string | Full URL that was fetched, echoing the protocol used in the request. |
seoScore | number | Observed diagnostic average 0-100 over applicable available components; interpret with assessment coverage and readiness |
grade | string | Nullable readiness grade; only present when evidence is complete and the page is eligible for the declared crawler/indexing intent |
components | object | Individual component scores with score and availability |
components.onPageSeo | object | On-page SEO audit: title, meta description, headings, images, links, content, keywords (score 0-100) |
components.webVitals | object | Origin CrUX diagnostics with explicit per-device scope and EdgeDNS 70/30 policy; no complete core-vitals pass from missing LCP/INP/CLS |
eeatSignals | object | Observed authorship/about/contact/reviewer markup; easily copied signals do not verify experience, expertise, authority or ranking |
components.technicalSeo | object | Technical SEO: canonical URL, indexability, viewport/mobile, lang, HTTPS, status code, charset (score 0-100) |
components.structuredData | object | Applicable structured-data syntax checks; malformed blocks prevent full validity credit and rich-result eligibility is not verified |
components.socialMeta | object | Social meta: Open Graph and Twitter Card tag completeness (score 0-100) |
components.contentFreshness | object | Optional content-date diagnostics; excluded from universal SEO weighting because recency relevance depends on page purpose |
components.contentQuality | object | Image/resource/document-size diagnostics; readability and authorship markup do not establish universal quality or expertise |
components.linkHealth | object | Link health: broken links, redirect chains, anchor text quality (score 0-100) |
breakdown | object | Detailed score breakdown with score, max, and details for each of the 8 components |
topRecommendations | array | Top 5 prioritized SEO improvements from all components |
componentsFetched | number | Number of successfully fetched source components; not the number of scored categories |
partialFailure | boolean | Whether any data sources failed to load |
Code Examples
Replace YOUR_API_KEY with your API key. This endpoint requires the pro plan or higher; see plans and usage limits.
curl --request GET 'https://api.edgedns.dev/v1/score/seo?domain=https%3A%2F%2Fexample.com' \
--header "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://api.edgedns.dev/v1/score/seo?domain=https%3A%2F%2Fexample.com",
{
"method": "GET",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
);
if (!response.ok) {
throw new Error(`EdgeDNS returned HTTP ${response.status}`);
}
const data = await response.json();
console.log(data);import requests
response = requests.request(
'GET',
"https://api.edgedns.dev/v1/score/seo?domain=https%3A%2F%2Fexample.com",
headers={'Authorization': 'Bearer YOUR_API_KEY'},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)Read the full SEO Score guide
Learn the concepts, choose a practical workflow, and interpret the observations from SEO Score before acting on them. Run supported checks via MCP or through REST.
Read the guide →Related Endpoints
External References
Learn more about the standards and protocols behind this endpoint.