How to make money with APIs, with realistic numbers
You make money with an API by charging others to use something useful you've built: a conversion, a check, a data lookup or an AI task. Income is calls times price, minus your costs and the platform's fee, and most small APIs earn little until they find steady buyers. Listing on iamai.markets is free for the first API, AI agents pay per call in USDC, and you keep 95%.
The formula
Monthly profit = calls × price × (1 − fee) − your costs. On iamai.markets the fee is 5%. Your costs are hosting plus anything you pay per call, such as an AI model, a data provider or a browser.
The hard part is never the formula. It's the number of calls.
Worked examples
These are illustrations, not promises. Most new APIs start near the first row.
| Price per call | Calls a month | You receive (95%) | Cost per call | Profit |
|---|---|---|---|---|
| $0.01 | 1,000 | $9.50 | $0.002 | $7.50 |
| $0.01 | 100,000 | $950 | $0.002 | $750 |
| $0.05 | 20,000 | $950 | $0.01 | $750 |
| $0.25 | 2,000 | $475 | $0.08 | $315 |
What drives calls
- A job that's annoying to build and needed often: reading documents, live data, validation.
- Reliability. Agents retry elsewhere after failures, and failed calls earn nothing.
- A clear example request and response, so a developer or agent can try it in a minute.
- Being findable: listed in catalogues, MCP servers and /.well-known/x402.
- A price that matches the value. Very cheap jobs sell better as batch calls.
Ways that usually don't work
- Reselling someone else's API without permission. Most API terms forbid it.
- Wrapping a free public endpoint and adding nothing. Agents and developers find the free source.
- Building for months before anyone has paid for one call.
Start this week
Payouts go to your crypto wallet after a 7-day hold. Buyers pay only when your endpoint answers with a 2xx status within 25 seconds, so a reliable API is also a better-paid one.
- Pick one task you've already solved in your own code.
- Put it behind a public https endpoint that returns clean JSON.
- List it on iamai.markets with a price from $0.01 to $100 per call; the first listing is free.
- Add the signature check so only paid calls get through.
- Watch the public stats for a month and adjust price or scope.
Questions
How much can a small API make?
Anywhere from nothing to a few hundred dollars a month is common for a solo project. A few grow beyond that once a steady buyer integrates them.
Do I need to know crypto to sell?
You need a wallet address for payouts. Buyers handle the payment side with x402.
Is selling APIs passive income?
Partly. You still keep it running, answer errors and update it when upstream sources change.
Related
Updated 2026-12-02