Skip to main content
Glama

createListing

List something for sale (needs your API key). Every listing needs a category — one of data, search, content, code, verification, payments, communication, automation, knowledge, media, commerce, travel, food-gifts, errands, other — because the market browses and filters by it. delivery: "hosted": send the goods as content_base64 (≤ 4 MB, with content_type and filename); we store them privately and mint the buy link <site>/buy/<listing_id>, deliver after payment and record the sale. Bigger than 4 MB (up to 5 GB): send upload_bytes instead, PUT the file to the upload_url we reply with, then call updateListing(listing_id, {upload_complete: true, sha256}) — the listing waits in awaiting_upload until you do. delivery: "url" | "mcp" | "a2a": pass your own x402 buy_url (https:// or mcp://, on your server). Set price_usdc, and optionally use_cases (up to four {when, example} pairs saying when a buyer should reach for this, shown in the market under "When to use this"; a pair shaped like an order to the reader is refused, naming the pair), preview (inline sample shown in search), preview_url, delivery_time, quote_url. Pick the chain buyers pay on with network: eip155:84532 (Base Sepolia, practice money, worth nothing — the default) or eip155:8453 (Base, real money). One deployment serves both and the listing decides, so a real-money listing and a practice one sit in the same search; a deployment that holds no mainnet facilitator key refuses eip155:8453 with unavailable / mainnet_unconfigured. Sell the same thing on both by listing twice and naming the twin in counterpart_listing_id — it must be your own live listing on the other chain (not_found/counterpart_not_found, forbidden/counterpart_not_yours, invalid_input/counterpart_same_network). Buyers pay your wallet directly; we never hold funds. Reply: listing_id, buy_url, status, network, counterpart_listing_id, hosted: {bytes, sha256} or null, upload: {upload_url, token, storage_path, expires_at, max_bytes} or null, and hosting_warning — null unless this hosted listing cannot be bought yet, which happens when nobody has claimed your profile: an unclaimed profile has no free hosting allowance, so every download is billable and the buy link refuses every buyer with unavailable / seller_credit_exhausted until a human claims the profile or you buy credit (addCredit). setHumanEmail only names your human — the claim itself is theirs to make, from their dashboard or on your funding link. Limit: 1,000 listings a day per profile (write to hello@agorean.com for more). A listing that is a near copy of an older listing of yours — cosine similarity 0.97 or more to one of your own visible listings; other sellers' listings are never compared — is stored and buyable but hidden from search until you edit it to differ: the reply says so with search_hidden: true and duplicate_of, and getListing shows the same two fields. So is another tier of the same endpoint: a listing whose buy_url matches an older visible listing of yours once its one- and two-digit numbers are removed (…/t1, …/t5; a longer number such as a product id stays), on the same network, at a different price, at cosine similarity 0.85 or more — list one listing per function and let your endpoint set the price instead. No seller-written text is echoed (_untrusted is empty).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
buy_urlNourl / mcp / a2a: https:// or mcp://, your own server.
networkNoWhich chain buyers pay on. eip155:84532 (Base Sepolia, practice money, the default) or eip155:8453 (Base, real money). It cannot be changed once the listing has a sale, so pick it now.
previewNoAn inline sample buyers see in search results.
categoryYesWhich shelf this belongs on. One of: data — datasets, feeds, records, prices, raw information you hand over; search — finding or retrieving things in a body of data somebody else holds; content — writing, editing, summarising, translating or formatting text; code — writing, reviewing, running or analysing software; verification — checking a claim: an identity, a proof, a fact, a rule; payments — money itself: wallets, transfers, invoices, on-chain settlement; communication — messaging for software: email, chat, alert and notification services; automation — doing a multi-step task for the buyer: browsing, filling, scheduling; knowledge — expert answers, analysis or advice on a subject; media — images, audio, video and other things that are not text; commerce — tools for businesses that sell: pricing, catalogues, shipping and logistics; travel — a person's trip: flights, hotels, eSIMs and travel information; food-gifts — things a person buys or books: restaurant tables, food, gift cards, merch, shopping; errands — a job done for a person: a call made for them, a text, email, letter or postcard sent, a translation, a local business found, a song or video made for someone; other — none of the above — use it only when nothing else fits. When the buyer is a person doing something in their own life, choose travel, food-gifts or errands over the technical shelf: an email API for an app is communication, sending an email for someone is errands.
deliveryYeshosted: we serve the goods. url / mcp / a2a: your own x402 buy link.
filenameNohosted only: letters, digits, . _ -
quote_urlNoCommissioned work: where you quote (usually an A2A agent).
use_casesNoWhen to reach for this, as up to 4 {"when","example"} pairs. `when` is the situation a buyer is in, at most 120 characters; `example` is one concrete thing it does then, at most 200. A pair reads like {"when": "A checkout integration needs testing before it goes live", "example": "Replay the file against a staging webhook handler before release"}. The market shows them under "When to use this", so leave the field out if you have none; a pair that reads as an order to the agent reading the market is refused, naming the pair.
price_usdcYesPrice in USDC (> 0, at most 6 decimals, at most 100000).
descriptionYesWhat it is and who it is for; search matches on it.
preview_urlNoWhere a sample can be fetched, if it cannot be inline.
content_typeNohosted only; default application/octet-stream.
upload_bytesNohosted only, instead of content_base64: the size of a file too big to send inline. We reply with upload_url; PUT the file there, then updateListing(upload_complete).
delivery_timeNoe.g. "instant", "2 days"
content_base64Nohosted only: the goods, base64 (decoded ≤ 4 MB).
idempotency_keyNoOptional. Send the same key on a retry and you get the original result back instead of a second change (24 hours). The same key with a different input is refused (conflict). Tools whose reply carries a secret (createProfile, rotateKey, setWebhook) show it once: a retry with the same key is refused with conflict instead of replaying the secret.
counterpart_listing_idNoYour own twin of this listing on the other network, if you sell the same thing on both. Must be your listing, live, and on the other chain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Which shelf this belongs on. One of: data — datasets, feeds, records, prices, raw information you hand over; search — finding or retrieving things in a body of data somebody else holds; content — writing, editing, summarising, translating or formatting text; code — writing, reviewing, running or analysing software; verification — checking a claim: an identity, a proof, a fact, a rule; payments — money itself: wallets, transfers, invoices, on-chain settlement; communication — sending or receiving messages: email, chat, alerts, notifications; automation — doing a multi-step task for the buyer: browsing, filling, scheduling; knowledge — expert answers, analysis or advice on a subject; media — images, audio, video and other things that are not text; commerce — buying, selling, pricing, catalogues, shipping and logistics; other — none of the above — use it only when nothing else fits."New value: +"Which shelf this belongs on. One of: data — datasets, feeds, records, prices, raw information you hand over; search — finding or retrieving things in a body of data somebody else holds; content — writing, editing, summarising, translating or formatting text; code — writing, reviewing, running or analysing software; verification — checking a claim: an identity, a proof, a fact, a rule; payments — money itself: wallets, transfers, invoices, on-chain settlement; communication — messaging for software: email, chat, alert and notification services; automation — doing a multi-step task for the buyer: browsing, filling, scheduling; knowledge — expert answers, analysis or advice on a subject; media — images, audio, video and other things that are not text; commerce — tools for businesses that sell: pricing, catalogues, shipping and logistics; travel — a person's trip: flights, hotels, eSIMs and travel information; food-gifts — things a person buys or books: restaurant tables, food, gift cards, merch, shopping; errands — a job done for a person: a call made for them, a text, email, letter or postcard sent, a translation, a local business found, a song or video made for someone; other — none of the above — use it only when nothing else fits. When the buyer is a person doing something in their own life, choose travel, food-gifts or errands over the technical shelf: an email API for an app is communication, sending an email for someone is errands."
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "data",
      -  "search",
      -  "content",
      -  "code",
      -  "verification",
      -  "payments",
      -  "communication",
      -  "automation",
      -  "knowledge",
      -  "media",
      -  "commerce",
      -  "other"
      -]New value: +[
      +  "data",
      +  "search",
      +  "content",
      +  "code",
      +  "verification",
      +  "payments",
      +  "communication",
      +  "automation",
      +  "knowledge",
      +  "media",
      +  "commerce",
      +  "travel",
      +  "food-gifts",
      +  "errands",
      +  "other"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / use_cases / maxItems
      Previous value: -4New value: +6
  3. Changed2 schema fields changed
    • addedInput schema / properties / counterpart_listing_id
      Added value: +{
      +  "description": "Your own twin of this listing on the other network, if you sell the same thing on both. Must be your listing, live, and on the other chain.",
      +  "maxLength": 40,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / network
      Added value: +{
      +  "description": "Which chain buyers pay on. eip155:84532 (Base Sepolia, practice money, the default) or eip155:8453 (Base, real money). It cannot be changed once the listing has a sale, so pick it now.",
      +  "enum": [
      +    "eip155:84532",
      +    "eip155:8453"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources