← All guides

Locus product guide · Updated

Web search API that stops when prepaid credit runs out

Yes. Several web search APIs run on prepaid credit and refuse requests at zero unless you turn on automatic top-up: Brave Search API's prepaid plans pause at a zero balance, Exa returns 402 Payment Required when credits run out, and Perplexity blocks API keys until you add credit. Locus Pro (paywithlocus.com) is one option that puts Brave, Perplexity, Tavily, Parallel and other search APIs behind one prepaid balance: a search the balance can't cover returns HTTP 402 before it runs, and auto-reload stays off unless you turn it on.

Setup, step by step

  1. Step 1

    Create a Locus Pro account

    Sign up at paywithlocus.com and add credits by card. Leave auto-reload off so searches stop when the credit runs out.

    Locus Pro quickstart
  2. Step 2

    Connect the Web Search MCP server

    Add https://search.mcp.paywithlocus.com to your agent as a remote Streamable HTTP MCP server and sign in. It searches with Brave, Tavily, Perplexity, Parallel and Exa.

    Single-purpose MCP servers
  3. Step 3

    Set a monthly hard limit

    Under Billing, then Credits, set a monthly hard limit and a low-balance email alert, so you hear before searches stop.

Which search APIs stop at your prepaid balance?

A prepaid search API draws each request from credit you bought in advance. When the credit is gone, the API refuses the request instead of running it and billing your card later. The catch is automatic top-up: Brave, Exa and Perplexity all offer it, and with it on, the card on file is charged each time the balance falls to the threshold you set.

The table follows each provider's own billing docs, checked November 30, 2026.

Which search APIs stop at your prepaid balance?
APIHow you payWhen credit runs outAutomatic top-up
Brave Search APIPrepaid credits on new plans, plus a free monthly credit; a card is needed to activate a planThe service pauses and requests are rejectedOptional auto-reload, with an optional monthly cap
ExaPrepaid credits on pay as you go; the free Starter plan needs no payment methodRequests return 402 Payment RequiredOptional auto recharge, with an optional monthly maximum
Perplexity APICredits bought in advance in the API consoleAPI keys are blocked until you add creditOptional automatic top-up
TavilyFree monthly credits with no card; pay as you go bills each credit past the planFree plan requests stop until credits resetPay as you go instead, billed per credit up to the monthly limit you set
Locus ProPrepaid credits bought by card, one balance for many search providersHTTP 402 before the search runs, with nothing chargedOptional auto-reload, off unless an owner or admin turns it on

Where can a prepaid search API still charge your card?

Automatic top-up is the main way. Brave's auto-reload buys a fixed amount each time the balance crosses your trigger, and its monthly limit is optional, so with no limit it keeps reloading. Exa's auto recharge also has an optional monthly maximum. Perplexity recommends auto reload to avoid blocked keys.

Older and usage-billed plans are the other way. Brave says existing postpaid plans still bill usage beyond their included credits, and Tavily's pay as you go charges per credit once the plan's credits are used, up to the monthly limit you set. Serper sells top-up credit packs with no monthly subscription, valid for 6 months.

For a hard stop, leave automatic top-up off, or cap it at the most you are willing to spend in a month.

How does Locus Pro stop searches at the prepaid balance?

Locus Pro prices each search before it runs. If the balance cannot cover it, Locus returns HTTP 402 with the credits required and the credits available, and the search provider is never called. A search that runs reserves its price, is charged when the provider succeeds, and is released if the provider fails.

Auto-reload adds a set amount from the card used for your last top-up when the balance falls below a threshold. It is off until an owner or admin turns it on, and an API key cannot change it. A monthly hard limit can also stop new calls before the balance runs out, and an agent key can carry its own per-call and per-run limits.

One balance covers several search providers, so an agent can switch provider without a new account or a new card on file.

  • Brave web search (brave/web-search)
  • Perplexity search (perplexity/search)
  • Tavily search (tavily/search)
  • Parallel search (parallel/search)
  • Firecrawl search with page content (firecrawl/search)
  • Locus Web Search, which merges results from several providers (router/web-search)
  • Exa search and Serper Google search, both x402 seller listings Locus has not reviewed (exa/search, serper/search)

Which prepaid search API should I pick?

Pick by how many providers you need and who holds the card.

  • One provider at steady volume: that provider's own prepaid plan, with your own Brave, Exa or Perplexity account and API key, and automatic top-up off.
  • Free use only: Tavily's free plan or Exa's Starter plan, neither of which needs a card.
  • Several search providers, or several agents with their own limits: Locus Pro, with one prepaid balance and a key per agent.
  • An AI agent in Claude Code, Cursor or Codex: Locus Pro's Web Search MCP server, which signs in once and draws from the same balance.

Frequently asked questions

Is there a web search API that never charges my card automatically?

Yes, as long as automatic top-up stays off. Brave, Exa and Perplexity sell prepaid credit and refuse requests at zero unless auto top-up is on. Tavily's free plan never charges unless you turn on pay as you go. On Locus Pro, auto-reload is off until an owner or admin turns it on.

What error does a search API return when prepaid credit runs out?

Exa returns 402 Payment Required with the tag NO_MORE_CREDITS. Perplexity can return 402 Payment Required. Locus Pro returns 402 before the search runs, with the credits required and available, and charges nothing.

Can I cap search spend below my prepaid balance?

Yes. Brave has monthly usage limits per plan, and Exa lets a team admin give each API key a budget. Locus Pro has a monthly hard limit for the workspace, a maximum charge per call, and per-call and per-run limits on each agent key.

Do prepaid search credits expire?

Perplexity says purchased API credits do not expire, and Locus Pro purchased credits do not expire either. Serper credits are valid for 6 months. Free monthly credits from Brave, Exa and Tavily reset each month.

Implementation references

Use these first-party references for current request contracts and account requirements. Tool availability, prices, and negotiated terms can change.

Sources

Third-party details were checked on November 30, 2026. Vendors change pricing and features often, so confirm on their site before you decide.

Related guides