Skip to main content
For API Providers

Sell your API to AI agents. Get paid autonomously.

Agents are a new buyer of your API. Let them sign up, top up, and pay via credit card, with no human in the loop.

Today

Agents Can't Onboard

Your signup flow needs a human.

  • Agent traffic grows. Your revenue from it doesn't.
  • Agents hardcode a human's API key. Security mess, no accountability.
  • Hitting your 402 mid-task stops the agent dead.
  • Stripe Checkout doesn't work without a browser and a person.
With Nevermined

Open the Front Door

One small endpoint accepts agent payments. Your product stays the same.

  • Agents provision and top up keys on a delegated card.
  • The end user enrolls once, sets a spend cap, walks away.
  • Your existing pricing, billing, and API surface are untouched.
  • Card enrollment and settlement are handled by Nevermined.
In production

Three providers, one pattern.

Real APIs already sell themselves to agents through Nevermined: the agent discovers the endpoint, pays on a delegated card, and gets a working key back. No human in the loop.

Exa
Live
Search API for agents

Agents pay $7 on a delegated card and get an Exa API key preloaded with credits. When it runs dry, the same endpoint tops it up.

Integration docs
You.com
Live
Web search APIs for agents

You.com supports agent-native purchasing via Nevermined as one way to buy a key: an agent pays $5 and gets back a working You.com API key, discoverable straight from You.com's llms.txt.

Integration docs
Baselayer
Launching soon
KYB & business-data API

An agent will buy a Baselayer API key on its own, found through Baselayer's llms.txt and its machine-payments markdown, backed by a Nevermined plan.

Integration guide at launch
What You Build

Five steps. One small endpoint.

High-level recipe below. The full integration guide in our docs covers idempotency, error responses, sandbox vs live, and the facilitator API in detail.

  1. 1

    Create a plan

    On nevermined.app, choose pay-as-you-go pricing (single price per purchase), set your price, and get a plan ID. Or do it programmatically with your NVM API key via the SDK.

  2. 2

    Expose one endpoint

    Accepts a payment-signature header. New route or existing one. Your call. Existing customers keep their flow unchanged.

  3. 3

    Verify

    Call facilitator.verifyPermissions(...). Missing or invalid? Return 402 with the payment requirements.

  4. 4

    Do your business logic

    Provision a key, top up credits, unlock a resource: whatever your product is.

  5. 5

    Settle

    Call facilitator.settlePermissions(...). Card charged, credits burned, you get paid.

server.ts
// Your endpoint, accepting x402 tokens from agents
import { Payments, buildPaymentRequired } from "@nevermined-io/payments"

const payments = Payments.getInstance({
  nvmApiKey: process.env.NVM_API_KEY!,
  environment: "live",
})

const paymentRequired = buildPaymentRequired(process.env.PLAN_ID!, {
  endpoint: "/purchase-key",
  httpVerb: "POST",
  scheme: "nvm:card-delegation",
})

app.post("/purchase-key", async (req, res) => {
  const token = req.header("payment-signature")
  if (!token) return res.status(402).json(paymentRequired)

  const verification = await payments.facilitator.verifyPermissions({ paymentRequired, x402AccessToken: token, maxAmount: 1n })
  if (!verification.isValid) return res.status(402).json(paymentRequired)

  const apiKey = await provisionOrTopUp(req)
  await payments.facilitator.settlePermissions({ paymentRequired, x402AccessToken: token, maxAmount: 1n })

  res.json({ apiKey })
})

Idempotent token replays

Cache token → result so a replayed token returns the same response, without re-running your business logic. Agents retry.

402 on your regular endpoints

When credits run dry, return 402 with a top-up hint. The agent loops back and pays again.

The pattern

Publish once. Every agent finds you.

Agents don't read your HTML - they read your llms.txt and its .md mirror. List Nevermined there, back it with a plan, and any agent can discover the endpoint and buy a key. It is the same recipe Exa, You.com, and Baselayer run.

1 · llms.txtIndex
- [Nevermined](/integrations/nevermined.md):
  Autonomous agent payments
  via x402 card delegation.
2 · nevermined.mdMirror

The machine-payments doc: plan ID, the /purchase-key endpoint, and the agent-side snippet it needs to pay.

3 · responseKey
{
  "apiKey": "sk_live_a1b2…",
  "credits": 700
}

On a Premium Organization both files are auto-generated and served from a Nevermined endpoint - copy the canonical format to your own domain. The Exa integration guide is the template.

Easiest path

Ship as a Nevermined Organization.

A Premium org bundles everything above into one upgrade - agent-discoverable docs, embedded payment widgets, customers, webhooks, analytics, payouts, and multi-seat teams. You still publish your own mirror on your domain; you just get the format and tooling out of the box.

Why Nevermined, not DIY payment rails.

Stripe Checkout

Requires a browser and a person. Fine for humans, useless for an autonomous agent mid-task.

Roll your own rails

You'd build card enrollment, delegation lifecycle, KYC, dispute handling, and a buyer-side SDK. Months of work.

Nevermined

Drop in verify + settle. Card acquisition via Stripe or Visa Intelligent Commerce; payouts via Stripe Connect or PayPal Braintree. x402 standard. 2% on settled card volume, plus your processor's standard fees; see FAQ.

Discovery

Get listed in the Nevermined registry.

Listed providers appear in our public registry of agent-payable APIs, so any agent crawling Nevermined can find your service. Exa is listed today, with more providers being added. Open to additions.

Apply to be listed

Common questions

Selling your API to agents with Nevermined.

2% of settled card volume, deducted at settlement, plus your payment processor's standard fees. Custom rates for high-volume providers.

Pricing

Tier-based, with pilots and waivers for early partners.

Pricing is tied to a Nevermined Organization subscription. Settlement fees on agent payments are charged separately on settled volume.

Starter
Free

Publish plans and agents on a single-seat account. No org-only features (no widget, no auto-generated agent docs, no customer list).

Recommended
Premium Org
$250 / month

Widget card capture, auto-generated llms.txt + .md, customer list, webhooks, analytics, 5 seats.

Enterprise Org
$500 / month

Premium + unlimited agents and plans.

Pilot / whitelist / fee waiver

Talk to us before you ship if you're a launch partner, an early-stage API provider, or running a closed pilot. We can waive or reduce subscription and settlement fees in select circumstances. Contact us.

Ship It

Open your API to agent buyers.

Ship the integration in a day. Start earning the first time an agent hits your endpoint.