Fireship · @fireship
AI agents are paying each other now…
Uploaded November 26, 2025 · Length 4:51
Summary
Exploring X42, a new protocol enabling micro payments with zero fees, and its potential to revolutionize internet payments.
- x42
- micro payments
- zero fees
- internet payments
- ai economy
- machine to machine payments
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
Earlier this year, online payments
- 0:01
changed forever, and you probably didn't
- 0:03
even notice. Every internet user has
- 0:05
heard of the HTTP status code 404 not
- 0:08
found. But if you're a web developer,
- 0:10
you might have nightmares about status
- 0:12
code 500, internal server error, which
- 0:14
happens when your shoddy deployed code
- 0:16
breaks in production. But there's one
- 0:18
HTTP status code that's just been
- 0:20
sitting there since 1997, waiting for
- 0:22
its moment to shine, 402, payment
- 0:25
required. It was reserved for future use
- 0:27
back when the web was young and
- 0:28
optimistic. But now, three decades
- 0:30
later, we're still figuring out how to
- 0:31
handle money on the internet without
- 0:33
giving platforms like Stripe a 3% cut
- 0:35
before the privilege of pressing some
- 0:37
buttons. Well, that's about to change
- 0:39
thanks to a new protocol developed by
- 0:40
Coinbase called X42 that enables micro
- 0:43
payments that can turn every API request
- 0:46
into a tiny cash register with zero
- 0:48
fees. And what's especially crazy is
- 0:50
that these payments are instantaneous,
- 0:52
frictionless, and open the door for
- 0:54
machine toachine payments. Like, imagine
- 0:56
an entire AI economy where AI agents are
- 0:59
paying other AI agents to do whatever AI
- 1:01
agents do. What could possibly go wrong?
- 1:04
In today's video, we'll find out by
- 1:05
taking a closer look at X42 and its
- 1:07
promise to revolutionize the way money
- 1:09
moves on the internet. It is November
- 1:11
26, 2025, and you're watching the Code
- 1:14
Report. One thing that sucks about
- 1:15
platforms like Stripe is that they
- 1:17
charge a 30 cent fee per transaction,
- 1:19
which makes them overly complex for
- 1:21
certain use cases. Like if you have an
- 1:23
API where you charge one penny per
- 1:25
request you'd be running at a negative
- 1:26
3,000% profit margin. That's not
- 1:29
acceptable even by Silicon Valley
- 1:30
standards. So the solution is to force
- 1:33
users to authenticate OOTH to verify a
- 1:35
credit card, then either buy
- 1:36
subscriptions or credits on your
- 1:38
platform for a higher dollar amount and
- 1:39
then replenish them when they run out.
- 1:41
It's complicated, but X42 dramatically
- 1:44
simplifies this workflow. In fact, it
- 1:46
only takes one line of middleware code
- 1:47
in Node.js to get up and running. If a
- 1:49
buyer makes a request to a paid API
- 1:51
endpoint, the server responds with an
- 1:53
HTTP 402 code, which means a payment is
- 1:56
required to complete the request. The
- 1:58
user would then see a page like this
- 1:59
asking them to connect a wallet at which


