cURL
curl https://api.neuraldraft.io/v1/products?status=active \
-H "Authorization: Bearer ndsk_live_yourkey"const products = await nd.products.list({ status: "active" });
products = requests.get("https://api.neuraldraft.io/v1/products",
params={"status":"active"},
headers={"Authorization": f"Bearer {key}"}).json()
<?php
$products = json_decode((string) $client->get('products', [
'query' => ['status' => 'active'],
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true);
{
"data": [
{
"id": 32,
"name": "Cork yoga block (pair)",
"slug": "cork-yoga-block-pair",
"short_description": "Sustainably-harvested cork blocks. Sold as a pair.",
"price": 2999,
"compare_at_price": 3999,
"currency": "gbp",
"type": "physical",
"status": "active",
"sku": "ND-CORK-PAIR",
"stock_quantity": 24,
"track_inventory": true,
"images": [
"https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/products/cork-block.jpg"
],
"category_id": 4,
"featured": true,
"published_at": "2026-04-01T09:00:00Z"
}
],
"meta": {
"page": 1,
"page_size": 20,
"total": 3
}
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}Commerce
List products
Read-only.
GET
/
products
cURL
curl https://api.neuraldraft.io/v1/products?status=active \
-H "Authorization: Bearer ndsk_live_yourkey"const products = await nd.products.list({ status: "active" });
products = requests.get("https://api.neuraldraft.io/v1/products",
params={"status":"active"},
headers={"Authorization": f"Bearer {key}"}).json()
<?php
$products = json_decode((string) $client->get('products', [
'query' => ['status' => 'active'],
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true);
{
"data": [
{
"id": 32,
"name": "Cork yoga block (pair)",
"slug": "cork-yoga-block-pair",
"short_description": "Sustainably-harvested cork blocks. Sold as a pair.",
"price": 2999,
"compare_at_price": 3999,
"currency": "gbp",
"type": "physical",
"status": "active",
"sku": "ND-CORK-PAIR",
"stock_quantity": 24,
"track_inventory": true,
"images": [
"https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/products/cork-block.jpg"
],
"category_id": 4,
"featured": true,
"published_at": "2026-04-01T09:00:00Z"
}
],
"meta": {
"page": 1,
"page_size": 20,
"total": 3
}
}{
"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, active, archived Available options:
physical, digital, service 1-based page number.
Required range:
x >= 1Items per page (max 100).
Required range:
1 <= x <= 100