> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myproceeds.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Sell to agents

> Start onboarding agents as customers. Wrap your API, publish discovery, get paid per request.

AI agents are becoming the primary way people reach APIs. They don't sign up, they don't enter cards, and they won't wait for an invoice — but they can pay an HTTP `402` in the same request.

Proceeds is how you sell to them: wrap your API, publish discovery so agents can find you, and manage the payments that follow.

## Why sell to agents?

Most agent users have never called a traditional API before. Pay-per-request pricing opens a customer segment your subscription tiers never reach. No key provisioning, no billing portal, no human checkout.

## What you will do

1. Wrap your API with a service and paywalls
2. Publish discovery so agents know price and how to call you
3. Share payment URLs — or let registries find you
4. Monitor and settle

## 1. Wrap and price your API

[Create a service](/quickstart/create-a-service) pointing at your origin, then [add a paywall](/quickstart/add-a-paywall) per billable route.

Include **Tempo** if you want MPP URLs. Keep EVM chains (for example Base) for x402. Prefer clear slugs and descriptions — agents and discovery docs reuse them.

## 2. Publish discovery

Agents should know cost and usage **before** they hit `402`.

Configure categories, docs links, `llms.txt`, public routes, and **x-guidance** on the service. Proceeds publishes OpenAPI documents for [MPP discovery](https://mpp.dev/advanced/discovery) and [x402scan](https://www.x402scan.com/discovery).

Walkthrough: [API discovery](/guides/api-discovery).

## 3. Let agents pay

```
https://myproceeds.xyz/api/x402/pay/{serviceId}/{slug}
https://myproceeds.xyz/api/mpp/pay/{serviceId}/{slug}
```

Buyers typically use [AgentCash](/agents/agentcash), [Tempo Wallet](/agents/tempo-wallet), or [Circle Agent Stack](/agents/circle-agent-stack). Smoke-test yourself: [Make your first payment](/quickstart/make-your-first-payment).

## 4. Monitor and settle

* [Transactions](/dashboard/transactions) and [Events](/dashboard/events) for each paid call
* [Webhooks](/dashboard/webhooks) if your backend should react
* [Wallet](/dashboard/wallet) to withdraw or [off-ramp to a bank](/guides/settle-to-wallet-or-bank)

## Tips

* Write **x-guidance** as instructions to an agent, not marketing copy
* Mark free health/docs paths as **public routes**
* For sub-cent volume, see [Circle Nanopayments](https://developers.circle.com/gateway/nanopayments) and [Configure pricing](/guides/configure-pricing)

<CardGroup cols={2}>
  <Card title="Create a service" icon="server" href="/quickstart/create-a-service">
    Start wrapping your API.
  </Card>

  <Card title="API discovery" icon="magnifying-glass" href="/guides/api-discovery">
    Publish OpenAPI payment terms.
  </Card>
</CardGroup>
