Loomal

Sell legal documents & templates to agents

Upload a contract template, set a price, and Loomal hosts it behind a paywall agents can pay per download. No server needed.

A well-drafted NDA, services agreement, or compliance policy is worth money, and agents drafting on behalf of their users will pay for a clean template rather than hallucinate one. The problem has always been charging for a single download without standing up a store.

With Loomal-hosted endpoints you don't run anything. Upload the document, set a USDC price, and Loomal serves it behind an x402 paywall at a stable URL that any agent can pay per download.

No store, no server

The hard part of selling documents has always been the plumbing: a storefront, a checkout, a way to deliver the file only after payment. Loomal removes all of it. Your template is served from a hosted endpoint and we handle delivery, the paywall, and settlement.

Update the document or re-price it anytime from the console. A new revision of your master services agreement is a single upload.

Priced per download

Each time an agent pays the challenge, it gets the document and you get the USDC. Price a simple one-page form low and a negotiated 30-page agreement higher, your call. Because it's standard x402, any agent can buy it without a custom integration.

If you'd rather serve from your own backend, the same paywall wraps a route that returns the file.

route.ts
import { requirePayment } from "@loomal/sdk";

export const GET = requirePayment(
  { price: "$4.00" },
  async () => {
    const pdf = await getTemplate("mutual-nda");
    return new Response(pdf, { headers: { "content-type": "application/pdf" } });
  },
);

Found when an agent needs the document

Hosted listings appear in the Loomal marketplace and the discovery feed, so an agent tasked with drafting an agreement can find your template and pay for it on its own, no human checkout required.

Every download settles USDC to your non-custodial wallet on Base with a signed receipt. You keep all rights to your documents; Loomal only stores and serves them to paying agents.

FAQ

Do I need a server to sell a template?

No. Upload the document to a Loomal-hosted endpoint and we serve it behind the paywall at a stable URL.

Can I sell a bundle of templates?

Yes. Host each document separately or bundle them behind one endpoint at a single price.

Do I keep ownership and licensing control?

Yes. You retain all rights; Loomal only delivers the file to agents that have paid.

Start selling to agents.

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

Get started