REST API
Retrieve a single article by its unique slug identifier, including full content.
GET
{{baseUrl}}/v1/articles/:slugAuth required
| Property | Type | Description | Default |
|---|---|---|---|
slug* | string | Unique article identifier (e.g., 'getting-started') | - |
Returns a complete Article object with full content.
| Property | Type | Description | Default |
|---|---|---|---|
id* | string | - | - |
title* | string | - | - |
slug* | string | - | - |
content* | string | Full Markdown content | - |
excerpt | string | null | - | - |
coverImage | string | null | - | - |
published* | boolean | - | - |
viewCount* | number | - | - |
readTimeMinutes* | number | - | - |
author* | Author | - | - |
createdAt* | string | - | - |
publishedAt | string | null | - | - |
cURL Command
curl -X GET "https://api.simplist.blog/v1/articles/getting-started" \
-H "X-API-Key: YOUR_API_KEY"{
"data": {
"id": "art_123",
"title": "Getting Started with Simplist",
"slug": "getting-started",
"content": "# Introduction
This is the full article content in Markdown...",
"excerpt": "Learn how to get started with Simplist",
"coverImage": "https://cdn.simplist.blog/covers/getting-started.jpg",
"published": true,
"viewCount": 1547,
"wordCount": 850,
"readTimeMinutes": 5,
"author": {
"name": "John Doe",
"image": "https://cdn.simplist.blog/authors/john.jpg"
},
"createdAt": "2025-01-15T10:30:00Z",
"publishedAt": "2025-01-15T14:00:00Z"
}
}{
"error": "Not Found",
"message": "Article with slug 'invalid-slug' not found",
"statusCode": 404
}If you're using TypeScript/JavaScript, you can use the SDK instead: client.articles.get()