SSpiderIQ
SSpiderIQ

Docs / api-reference/content-marketplace

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

NameInTypeRequiredDescription
asset_typequeryanyfalseFilter to a specific asset class: site-template, bg-video, or component.
include_countsquerybooleanfalseWhen true, populates row_count with live counts from content_components.
Try it
Query

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

StatusDescription
200Successful Response
422Validation Error
GET/api/v1/content/marketplace/categories/{slug}

Get a single marketplace category by slug

Parameters

NameInTypeRequiredDescription
slugpathstringtrue
Try it
Query

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

StatusDescription
200Successful Response
404Slug not in the vocabulary.
422Validation Error