REST API
Retrieve JSON-LD structured data for all published articles. Useful for implementing schema.org markup for rich search results.
GET
{{baseUrl}}/v1/seo/structured-dataAuth required
| Property | Type | Description | Default |
|---|---|---|---|
baseUrl | string | Base URL for all links | - |
| Property | Type | Description | Default |
|---|---|---|---|
project* | { name, slug, description } | - | - |
articles* | Array<{ slug, structuredData }> | - | - |
generatedAt* | string | - | - |
cURL Command
curl -X GET "https://api.simplist.blog/v1/seo/structured-data?baseUrl=https://myblog.com" \
-H "X-API-Key: YOUR_API_KEY"{
"data": {
"project": {
"name": "My Blog",
"slug": "my-blog",
"description": "A blog about web development"
},
"articles": [
{
"slug": "getting-started",
"structuredData": {
"@context": "https://schema.org",
"@type": "Article",
"headline": "Getting Started with Simplist",
"description": "Learn how to get started",
"author": {
"@type": "Person",
"name": "John Doe"
},
"datePublished": "2025-01-15T10:30:00Z",
"dateModified": "2025-01-20T14:00:00Z",
"image": "https://cdn.simplist.blog/covers/getting-started.jpg",
"publisher": {
"@type": "Organization",
"name": "My Blog",
"logo": {
"@type": "ImageObject",
"url": "https://myblog.com/logo.png"
}
}
}
}
],
"generatedAt": "2025-12-09T12:00:00Z"
}
}Add the structured data to each article page's <head>:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Getting Started",
...
}
</script>If you're using TypeScript/JavaScript, you can use the SDK instead: client.seo.getStructuredData()