Getting your Trinity Audio player ready...

TL;DR: APIs are often priced by usage but paid through subscriptions, credits, or later billing. Micropayments can price individual calls, queries, and artificial intelligence (AI) inferences directly, turning APIs into markets where machines buy exactly what they need.

Key Takeaways:

In 2026, most APIs already measure what you use. A provider might charge for 10,000 requests, sell monthly credits, meter AI tokens, or invoice customers based on how much computing power they consume. However, the software action and the payment are usually separate.

The API call occurs immediately, while payment is processed later via a subscription, prepaid balance, credit card, or monthly bill.

Micropayments can bring the two together. If a machine can pay a tiny amount at the moment it requests something, then the individual API call itself becomes something that can be bought and sold. The same idea can apply to a database query, AI inference, software tool, market-data lookup, or almost any other digital resource.

This way, the smallest useful unit of software can become a product.

APIs can be metered without being paid per use

Think about how typical paid APIs work today. A developer creates an account, enters payment information, receives an API key, chooses a plan or buys credits, and then starts making requests. The provider records those requests and eventually either deducts credits or issues a bill. The service may technically cost one cent per call, but nobody is actually sending a one-cent payment every time the API is used.

There are good reasons for this. Conventional payment infrastructure has fixed costs, account requirements, fraud controls, settlement processes, and other overheads that make tiny individual payments awkward. As a result, software companies bundle many small actions into a single package.

Cloudflare says most software businesses still sell through subscriptions or prepaid credits, even when the underlying resource is consumed on a per-request basis. Its Monetization Gateway now takes a different approach, allowing sellers to price individual requests and apply fixed or variable charges directly to matching traffic.

This creates a subtle but important difference—an API can already be metered per request, but micropayments allow it to be paid per request.

The smallest useful unit can become a product

Once payment becomes cheap enough, software doesn’t need to be sold only in large bundles.

Imagine a company owns a useful but highly specialized database. Most customers only need one or two records occasionally, but the company currently sells access for $50 per month because creating accounts, processing payments, and managing subscriptions for tiny individual purchases isn’t worthwhile.

Micropayments completely change the economics. One database row could cost a fraction of a penny while an AI model could charge for one inference, a weather service for one observation, a fraud provider for one check, or a mapping service for one route calculation.

Cloudflare’s current payment infrastructure already allows sellers to charge per request and supports variable pricing where the final amount depends on the work performed. Its minimum settlement through Monetization Gateway is $0.001.

The important change isn’t simply that the customer pays less; it’s that resources that weren’t worth selling individually can become commercially viable. This can create markets for specialist datasets, small software functions, archived information, compute, research, sensor data, and other digital resources that are currently free, bundled into subscriptions, or unavailable altogether.

When transaction costs become small enough, previously uneconomic digital resources can develop prices of their own.

Back to the top ↑

Machine customers make this model more useful

Humans don’t want to authorize hundreds of tiny transactions every day.

Machines don’t have the same problem. An AI agent researching a company might buy one corporate-registry record, request a commodity price from another provider, pay for a specialist news archive, run an inference against a third-party model, and purchase a shipping quote from another API.

Under the traditional model, using those five services could require five accounts, five API keys, several billing arrangements, and perhaps multiple subscriptions. A machine-payment model can be much simpler—the agent requests a resource, receives a price, decides whether the resource is worth buying, pays, and continues.

This is already moving beyond theory. Stripe launched its Machine Payments Protocol in March 2026 to let agents pay programmatically for resources, APIs, MCP tools, and other HTTP endpoints. Parallel Web Systems is already using the system to let agents pay per API call for web access, while Browserbase allows agents to pay per browser session. Stripe also says agents may make thousands of small decisions per day and identifies pay-per-call and pay-per-task pricing as natural models for machine customers.

This changes the role of subscriptions. For humans, subscriptions often reduce payment friction because people don’t want to approve every small purchase individually. However, for machines, subscriptions can create friction because an agent may only need a single resource from a provider once.

A machine with its own wallet can buy the exact resource it needs and move on.

Back to the top ↑

BRC-166 brings payment into the API call

HTTP already has a status code designed for situations where payment is required.

A client requests a resource, the server returns 402 Payment Required, the client pays, and the request continues. The broader machine-payments industry is now actively building around this model. Cloudflare’s Monetization Gateway uses HTTP 402 to charge for APIs, websites, datasets, and MCP tools directly inside the request flow, without redirecting the buyer through a checkout page.

BRC-166 applies the same idea to BSV. Now an official standard, it defines a simple pay-per-call model using ordinary P2PKH transactions. A server returns a 402 response containing the price and a fresh payment address, while the client creates and signs a BSV transaction and retries the request with the payment attached. The server verifies and broadcasts the transaction before returning the resource.

The important part is what isn’t required. The software doesn’t need to create an account with the API provider, buy credits, or adopt a larger BSV wallet identity system. It only needs the ability to hold BSV and construct and sign the transaction required to pay for the request.

This model is deliberately pay-per-call. One payment buys one resource access, and another call generates another payment requirement. A live implementation at bsv.cx already works this way, with each paid request returning the resource and the settlement transaction ID as the receipt.

BSV blockchain has also experimented with this economic model before. Codugh built an API marketplace where developers could receive automated micropayments whenever their APIs were called, rather than waiting for usage to be bundled into larger payouts.

The difference today is that AI agents make the use case much easier to see.

Back to the top ↑

Software-scale markets need software-scale payments

Once individual software actions can carry prices, the potential transaction volume changes significantly.

One person may make a handful of purchases in a day, but one AI agent could make thousands of API calls, tool requests, database queries, and inference requests while carrying out a single complex task. Millions of agents doing the same would generate enormous numbers of tiny economic transactions.

That means the payment infrastructure needs to work at the same granularity as the software, fees need to remain low enough that a payment doesn’t cost more than the resource being purchased, and transactions need to be accepted quickly enough that payment doesn’t become the bottleneck, while the network needs enough capacity to handle machine-generated activity at large scale.

This is where scalable public blockchains become relevant. The interesting question isn’t simply whether blockchain can process more transactions; it’s whether digital payments can become cheap and automated enough that software no longer needs to bundle small economic actions together simply because paying for them individually is impractical.

If that happens, an API doesn’t necessarily need a monthly plan, and a database doesn’t necessarily need a subscription. Instead, the individual query can have its own price, allowing machines to buy software and information in useful units one at a time.

Back to the top ↑

FAQs:

What is a pay-per-call API?
A pay-per-call API charges for individual requests rather than requiring the customer to buy a subscription or prepaid package.

Aren’t APIs already priced per request?
Many are metered per request, but payment is usually handled later through subscriptions, prepaid credits, or invoices. Native micropayments can attach the payment directly to the individual request.

Why are AI agents suited to micropayments?
AI agents can make many small purchasing decisions automatically and may only need a resource once. This makes paying for individual queries or tool calls more practical than maintaining subscriptions with every provider.

What is BRC-166?
BRC-166 is a proposed BSV standard for settling HTTP 402 requests using simple P2PKH transactions. One payment buys access to a single resource without requiring the client to adopt a larger BSV wallet ecosystem.

Why does scalability matter for pay-per-call software?
If individual API requests, database queries, AI inferences, and tool calls each generate payments, machine activity can create a large number of small transactions. Therefore, the payment infrastructure needs high throughput and reliably low costs.

Back to the top ↑

Watch: Building the Tech of Tomorrow with Blockchain and AI

Advertisement
Advertisement