Posts

Read-only public endpoints for published posts.

List posts

GET /api/projects/:apiKey/posts

Query parameters

  • page (default 1)
  • per_page (default 10, max 50)
  • order = asc|desc (default desc)
  • orderby = publishedAt|createdAt|updatedAt (default publishedAt)

Visibility rules

Only posts where:

  • isPublished = true
  • publishedAt <= now()

Get post by slug

GET /api/projects/:apiKey/posts/:slug

Returns a single post with the same visibility rules.

Cookies

We use essential cookies to run the app. With your consent, we’ll also use analytics to improve Nanoblog.

Cookie policy