cURL
curl "https://api.neuraldraft.io/v1/blog-posts?status=published&lang=en&page=1" \
-H "Authorization: Bearer ndsk_live_yourkey"const posts = await nd.blogPosts.list({ status: "published", lang: "en" });posts = requests.get(
"https://api.neuraldraft.io/v1/blog-posts",
params={"status": "published", "lang": "en"},
headers={"Authorization": f"Bearer {key}"},
).json()<?php
$posts = json_decode((string) $client->get('blog-posts', [
'query' => ['status' => 'published', 'lang' => 'en'],
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true);{
"data": [
{
"id": 142,
"slug": "5-minute-breathwork-for-anxious-mornings",
"status": "published",
"featured_image": "https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/blog/breathwork.jpg",
"published_at": "2026-04-12T07:00:00Z",
"scheduled_at": null,
"title": "5-minute breathwork for anxious mornings",
"excerpt": "A simple sequence to settle the nervous system before the day begins.",
"category": {
"id": 7,
"name": "Wellness",
"slug": "wellness"
},
"tags": [
{
"id": 21,
"name": "breathwork",
"slug": "breathwork"
}
],
"translations": [
{
"lang": "en",
"title": "5-minute breathwork for anxious mornings",
"content": "<p>Mornings are when the body holds the most cortisol…</p>"
}
]
},
{
"id": 141,
"slug": "prenatal-yoga-poses-by-trimester",
"status": "published",
"featured_image": "https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/blog/prenatal.jpg",
"published_at": "2026-04-09T10:00:00Z",
"scheduled_at": null,
"title": "Prenatal yoga poses by trimester",
"excerpt": "A trimester-by-trimester guide to safe, supportive movement.",
"category": {
"id": 7,
"name": "Wellness",
"slug": "wellness"
},
"tags": [
{
"id": 22,
"name": "prenatal",
"slug": "prenatal"
}
],
"translations": [
{
"lang": "en",
"title": "Prenatal yoga poses by trimester",
"content": "<p>Each trimester brings a different focus…</p>"
}
]
}
],
"meta": {
"page": 1,
"page_size": 20,
"total": 142
}
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}Blog
List blog posts
Paginated list of blog posts. Supports filtering by status, language, category, and free-text search. Read-only. Does not consume credits.
GET
/
blog-posts
cURL
curl "https://api.neuraldraft.io/v1/blog-posts?status=published&lang=en&page=1" \
-H "Authorization: Bearer ndsk_live_yourkey"const posts = await nd.blogPosts.list({ status: "published", lang: "en" });posts = requests.get(
"https://api.neuraldraft.io/v1/blog-posts",
params={"status": "published", "lang": "en"},
headers={"Authorization": f"Bearer {key}"},
).json()<?php
$posts = json_decode((string) $client->get('blog-posts', [
'query' => ['status' => 'published', 'lang' => 'en'],
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true);{
"data": [
{
"id": 142,
"slug": "5-minute-breathwork-for-anxious-mornings",
"status": "published",
"featured_image": "https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/blog/breathwork.jpg",
"published_at": "2026-04-12T07:00:00Z",
"scheduled_at": null,
"title": "5-minute breathwork for anxious mornings",
"excerpt": "A simple sequence to settle the nervous system before the day begins.",
"category": {
"id": 7,
"name": "Wellness",
"slug": "wellness"
},
"tags": [
{
"id": 21,
"name": "breathwork",
"slug": "breathwork"
}
],
"translations": [
{
"lang": "en",
"title": "5-minute breathwork for anxious mornings",
"content": "<p>Mornings are when the body holds the most cortisol…</p>"
}
]
},
{
"id": 141,
"slug": "prenatal-yoga-poses-by-trimester",
"status": "published",
"featured_image": "https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/blog/prenatal.jpg",
"published_at": "2026-04-09T10:00:00Z",
"scheduled_at": null,
"title": "Prenatal yoga poses by trimester",
"excerpt": "A trimester-by-trimester guide to safe, supportive movement.",
"category": {
"id": 7,
"name": "Wellness",
"slug": "wellness"
},
"tags": [
{
"id": 22,
"name": "prenatal",
"slug": "prenatal"
}
],
"translations": [
{
"lang": "en",
"title": "Prenatal yoga poses by trimester",
"content": "<p>Each trimester brings a different focus…</p>"
}
]
}
],
"meta": {
"page": 1,
"page_size": 20,
"total": 142
}
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}Authorizations
Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage
keys via /projects/me/api-keys. Test-mode keys use
the ndsk_test_ prefix.
Query Parameters
Available options:
draft, published, scheduled, archived Returns the translation in this language (falls back to default).
Example:
"en"
1-based page number.
Required range:
x >= 1Items per page (max 100).
Required range:
1 <= x <= 100⌘I