REST API

Retrieve a single article by its unique slug identifier, including full content.

PropertyTypeDescriptionDefault
slug*stringUnique article identifier (e.g., 'getting-started')-

Returns a complete Article object with full content.

PropertyTypeDescriptionDefault
id*string--
title*string--
slug*string--
content*stringFull Markdown content-
excerptstring | null--
coverImagestring | null--
published*boolean--
viewCount*number--
readTimeMinutes*number--
author*Author--
createdAt*string--
publishedAtstring | 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()

Command Palette

Search for a command to run...