Marketplace overview

The marketplace lets you call third-party APIs that charge per request through Galliun. Paths look like /p/{projectSlug}/....

Setup

Pass a marketplace wallet when creating the client. See Create a client.

Typical flow

  1. Discover an API in the directory
  2. Call the protected path
  3. The SDK pays USDC (exact_split) and returns the API response
const result = await client.marketplace.call({
  path: "/p/demo-api/summarize",
  method: "POST",
  body: { text: "Hello" },
});

Payments

Marketplace uses exact_split: one atomic USDC transaction that pays the API provider and the platform fee. See Core concepts.

Next steps