Search and scraping APIs your AI agent can pay per request

Your agent needs web search, and every provider wants the same thing first: an account, an API key, a monthly plan. You may not need to switch providers to avoid that. Several search APIs now accept x402, so an agent can pay each call when it makes it, in USDC, without an account. This guide lists which ones, at what price, what they cover, and how to choose.

Guide by KeybanUpdated 8 min read

Search APIs an agent pays per request

A search API payable per request lets an AI agent pay each call at the moment it makes it, usually a fraction of a cent in USDC through the x402 protocol, with no account, API key or monthly plan. As of 4 December 2026, Exa, Tavily, You.com and the Brave Search API sell searches this way, and Browserbase sells browser sessions.

For most of these providers, the price is the same as with an API key. What changes is everything around it: who opens the account, where the key lives, and who watches the spending.

Why teams look for an alternative

Search APIs were sold to developers, by the month. That model fits an application with steady traffic. It fits an agent less well:

  • One account per provider. An agent that combines search, page reading and company data needs three accounts, three plans and three invoices before its first task.
  • A key in the agent’s environment. An API key is a secret the agent can read. An instruction hidden in a web page can try to make it reveal or misuse that key, and a leaked key keeps working until someone revokes it.
  • Plans sized by the month. Agent usage comes in bursts. Credits go unused one month and run out the next.
  • No way to try a new provider on the spot. An agent that finds a better source during a task cannot sign up to it.

How paying per request works

The agent calls the API without a key. The API answers 402 Payment Required with its price, the token, the network and the address to pay. The agent’s wallet signs a USDC payment for exactly that amount, and the agent sends the request again with the payment attached. The API has the payment settled and returns the results, in a few seconds.

Because the price arrives before the payment, the wallet can compare it with a limit and refuse. The protocol itself, its vocabulary and what it leaves out are covered in x402: how AI agents pay for APIs.

Reading pages and driving a browser

On the scraping side, fewer providers sell per request themselves.

  • Exa Contents returns the text of pages your agent already has the address of, at $0.001 a page over x402.
  • Browserbase sells cloud browser sessions your agent can drive, for pages that need JavaScript or clicks: $0.01 for 5 minutes, $0.12 an hour, in USDC on Base or Solana.
  • Apify accepts x402 to buy a prepaid API token, from $1, that then runs its Actors. Apify marks the integration as experimental. It is a top-up, not a payment per request.
  • Firecrawl and ScrapeGraphAI have documented x402 endpoints, but those endpoints answered 404 on 4 December 2026. Some gateways resell Firecrawl through x402.

Contact and company data, which the large providers sell over x402 only through gateways, is covered in lead enrichment for AI agents.

Per request or API key: which costs less?

Per search, the two are usually level. Exa, You.com and Brave charge the same price either way. At Tavily, an advanced search costs $0.01 over x402, against $0.016 on pay-as-you-go credits and $0.015 to $0.01 on the monthly plans.

Take an agent that runs 300 searches a month. Over x402, that is $1.50 at You.com or Brave, $3 at Tavily. With an account, the free allowance often covers it: Tavily gives 1,000 credits a month, enough for 500 advanced searches, and Brave and Exa give $5 and $10 of free usage a month. On price alone, a single provider at low volume is cheaper with an account.

The case for paying per request lies elsewhere:

  • no account to open, and no key to store or rotate, for each provider;
  • one balance and one set of limits for every provider the agent pays;
  • a new provider can be tried on the spot, for a few cents.

An API key remains the better choice for one provider at steady volume, when a free allowance covers the need, or when you need usage analytics and team access. It is also the only choice if your users’ queries are covered by a data-retention commitment: You.com states that Zero Data Retention is not available on x402 requests, because no account carries the agreement.

