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
- Discover an API in the directory
- Call the protected path
- 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.