Structured Data
developer/v1/domain/structured-dataExtracts and validates structured data markup (JSON-LD, Microdata) from web pages. Identifies schema.org types used and validates against specifications.
What It Does
Parses HTML for JSON-LD 1.1 script blocks and Microdata markup. Identifies schema.org types (Organization, Product, Article, etc.), validates required properties, and checks for common errors.
Why It's Useful
Structured data enables rich search results (stars, prices, FAQs in search). Proper implementation improves click-through rates and search visibility.
Use Cases
Rich Results Optimization
Audit structured data to maximize rich result eligibility in search.
Improve search result appearance and click-through rates.
Competitive Analysis
Analyze competitor structured data to understand their rich result strategy.
Identify schema types to implement for competitive advantage.
Implementation Validation
Verify JSON-LD implementation before deploying to production.
Catch structured data errors before they affect search visibility.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | Required | The domain to extract structured data fromExample: example.com |
Response Fields
| Field | Type | Description |
|---|---|---|
domain | string | The queried domain |
hasStructuredData | boolean | Whether any structured data was found |
jsonLd | array | Parsed JSON-LD objects with validation results |
schemaTypes | array | Schema.org types found |
microdata | array | Microdata items found |
summary | object | Summary of structured data analysis |
errors | array | Validation issues detected |
score | number | Quality score (0-100) |
grade | string | Letter grade (A+ to F) based on score |
recommendations | array | Improvement suggestions |
Code Examples
curl "https://api.edgedns.dev/v1/domain/structured-data" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d "domain=example.com"const response = await fetch(
'https://api.edgedns.dev/v1/domain/structured-data?domain=example.com',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);import requests
response = requests.get(
'https://api.edgedns.dev/v1/domain/structured-data',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={
'domain': 'example.com'
}
)
data = response.json()
print(data)Read the full Structured Data guide
Why it matters, real-world use cases, parameters, response fields, and how to call it from Claude, ChatGPT, or Gemini via MCP.
Read the guide →Related Endpoints
External References
Learn more about the standards and protocols behind this endpoint.
Try This Endpoint
Test the Structured Data endpoint live in the playground.