Skip to main content

What is the Agentic Marketplace?

The Creem Marketplace is where AI agents shop. An agent searches for a tool it needs (an API, a dataset, a CLI, credits), buys it, and starts using it. Creem stays the Merchant of Record: tax, invoices, refunds and disputes work the same as for every other Creem sale. Every marketplace sale is a normal checkout and a normal order in your own store. You do not resell anything through Creem, and you do not change your current billing.

Agents find you

Agents search live listings through the Creem API and the Creem CLI.

Agents use what they buy

The agent receives a license key, a file, credits or a key that your system issues.

Owners stay in control

The agent’s owner sets spending limits once and gets an email after each purchase.

Creem handles the money

Tax, invoices, refunds and disputes, as Merchant of Record.
The Marketplace is open to sellers by invitation. To list a product, contact support@creem.io and ask for the Agentic Marketplace.

How a purchase works

  1. The agent finds your listing.
  2. The order is paid in one of two ways:
    • Human pays: the agent hands its owner a checkout link. The owner pays in the normal Creem checkout. The agent reads the goods with its claim token.
    • Agent pays (rolling out): an agent with a key buys within the limits its owner set, using the card from the owner’s first checkout.
  3. The order is created in your store. Your usual webhooks (checkout.completed and others) fire as for any order.
  4. The agent receives the goods for the delivery type.

Who can list

A product can be listed when:
  • Your store passed Creem’s account review.
  • Your store has no open risk review.
  • Creem has switched the Marketplace on for your store.
  • The product is active (not archived).
Agents that buy on their own (within their owner’s limits) can buy one-time products only. If you sell subscriptions, add a one-time product too: a credit pack, a top-up or a fixed-term pass.

What the agent receives

Creem picks the delivery type from the product’s add-ons. If a product has several, the first match in this list wins.
Selling an API that issues its own keys? Use seller_access. Do not add the customer credits add-on to that product: a credits product delivers credits, and the agent then gets no API key.

List a product

1

Opt in the product

In your dashboard, open Marketplace and opt in the product you want agents to buy. Creem shows the delivery type the product gets.
2

Write the card

The card is what agents read before they buy. Four fields are required:
  • Headline: up to 120 characters.
  • What it does: up to 1,000 characters.
  • What the buyer receives: up to 1,000 characters.
  • Refund terms: up to 1,000 characters.
Optional: Agent instructions (markdown, up to 4,000 characters). Tell the agent how to start after the purchase: where the key goes, the base URL, the first call. Agents read it on the listing and again with the goods.
3

Pick a category

One of: apis, data, sdks_and_tools, ui_kits, templates, credits.
4

Seller-issued keys only: fill in How agents use your key

See Step 2 of the key guide below.
5

Submit for review

Creem reviews the listing. A seller_access listing must also pass the review test. When approved, the listing goes live and agents can find it.
You can edit the card only while the listing is a draft or after a rejection. To change a live listing, unlist it, edit the draft and submit it again. Price, currency, billing period and tax always come from the product. Change the product price and the listing shows the new price at once.

Sell API keys to agents

Use the seller_access delivery type when you sell an API or a service that has its own accounts and keys. Your system creates the account and the key. Creem gives the key to the agent once.
1

The agent buys

The order is paid, by the owner in the checkout or by the agent within its limits.
2

Creem asks you for a key

Creem sends the marketplace.grant.requested webhook to your endpoint.
3

You answer with the key

Your endpoint creates the account and returns the key in the HTTP reply.
4

The agent gets the key

Creem keeps the key encrypted and gives it to the agent. The agent calls your API.

Before you start

You need:
  • A product with no license key, file download or customer credits add-on. A product with one of these add-ons delivers that add-on, not your key.
  • A one-time price on the product, so agents that buy on their own can buy it.
  • An HTTPS webhook endpoint that can create an account and a key in your system.
  • A cheap API call that proves a key works, for example GET /v1/me. This is your check call.

Step 1: Receive the webhook event

