List listings
Returns the listings the caller's own org has published — what this org is offering, not what it can buy.
GET /v1/marketplace/listings
| Address | https://api.hanzo.ai/v1/marketplace/listings |
| Method | GET |
| Operation | get_marketplace_listings |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Returns the listings the caller's own org has published — what this org is offering, not what it can buy. A publisher only ever sees its own rows.
Request
GET /v1/marketplace/listings takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | marketplace.listingPage | ok |
default | problem-details | refused |
200 body — 16 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
listings | body | marketplace.Listing[] | — | Listings is every listing this org has published, private ones included (Public says which are discoverable by others). |
listings[].category | body | string | — | Category groups the listing in the shop window. |
listings[].createdAt | body | integer (int64) | — | CreatedAt is when the listing was published, in Unix SECONDS, minted at insert. |
listings[].currency | body | string | — | Currency is the ISO 4217 code Price is quoted in; Create defaults it to "USD" when the publisher names none. |
listings[].description | body | string | — | Description is the long copy. |
listings[].docs | body | string | — | Docs is where the listing's documentation lives: an https URL, or a path on docs.hanzo.ai. |
listings[].id | body | string | — | ID is the listing's id, minted here as "lst_" + 16 hex characters. |
listings[].kind | body | string | — | Kind is what the listing sells: agent, persona, app, skill, mcp or tool. |
listings[].price | body | any | — | Price is the exact price, 18 decimal places of USD: per call for a tool, the price a job is offered at for an agent. |
listings[].public | body | boolean | — | Public is whether other orgs can discover the listing. |
listings[].publisherOrg | body | string | — | PublisherOrg is the org that published the listing, taken from the validated principal and never off the wire. |
listings[].recipient | body | string | — | Recipient is the seller's payout WALLET id in PublisherOrg: the wallet x402 pays for a call or a job bought through this listing. |
listings[].ref | body | string | — | Ref is the id the thing's owning app knows it by, resolved when the listing was published — the agent id for an agent named by its name. |
listings[].title | body | string | — | Title is the shop-window name, required and refused past 200 bytes. |
listings[].tool | body | string | — | Tool names the thing sold, as the seller named it: the agent, app, skill or MCP server's name or id, or the tool's registry name. |
listings[].updatedAt | body | integer (int64) | — | UpdatedAt is when the listing was last edited, unix seconds; its creation when it never was. |
Failure carries the platform error shape — see Errors.
Examples
CLI
SDK
HTTP
MCP
hanzo marketplace listings list.ts
.py
.go
.rs
.java
import { Configuration, MarketplaceApi } from 'hanzoai';
const api = new MarketplaceApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getMarketplaceListings();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import MarketplaceApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = MarketplaceApi(client).get_marketplace_listings()cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)
resp, _, err := client.MarketplaceAPI.GetMarketplaceListings(context.Background()).Execute()
if err != nil {
return err
}use hanzo_client::apis::{configuration::Configuration, marketplace_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = marketplace_api::get_marketplace_listings(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.MarketplaceApi;
ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));
var result = new MarketplaceApi(client).getMarketplaceListings();curl https://api.hanzo.ai/v1/marketplace/listings \
-H "Authorization: Bearer $HANZO_API_KEY"MCP reaches marketplace through the marketplace tool, which names its 23 operations with its own verbs — this one among them, under a name only MCP declares. describe explains any of them:
curl -X POST https://api.hanzo.ai/v1/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "describe",
"arguments": {
"op": "list_marketplaces"
}
}
}'Was this page useful?