How to choose a service your agent pays per request

  • Prefer the provider’s own endpoint. A gateway that resells several providers sits on one domain. Allowing that domain allows every provider behind it.
  • Check the endpoint still answers before relying on it. A documented endpoint can disappear, as Firecrawl’s and ScrapeGraphAI’s did. Ask for the price without paying first.
  • Read what the price covers. Exa caps x402 requests at 10 results, Tavily sells only advanced search over x402, You.com adds $0.001 per result with live crawling.
  • Check the network and the token. The service lists the ones it accepts; your wallet must pay on one of them.
  • Cap each payment. A search costs less than two cents. A cap of a few cents per payment stops a wrong or manipulated price before it is paid.
  • Allow only the domains you use, so that a page your agent reads cannot send it to pay somewhere else. The other controls are described in spending limits for AI agents.

Paying search APIs with Keyban

Keyban’s Agent Wallet pays x402 services for your agents, and checks every payment against a policy you set before it is signed.

Find, check, pay

  • discover_x402_services searches Keyban’s directory of x402 services, copied twice a day from the Coinbase and Orthogonal directories. Services the wallet cannot pay are marked as such.
  • x402_info reads the live price of a request, without paying.
  • x402_pay makes the request and pays, within the policy.

The limits it applies

A cap per payment; day, week and month budgets; the domains the agent may pay; an approval threshold above which the payment waits for a person. Keyban reads the price and the recipient from the service’s 402 response itself, never from the agent. For a recurring job, such as a weekly market watch, a mission caps what each run may spend.

What it pays today

A fixed price in USDC, with the exact scheme, on Base mainnet and XDC mainnet. The search services above quote exactly that on Base. You fund the wallet with USDC you already hold, or by card from 5 euros.

€1 on us at sign-up, no card needed. Free for three months, then top up in euros by card.

Questions

Is there a Tavily alternative without a subscription?

Tavily itself sells advanced search per request over x402, at $0.01 a call in USDC on Base, with no account and no API key. Exa (from $0.004), You.com ($0.005) and the Brave Search API ($0.005) do the same. Prices as of 4 December 2026.

Can an AI agent use Firecrawl without an API key?

Not directly as of 4 December 2026: the x402 endpoint Firecrawl documented answered 404 that day. Some gateways resell Firecrawl through x402. Otherwise Firecrawl requires an account, with 1,000 free credits a month and paid plans from $19 a month. To read pages per request, Exa Contents charges $0.001 a page over x402.

Is there a SerpAPI alternative without a monthly plan?

SerpAPI returns Google results pages and is sold by monthly plan, from $25 for 1,000 searches, with 250 free searches a month. We found no x402 endpoint from SerpAPI on 4 December 2026. If your agent needs web results rather than Google’s page specifically, the Brave Search API and You.com sell searches per request at $0.005 over x402.

How much does a web search cost per request?

Between $0.004 and $0.015 over x402 as of 4 December 2026, depending on the provider and the depth of the search: $0.005 at You.com and Brave, $0.004 to $0.015 at Exa, $0.01 for an advanced search at Tavily. The 402 response of each request gives the exact price.

Is paying per request more expensive than an API key?

Rarely. Exa, You.com and Brave charge the same price either way, and Tavily’s x402 price for an advanced search ($0.01) is below its pay-as-you-go rate ($0.016). What you give up are the free monthly allowances that come with an account.

Can an AI agent use Apify without an account?

Yes, through Apify’s x402 integration, which Apify marks as experimental. The agent pays at least $1 in USDC on Base or Solana for a prepaid Apify API token, then runs Actors with it. It is a top-up, not a payment per request.

Do I need crypto to pay search APIs per request?

The payment is made in USDC, a stablecoin that follows the US dollar. With Keyban, you can fund your agent’s wallet by card from 5 euros, without holding crypto beforehand.

NEXT STEP

Let your agent pay its searches, within limits.

Add Keyban to your agent, sign in, set its cap. €1 on us at sign-up, no card needed. Free for three months, then top up in euros by card.

Open my agent’s account — €1 on us