In the dashboard, open API & Webhooks. Add or edit a webhook endpoint.
  • An endpoint with no event filter receives all events, including marketplace.grant.requested.
  • An endpoint with an event filter must include marketplace.grant.requested. Select it in the event list when you add or edit the endpoint.
Send test event does not offer marketplace.grant.requested. Your endpoint gets test asks from the listing review instead. See Step 5.
Verify the creem-signature header on every request. It is the HMAC-SHA256 of the raw body, signed with your webhook secret, hex-encoded. See Webhooks.

Step 2: Tell agents how to use the key

On the listing, fill in How agents use your key. Agents receive this block with the key:
The check, balance and refill paths are relative to baseUrl.

Step 3: Handle the ask

Creem sends one event shape for four actions:
  • Store the grantId with the account you create. Every later ask for this agent names the same grantId.
  • One agent has one grant per store. When the agent buys from you again, Creem sends a top_up on the same grant, not a new provision.
  • If you sell several products this way, read productId and order to know what the agent bought.
  • A full refund or a chargeback sends a revoke. A partial refund sends nothing.
  • On a revoke or revoke_credit ask, deadlineAt is null and reason says why (refund, chargeback, undelivered or test).
  • During review, object.test is true. See Step 5.
  • The ask never carries the buyer’s email or customer id.

Step 4: Answer

Answer in the HTTP reply to the webhook. Use a 2xx status and a JSON body. Reply within 15 seconds. A provision answer:
A top_up, revoke or revoke_credit answer:
Unknown fields are refused.

Need more time?

Answer {"status": "pending"}. Creem sends the ask again every 30 seconds for 10 minutes, then every 5 minutes until the deadline. You can also answer later on the result endpoint, with a store API key that has the marketplace:write scope:

Rules

  • The first answer wins. The same answer sent again changes nothing. A different second answer is refused.
  • Do not create a new key on every ask. Creem can send the same ask more than once. Use operationId as your idempotency key and return the same answer.
  • If the order was refunded before your answer arrives, Creem refuses the answer and sends you a revoke ask.
If you do not answer ready before the deadline, or you answer failed, Creem refunds the buyer in full. A failed top-up leaves the key and the balance as they were.

Step 5: Pass the review test

Before your listing goes live, Creem runs three asks against your endpoint. Each test ask has object.test set to true and a 10-minute deadline. Answer test asks in the webhook reply only. The result endpoint does not accept them.
  1. Test provision. Answer ready with a key in env, with all the names from envNames. Creem then calls your check endpoint with that key and expects a 2xx. Creem does not follow redirects.
  2. Test top-up. On the test account. Answer ready with no env.
  3. Test revoke. reason is test. Disable the test account. Any 2xx reply closes it.
If you change the How agents use your key block, Creem must run the test again before approval.
Mark accounts from test asks in your system. Test asks are not paid orders.

Step 6: Report usage (optional)

Tell the agent what is left on its account:
Creem keeps your latest report and shows it to the agent on its order. resetsAt is an RFC 3339 date-time or null.

What the agent sees

  • The agent reads the key from its order. The key stays readable for 15 minutes after the first read. Then Creem deletes it. There is no lost-key recovery through Creem.
  • The agent calls your check endpoint first, then uses your API.
  • After a refund or a chargeback, the agent sees the grant as revoked and stops using the key.

Example endpoint

A minimal Node.js handler. Replace createAccount, topUp and disable with your own code.

FAQ

No. A marketplace sale is a normal Creem checkout and a normal order in your store. Your usual webhooks fire as for any order. Only seller-issued key products need the marketplace.grant.requested handler.
A human can pay a subscription listing through the checkout link. An agent that buys on its own can buy one-time products only. Add a one-time credit pack or pass to reach those agents.
Creem sends a top_up on the grant the agent already holds. Add the credit to the same account. Do not issue a second key.
The buyer gets a full refund under the normal refund policy. Pass the review test before going live so this does not happen.
Creem keeps the key encrypted until the agent reads it. It deletes the key 15 minutes after the first read, or after 30 days if nobody reads it. Keys are never written to logs or to the webhook event history.