Content — Marketplace
2 endpoints from the published OpenAPI import.
GET/api/v1/content/marketplace/categories
List the marketplace category vocabulary
Returns every category in the vocabulary table. Public read so MCP tools, CLI, and AI agents can discover valid marketplace_category values without dashboard access. Pass include_counts=true to join live row counts from content_components (matches the existing /marketplace/category-counts endpoint shape).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
asset_type | query | any | false | Filter to a specific asset class: site-template, bg-video, or component. |
include_counts | query | boolean | false | When true, populates row_count with live counts from content_components. |
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/content/marketplace/categories' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/content/marketplace/categories",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/content/marketplace/categories", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/content/marketplace/categories", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET/api/v1/content/marketplace/categories/{slug}
Get a single marketplace category by slug
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
slug | path | string | true |
Try it
Examples
cURL
curl -X GET 'https://spideriq.ai/api/v1/content/marketplace/categories/{slug}' \
-H 'Authorization: Bearer <token>'Python
import httpx
resp = httpx.get(
"https://spideriq.ai/api/v1/content/marketplace/categories/{slug}",
headers={"Authorization": "Bearer <token>"},
)
resp.raise_for_status()
print(resp.json())JavaScript
const resp = await fetch("https://spideriq.ai/api/v1/content/marketplace/categories/{slug}", {
method: "GET",
headers: { "Authorization": "Bearer <token>" }
});
const data = await resp.json();
console.log(data);Go
package main
import (
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://spideriq.ai/api/v1/content/marketplace/categories/{slug}", nil)
req.Header.Set("Authorization", "Bearer <token>")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
}Responses
| Status | Description |
|---|---|
200 | Successful Response |
404 | Slug not in the vocabulary. |
422 | Validation Error |