Loomal

Monetize a research API

Turn an expensive synthesis or analysis endpoint into per-call revenue from the agents that depend on it.

Research and analysis endpoints are expensive to run: model inference, third-party data, compute. Giving them away to agents that hammer them is unsustainable, but gating them behind enterprise sales loses the long tail of agent demand.

Per-call pricing lets every agent pay for exactly the analysis it requests. Loomal handles the payment so you can focus on the output.

Charge for the work, not a contract

Agents arrive without a procurement process. They want one report, one synthesis, one scored result — and they'll pay for it if the price is clear at request time.

Set the price to cover your compute plus margin. Expensive jobs cost more; cheap lookups cost less.

Wrap the endpoint

Drop requirePayment on your research handler. The agent pays the quoted price in USDC, then your endpoint runs and returns the result, with a signed receipt attached.

Refunds, when you choose to issue them, are a separate signed call recorded in your activity log.

route.ts
export const POST = requirePayment(
  { price: "$0.50" },
  async (req) => Response.json(await synthesize(await req.json())),
);

Provable revenue

Every settled call lands USDC in your wallet on Base and produces an Ed25519 receipt. Your income is auditable down to the request.

Webhooks notify your systems on each sale so you can reconcile usage and revenue automatically.

FAQ

Can prices vary per request?

Yes — set the price dynamically based on the job's size or complexity before charging.

How do refunds work?

On-chain settlement is final, so refunds are an explicit signed call that returns USDC to the payer and logs the reversal.

Will this slow my endpoint down?

The payment handshake is one extra round trip on the first call; the work runs only after settlement.

Start selling to agents.

Wrap an endpoint, set a price, get paid in USDC.

Get started