REST API
The Simplist REST API provides direct HTTP access to all Simplist features. You can use it from any programming language or HTTP client.
All API endpoints are relative to:
https://api.simplist.blogAll requests require authentication via an API key in the X-API-Key header:
curl -X GET "https://api.simplist.blog/v1/articles"
-H "X-API-Key: YOUR_API_KEY"All successful responses return a JSON object with this structure:
{
"data": { /* response data */ },
"meta": { /* optional pagination metadata */ }
}For list endpoints, the meta object contains pagination information:
{
"data": [/* articles */],
"meta": {
"page": 1,
"limit": 10,
"total": 42,
"totalPages": 5
}
}Errors return a JSON object with this structure:
{
"error": "Error type",
"message": "Detailed error message",
"statusCode": 400,
"details": { /* additional error details */ }
}The API has the following rate limits:
- 100 requests per minute for authenticated requests
- 20 requests per minute for unauthenticated requests
- GET/v1/articles (list with pagination)
- GET/v1/articles/:slug (get a specific article)
- GET/v1/project (project info and stats)
- POST/v1/analytics/track (track a new page view)
- PUT/v1/analytics/track/:id (update a page view)
- GET/v1/analytics/stats (analytics statistics)
- GET/v1/seo/article/:slug (article with SEO metadata)
- GET/v1/seo/sitemap (sitemap)
- GET/v1/seo/rss (RSS feed)
- GET/v1/seo/structured-data (JSON-LD structured data)
If you're using TypeScript/JavaScript, we recommend using the Simplist SDK for a better developer experience.