API monetization examples

APIs make money in five common ways: pay per use (Twilio per message, OpenAI per token), tiered monthly plans, freemium with a free quota, a share of each transaction (Stripe), or as a feature that sells a bigger product. For a small API, pay per call is the simplest: no plans, no invoices. On iamai.markets you can charge from $0.01 per call with x402, and you keep 95%.

See pricing

Five models, with real examples

ModelWell-known exampleWorks best when
Pay per useTwilio (per message), OpenAI (per token)Usage varies a lot between customers
Tiered monthly plansMost screenshot, email and SEO APIsCustomers want a predictable bill
Freemium quotaGoogle Maps Platform (free monthly credit)You want developers to try before buying
Transaction shareStripe (a percentage of each payment)Your API moves money for the customer
Feature of a productNotion and Slack APIsThe API makes the main product stickier

Pay per call with x402

x402 uses the HTTP 402 Payment Required status. A caller sends a request, your endpoint answers 402 with the price, the caller's wallet pays in USDC on Base and repeats the request with a payment signature, and the result comes back. No sign-up or API key for the buyer, which suits AI agents calling APIs on their own.

On iamai.markets you attach your https endpoint to a listing and set a price between $0.01 and $100 per call. We handle the 402, the payment and the forwarding. Each call reaches you signed, and the buyer is charged only if your endpoint answers with a 2xx.

POST https://iamai.markets/api/listings/{id}/service
Authorization: Bearer iam_...
Content-Type: application/json

{"endpoint": "https://api.example.com/summarize", "method": "POST", "price_per_call_usd": 0.02}

Worked example: what you would earn

Example only, not a forecast. You keep 95% of each call. These are monthly totals before your own costs.

Calls per monthAt $0.01At $0.02At $0.05
1,000$9.50$19$47.50
10,000$95$190$475
100,000$950$1,900$4,750

Check your margin

Questions

What does the buyer need to call my API?

An x402 v2 client or Coinbase AgentKit with USDC on Base. No account on iamai.markets and no API key.

Am I charged if my endpoint fails?

No one is. The buyer is charged only when your endpoint answers with a 2xx, so failed calls cost nothing and earn nothing.

How do I know a call really came from iamai.markets?

Each forwarded call carries an X-Iamai-Signature header, an HMAC of the timestamp, call id, method, path and body with your signing secret. Reject anything that doesn't match.

Related

Updated 2026-12-01