Hacker News new | past | comments | ask | show | jobs | submit

Brave Search API now accepts agentic payments via the x402 protocol

https://brave.com/blog/search-api-agentic-payments/
loading story #50483030
I implemented x402 across a very heavily crawled site and have yet to see any transactions go through. Possibly it's not working, but I haven't seen any yet. Reading the x402 reddit you see other similar comments. People joking that the only people putting money into x402 are the people testing to see if x402 works.

I do want it to work, so just curious does anyone have any positive anecdotes? Can this naturally get picked up by crawlers?

loading story #50482483
Never heard of a use case. But wild speculation is fun - it seems very unlikely that crawlers will be the first one.

- The per-API-call return probably needs to be fairly high with obvious value to justify paying for something. Downloading a .tar.gz of the site, rather than a crawler.

- The world seems to be reforming political blocks, so it'll likely be a cross-bloc transaction where the two sides don't have a fiat transfer system available for use.

- Probably something that is politically sensitive in the customer's bloc.

So my guess would be that the first use case will be some illegal service that could have been implemented with an AWS Lambda, probably hosted somewhere questionable (Russia a candidate). Probably branching out into politically sensitive topics.

> People joking that the only people putting money into x402 are the people testing to see if x402 works.

It'll be that way until suddenly it works for someone, like how bitcoin was a joke up until some tipping point where the financiers started moving in. It'll take a big kick initially to convince people figuring out crypto is worth it just for the sake of making a web trade.

loading story #50481068
loading story #50482058
loading story #50481185
loading story #50481243
I think it will boil down to find out how many people out there are not willing to trust their agent with their credit card but are willing to give it a prepaid debit card - which effectively it's what Coinbase is providing, but dressing it as cryptocurrency.

It also means that if this starts getting any traction, then we could expect to start a nice bump in prepaid debit card adoption.

They tried it before with BAT. I ended up getting a few cents on a website with 1M unique/month.
loading story #50481169
Arguably it is too late, industrial scale piracy of user input demands a hapless data-entry caste. Even with the new content origin obfuscation attempts, watermarking, and 3rd world human content moderators.

No one is willingly going to tack on a variable cost to their business revenue model. At best, the crawlers/users will simply skip your hosts, or operate in places where gleaning data is still perfectly legal. =3

I want to congratulate the ladies and gents who worked on defining the HTTP protocol, for their foresight of including the 402 response.

Would love to hear their thoughts and visions of what the web could be at the time.

loading story #50481154
This seems quite expensive.

$5 for 1000 searches. A lot of basic ChatGPT sessions can easily do 30 web searches , which would already cost $0.15 .

This brings up an interesting concern: providing search obviously isn't free. It has been financed through ads thus far. What happens when the majority of searches are done by agents?

Kagi's API is $12 for 1000 searches. But from "human using a search engine" experience, their results are way better than Brave.

Exa is $4 for 1000 searches.

If you want Google results, SerpApi gives 5000 searches for $75. They are not pay-as-you-go, and more searches give you better pricing. Probably if you're setting this up for your whole company you can get a pretty good deal.

loading story #50480855
loading story #50479977
loading story #50481679
loading story #50481688
I was told that Gemini Flash Lite models are the best search APIs.
loading story #50482274
Couldn’t ads work on agents too? :)
loading story #50479538
loading story #50482280
Are we going to see all search engines adopting this model? Will this be the future of search engine revenue? May end up more pro-consumer than ads and tracking.
Humans hate micropayments but maybe it will be hidden somehow.
People only hate the inconvenience of existing micro payments.

The idea of paying for usage is actually very appealing.

This is not true. The psychology of positive and negative events suggests that to optimize your happiness, you should "lump" negative things and "split" positive things.

People do this intuitively with payments (negative). They'll buy a timeshare or a boat (expensive, "lump" cost) when it would be much cheaper on net to stay at resorts or rent a boat and pay by usage.

They'll pay for subscriptions (automatic payments) rather than pay per experience. Many people will pay $20/mo for Netflix, watch it twice a month, but would never rent movies for $3 on Amazon.

They'll pay a big premium for "unlimited" data plans when this actually makes little sense for anyone vs. paying by usage.

loading story #50480540
loading story #50480636
loading story #50481966
loading story #50482097
I am human and I'd love to just pay a small fee to read an article instead of using a russian proxy site to avoid needing 45 abos per month.
Yet everybody relying on infrastructure, like electricity, water, gas, etc, is familiar with a meter, paying upfront based on an estimation of consumption, then getting money back.

