Earn money when AI agents
read your content.

AI agents consume your content for free. Soldi changes that. Install our middleware, set a price, get paid automatically.

middleware.ts
import { createSoldi } from "@soldi/middleware/next";

export const middleware = createSoldi({
  apiKey: process.env.SOLDI_API_KEY,
  defaultPrice: 0.005,
});

export const config = { matcher: ["/blog/:path*"] };

Three steps. Five minutes.

01

Install

npm install @soldi/middleware and add 3 lines of code to your project.

02

Set your price

Choose how much to charge per AI agent visit. Default: $0.005.

03

Get paid

AI agents pay automatically. Track revenue on your dashboard.

AI agents are reading your content for free.

You currently earn $0 from AI traffic. Soldi makes it $0.005 per visit. That adds up.

60%

of publisher traffic lost to AI search

96%

less referral traffic from AI answers

2x

AI bot traffic growth in early 2025

10,000 agent visits/day × $0.005

$50/day

$1,500/month

Built for publishers.

Any payment method

x402 (USDC) for crypto-native agents. Stripe for credit cards. Publishers don't need to understand crypto.

Smart agent detection

27 known AI agent patterns + header fingerprinting. Humans see your normal site.

Real-time dashboard

Revenue charts, agent analytics, pricing controls. See exactly who pays and how much.

3 lines of code

Next.js, Express, or Hono. Install the package, add the middleware, deploy. Done.

Free to install. We take 3%. You keep 97%.

No monthly fees. No setup costs. No minimum traffic. You only pay when you earn.

Questions & answers

What happens to human visitors?

Nothing. They see your normal site. Only AI agents see the paywall.

What if an agent can't pay?

It leaves. You earn $0 — same as today. No downside.

Which AI agents can pay?

Any agent with a crypto wallet (via x402) or credit card (via Stripe MPP). Coinbase, Stripe, and others are actively giving agents payment capabilities.

Do I need to understand crypto?

No. Connect Stripe and agents pay with regular credit cards. A crypto wallet is optional.

What platforms do you support?

Next.js, Express, and Hono today. WordPress plugin coming soon.

How do I get my money?

Crypto payments go directly to your wallet. Card payments go to your Stripe account. We never hold your funds.