Skip to main content

Structured Data

developer
GET/v1/domain/structured-data

Extracts 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

SEO Specialist

Rich Results Optimization

Audit structured data to maximize rich result eligibility in search.

Improve search result appearance and click-through rates.

Content Strategist

Competitive Analysis

Analyze competitor structured data to understand their rich result strategy.

Identify schema types to implement for competitive advantage.

Developer

Implementation Validation

Verify JSON-LD implementation before deploying to production.

Catch structured data errors before they affect search visibility.

Parameters

NameTypeRequiredDescription
domainstringRequiredThe domain to extract structured data fromExample: example.com

Response Fields

FieldTypeDescription
domainstringThe queried domain
hasStructuredDatabooleanWhether any structured data was found
jsonLdarrayParsed JSON-LD objects with validation results
schemaTypesarraySchema.org types found
microdataarrayMicrodata items found
summaryobjectSummary of structured data analysis
errorsarrayValidation issues detected
scorenumberQuality score (0-100)
gradestringLetter grade (A+ to F) based on score
recommendationsarrayImprovement suggestions

Code Examples

cURL
curl "https://api.edgedns.dev/v1/domain/structured-data" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "domain=example.com"
JavaScript
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);
Python
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.