Create a seller listing: sell your HTTPS endpoint per call
listing_createCreates a seller listing: your HTTPS endpoint sold per call at the price you set, callable by anyone as tool run_ or POST /v1/run/; each sale is credited to you minus the platform fee. Posting your own slug again appends a new version. Use it to sell your own API or agent through gaents. Use catalogue instead to see existing listings first. Use seller_statement instead to see your sales and payable earnings. Cost: free; nothing is charged to list. Auth: Authorization: Bearer (POST /v1/accounts gives one). Errors (isError, error.code): 400 bad_slug/bad_price/bad_upstream_url/kind_not_open, 401 bad_api_key, 409 slug_taken (another seller owns it).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"upstream_url": "<upstream_url>",
"price_usd": "<price_usd>"
},
"name": "listing_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Listing id in the URL: lowercase letters, digits and '-', 2-63 characters. | |
| title | No | Short name buyers see in the catalogue and tools/list. | |
| listed | No | false hides the listing from the catalogue and tools/list; default true. | |
| price_usd | Yes | Your price per call in USD; the buyer pays this, you receive it minus the platform fee. | |
| description | No | What the endpoint does, for buyers and agents choosing a tool. | |
| input_schema | No | JSON Schema of the body your endpoint takes (shown to buyers as the tool's inputSchema). | |
| upstream_url | Yes | Your endpoint; each sale POSTs the buyer's JSON body to it and returns its answer. | |
| timeout_seconds | No | Seconds to wait for your endpoint per call (capped by the server's own limit). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| call | Yes | how buyers call it | |
| slug | Yes | ||
| spec | No | ||
| seller | No | ||
| listing_hex | Yes | ||
| platform_fee | No | share of each sale kept by the platform |