REST API

Retrieve a list of articles from your Simplist project with pagination, filtering, and sorting options.

PropertyTypeDescriptionDefault
pagenumberPage number for pagination1
limitnumberNumber of items per page10
sortstringField to sort bycreatedAt
orderstringSort direction (asc or desc)desc
publishedbooleanFilter by published status-
searchstringSearch in title and content-
statusstringFilter by article status-
tagsstring[]Filter articles with at least one of these tags (OR logic)-
tagsAllstring[]Filter articles with all of these tags (AND logic)-
excludeTagsstring[]Exclude articles with any of these tags-

Returns an array of ArticleListItem objects (articles without full content).

PropertyTypeDescriptionDefault
id*stringUnique article identifier-
title*stringArticle title-
slug*stringURL-friendly article identifier-
excerptstring | nullShort article summary-
coverImagestring | nullCover image URL-
published*booleanPublication status-
viewCount*numberNumber of views-
readTimeMinutes*numberEstimated reading time-
createdAt*stringISO 8601 creation date-
publishedAtstring | nullISO 8601 publication date-

curl -X GET "https://api.simplist.blog/v1/articles?page=1&limit=5&published=true"   
  -H "X-API-Key: YOUR_API_KEY"
{
  "data": [
    {
      "id": "art_123",
      "title": "Getting Started with Simplist",
      "slug": "getting-started",
      "excerpt": "Learn how to use Simplist in your projects",
      "coverImage": "https://cdn.simplist.blog/covers/getting-started.jpg",
      "published": true,
      "viewCount": 1547,
      "readTimeMinutes": 5,
      "createdAt": "2025-01-15T10:30:00Z",
      "publishedAt": "2025-01-15T14:00:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 5,
    "total": 42,
    "totalPages": 9
  }
}

You can filter articles by tags using three different parameters:

Get articles with at least one of the specified tags:

# Articles tagged with JavaScript OR TypeScript
curl -X GET "https://api.simplist.blog/v1/articles?tags=JavaScript,TypeScript" \
-H "X-API-Key: YOUR_API_KEY"

Get articles that have all specified tags:

# Articles tagged with BOTH Tutorial AND JavaScript
curl -X GET "https://api.simplist.blog/v1/articles?tagsAll=Tutorial,JavaScript" \
-H "X-API-Key: YOUR_API_KEY"

Get articles that don't have specific tags:

# Articles without Advanced or Deprecated tags
curl -X GET "https://api.simplist.blog/v1/articles?excludeTags=Advanced,Deprecated" \
-H "X-API-Key: YOUR_API_KEY"

You can combine multiple tag filters for complex queries:

# Articles about JavaScript OR TypeScript, that are tutorials, but not advanced
curl -X GET "https://api.simplist.blog/v1/articles?tags=JavaScript,TypeScript&tagsAll=Tutorial&excludeTags=Advanced" \
-H "X-API-Key: YOUR_API_KEY"

If you're using TypeScript/JavaScript, you can use the SDK instead: client.articles.list()

Command Palette

Search for a command to run...