https://swarms.world/api/product/list
Returns every product the authenticated user has posted to the marketplace across agents, prompts, tools, and bundles. Each product includes its name, description, time posted, type, and public listing URL. Results are returned as a single flat list sorted newest-first, along with per-type counts.
Authenticate with your Swarms API key in the Authorization header.
Request
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer YOUR_API_KEY. Get your key at swarms.world/platform/api-keys. |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | No | Restrict results to a single product type. One of all (default), agent, prompt, tool, or bundle. |
Response
Success (HTTP 200)
| Field | Type | Description |
|---|---|---|
user_id | string | The authenticated user’s ID. |
total | number | Total number of products returned. |
counts | object | Count of products by type. |
counts.agents | number | Number of agents. |
counts.prompts | number | Number of prompts. |
counts.tools | number | Number of tools. |
counts.bundles | number | Number of bundles. |
products | array | Flat list of products, sorted newest-first. |
products[].id | string | Product ID (for bundles, the UUID used in the public URL). |
products[].type | string | agent, prompt, tool, or bundle. |
products[].name | string | null | Product name. |
products[].description | string | null | Product description. |
products[].created_at | string | ISO 8601 timestamp of when the product was posted. |
products[].url | string | Public listing URL on swarms.world. |
HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success. |
401 | Unauthorized: API key is missing or invalid. |
500 | Internal server error. |
Example Request
Related Resources
Product Fees API
Check creator fees generated by a tokenized product
Agents API
Create, update, and query agents
Prompts API
Create, update, and query prompts
API Overview
Quick reference for all Marketplace APIs