One could easily imagine that, or that your AI provider, being ChatGPT, Anthropic or Cursor or even neo clouds where you run your own compute on, provide a weekly or monthly aggregated payment not just for computes but for paid traffic. They have the balance sheet (sigh) to front it.

You'd pay $20 for compute and $8.7896813 for traffic or you'd have a "budget" of $10 of traffic included in your $30 bundle.

I think customers would accept that if explain that otherwise their queries wouldn't be as nice and also that the providers of content would get a share.

anyone using an llm is hard stuck in token micropayments regardless, i doubt one more will make a significant difference to them if it is integrated into pricing well enough
loading story #50481812
I think this is going to be the future of the internet in general, not just search engines.
Not with permissionless blockchain payments. These Brave guys have learned nothing from North Korea.
I was wondering recently whether LLMs would finally usher in HTTP micropayments. And there we are! Let's see if it works this time.
I just updated my Brave browser on mobile, and it now replaces Google Search with Brave Search by default. Initially, I wanted to switch it back to Google Search, but finding the relevant setting was such a hassle that I was too lazy to bother. So, I just kept using Brave Search for my daily tasks. Surprisingly, the search results aren't that bad. At this point, I might have permanently switched from Google Search to Brave Search.
i just think its an extremely naive idea to move purchasing decisions to agents.
Why though? If you own a company, you delegate purchasing to human employees, too. And sometimes they buy crap and make poor decisions. It comes with the risk, and you mitigate by budgeting. You will have to asses your employees for competence, same as you do with agents. You don't give a new and unknown employee a big budget, while your trusted ones slowly get more and more control.
loading story #50479796
Brave is a series scam company. Naïve marks are what they live by.
How does this work with non USD? Reminbi? Euro? Crypto?
I really doubt this will catch on.
Same, it is built on the USDC stable coin and if crypto has taught me anything it is that it is that people do not trust it (ironically). Companies like Circle do absolutely nothing to protect their users while banks etc have mechanisms by which a user has a path to recourse.

Granted this is for micropayments and each search will most likely cost pennies but it still means loading up some real money into a digital wallet which an agent will blindly (and most likely very inefficiently) spend at its own discretion.

Time will tell, I guess.

loading story #50479991
This may be the least stupid use of the block chain I've ever heard of.

Mind you Visa could have implemented this when everyone first asked back in 1999, but hey here we are. Rather than micro payments instead we let ads do their best to ruin western civilization.

Genuine question: why do you need the blockchain to do this? I use Kagi's search API with AI. No blockchain. Just great search.
loading story #50479296
loading story #50479802
loading story #50479066
"The easiest path to query via x402 is to install Purl Wallet, a Stripe-developed CLI wallet for your agent. Set up your wallet, top it off using Base-native USDC, and start querying today."

for 99% of people the first thing they need to do is to understand x402, Purl Wallet, Stripe-developed CLI wallet and base-native USDC.

Funny how crypto tries to snake itself back into our ecosystem again and is still as shitty as it was bfore.

nobody wants paid impressions to hit agents, and agents certainly aren’t going to convert, so this model makes perfect sense. once humans realize they too can have the premium experience the agents are getting it will be the end of adtech!
Sigh, still no private payments through Monero support from a privacy focused browser with crypto features.
https://xmr402.org/

I can't vouch for the quality of the project.

Monero has slow confirmation times. It requires a 0-conf to be able to do micropayments. Most wallets also require a full 10 confirmations before you can use your balance.

There isn't Lightning on Monero, how would you do micropayments?
Can’t wait for the entirety of the web to get paywalled to the max. And thereby have your identity tied to your information consumption history.
I prefer my agents crypto free
This "Search" API https://arstechnica.com/tech-policy/2026/11/nyt-demands-brav... ? So it is the "pay us to skip the paywall" service :D
The part I keep coming back to isn't the payment rail, it's what happens before the payment. At $0.005 a search the unit price looks trivial, but the agents I've run don't search once — they re-search the same question with slightly different phrasing when the first results don't quite fit, and each retry is a fresh paid call. Removing the API key also removes the one place I used to see that happening, the monthly bill.

So the missing piece for me isn't 402 itself, it's a budget envelope around it: a per-task cap, client-side dedup/caching of near-identical queries, and a receipt ledger I can audit after the run. Without that, making payment frictionless mostly makes runaway spend frictionless too. Does Brave's proxy do any dedup or idempotency for repeated identical queries, or is that entirely left to the harness?

This comment feels LLM-written.
> The part I keep coming back to isn't the payment rail,

Why are all of these comment bots trained to keep coming back to something?[1][2]

[1] https://news.ycombinator.com/item?id=50413821

[2] https://news.ycombinator.com/item?id=50347052

loading story #50479800