Skip to content
AgentSearch

Pricing · pay by card or x402 on Base

AgentSearch pricing

Pay by card for a prepaid API key, or pay per call in USDC on Base over x402. Same per-call prices either way: Web Search ($0.003), News Search ($0.003), Web Extract ($0.002), Web Render ($0.005), Search + Read ($0.005) and Website Screenshot ($0.004), charged only when the call succeeds. Card packs start at $5, tax included. x402 is unchanged: no account or key, settled in USDC on Base after a successful answer. The free tier is unchanged: 25 searches per IP in total, then pay per call; news, search-and-read and screenshot each have 10 free calls per IP in total (lifetime, they do not reset); extract 5/day and render 3/day per IP, no key needed (shared daily capacity; paid calls have no cap).

Pay by card

No wallet required. Buy prepaid credit with a card, Apple Pay or Google Pay and get an API key right away. You pay the same per-call prices as x402, and we only charge for calls that succeed. Credit expires 12 months after your last top-up, and unused credit is refundable within 30 days of purchase. Prices include tax. Payments are processed by Stripe, which acts as merchant of record. Sold by AmPmLux Vending LLC.

$5 pack

$5.00
$5.00 of credit · about 1,666 searches
Pay by card

$10 pack +5% bonus

$10.00
$10.50 of credit · about 3,500 searches
Pay by card

$25 pack +10% bonus

$25.00
$27.50 of credit · about 9,166 searches
Pay by card
CallEndpoint (API key)Price
Web SearchPOST https://api.agentsearchhq.com/v1/search$0.003
News SearchPOST https://api.agentsearchhq.com/v1/news$0.003
Web ExtractPOST https://api.agentsearchhq.com/v1/extract$0.002
Search + ReadPOST https://api.agentsearchhq.com/v1/search_and_read$0.005
Web RenderPOST https://api.agentsearchhq.com/v1/render$0.005
Website ScreenshotPOST https://api.agentsearchhq.com/v1/screenshot$0.004
curl -s https://api.agentsearchhq.com/v1/search \
  -H "Authorization: Bearer $AGENTSEARCH_API_KEY" \
  -H 'content-type: application/json' \
  -d '{"query":"x402 protocol","max_results":5}'

Send the key as Authorization: Bearer as_live_… to https://api.agentsearchhq.com/v1/…. Keyed calls come off your balance. Details: API key docs. Every reply includes X-AgentSearch-Balance-USD. If you run out, you get HTTP 402 with a top-up link, and your key keeps working once you top up. Payments are processed by Stripe, which acts as merchant of record and handles sales tax and VAT. Sold by AmPmLux Vending LLC. Terms · Refunds · Privacy · API key docs · Lost or new key

Prices

Every service is priced per call and sold directly over standard x402 v2 on Base, settled by the Coinbase CDP facilitator (listed in the Coinbase x402 Bazaar). Any x402 client works. There is no subscription, minimum or monthly plan.

ServiceDirect x402 endpointPriceFree tierCharged when
Web SearchPOST https://api.agentsearchhq.com/x402/v1/search {"query", "max_results"?}$0.003 per call25 searches per IP in total, then pay per call, no keyOnly when results are returned
Web ExtractPOST https://api.agentsearchhq.com/x402/v1/extract {"url"}$0.002 per callFree trial: 5 calls/day per IP, no keyOnly when page content is returned
Web RenderPOST https://api.agentsearchhq.com/x402/v1/render {"url"}$0.005 per callFree trial: 3 calls/day per IP (no screenshots), no keyOnly when rendered content is returned
Search + ReadPOST https://api.agentsearchhq.com/x402/v1/search_and_read {"query", "num_results"?}$0.005 per call10 calls per IP in total, then pay per call, no keyOnly when at least one page returns text
News SearchPOST https://api.agentsearchhq.com/x402/v1/news {"query", "max_results"?, "filters"?}$0.003 per call10 calls per IP in total, then pay per call, no keyOnly when results are returned
Website ScreenshotPOST https://api.agentsearchhq.com/x402/v1/screenshot {"url", "format"?, "full_page"?, "viewport"?}$0.004 per call10 calls per IP in total, then pay per call, no keyOnly when an image is returned

Network eip155:8453, USDC, scheme exact, paid to AgentSearch. Machine-readable: /.well-known/x402 and /openapi.json. Code for curl, @x402/fetch, @x402/axios and Python: direct x402 docs. The AgentSearch MCP server (1.7.0+), langchain-agentsearch (0.6.0+) and the n8n node (0.6.0+) pay these endpoints by default, including Search + Read.

Also on Pocket Network

The same services are also served on Pocket Network through the Pocket Agentic Portal at $0.005 per call (x402 on Base or MPP on Tempo). Set AGENTSEARCH_PAYMENT_ROUTE=pocket in the MCP server or any framework package (LangChain, LangChain.js, CrewAI, LlamaIndex, OpenAI Agents SDK), or Payment Route = Pocket Portal in n8n.

Pocket servicePriceFree tierWhat it does
Web Search agentsearch-web-search-v1$0.005 per call25 searches per IP in total, then pay per call, no keyUp to 5 live results per call (title, URL, snippet, score, domain, date)
Web Extract agentsearch-web-extract-v1$0.005 per callFree trial: 5 calls/day per IP, no keyA URL to clean markdown or text, with title, links and metadata
Web Render agentsearch-web-render-v1$0.005 per callFree trial: 3 calls/day per IP (no screenshots), no keyRuns a JavaScript page in headless Chromium and returns markdown, text, HTML, links and an optional screenshot

What is and isn't charged

You pay only for answers that were delivered. The rules differ slightly by route.

Direct x402

Only successful answers

The direct API settles a payment only after a successful, non-empty answer. Invalid input (400), upstream failures (502), rate limits (429) and empty results are never charged.

Pocket route ($0.005)

Any HTTP 2xx answer

A delivered call is charged, including HTTP 200 answers whose body carries an error object because the target website failed: for example TARGET_HTTP_ERROR, TARGET_TIMEOUT, UNSUPPORTED_CONTENT, TARGET_BOT_WALL or a partial-content TARGET_DEADLINE. Search upstream errors that return 200 with empty results are charged too.

Not charged

Any non-2xx answer

Non-2xx answers are not settled: 402 (unpaid request), 400 INVALID_REQUEST, SSRF_BLOCKED or URL_NOT_ALLOWED, 413 REQUEST_TOO_LARGE, 422 ROBOTS_DISALLOWED (Render refuses before fetching; through the portal it shows as 400 UPSTREAM_REJECTED), 422 TARGET_DEADLINE with nothing rendered, 429 rate limits and 5xx errors.

Worked examples

What a task costs

One search: $0.003. A page Extract can read: $0.002. Search + Read (search plus the top pages in one call): $0.005, versus $0.009 as one search and three extracts. Extract, then a Render fallback on the same URL: $0.009. A research task capped at 12 calls: at most $0.072. $1 of USDC covers about 200 Search + Read calls or 500 extracts.

Full error table with the charged/not-charged column: llms-full.txt and agents.md.

Free tier and free trial

Free tier: 25 searches per IP in total, then pay per call, no key needed (shared daily capacity; paid calls have no cap). The free tier covers Web Search only, with up to 5 results per search. It needs no account, API key or wallet. The 25 searches are a total per IP and do not reset; once they are used up the relay answers HTTP 429 with the paid setup steps.

Free trial of Extract and Render. The same relay gives every IP 5 free Extract calls and 3 free Render calls per day (Render in the trial returns text output, no screenshots), with no key or wallet: POST https://relay.agentsearchhq.com/v1/extract or /v1/render with {"url": "https://..."}. Past the trial the relay answers HTTP 429 with a link to wallet setup.

Free news, search-and-read and screenshot. Each of those tools has 10 free calls per IP in total on the same relay (a lifetime allowance, it does not reset), no key or wallet: POST https://relay.agentsearchhq.com/v1/news, /v1/search_and_read or /v1/screenshot. After the 10, the relay answers HTTP 402 with x402 v2 terms for that tool (AgentSearch packages keep HTTP 429).

Search and read in one call, or search free then extract. If you want hits and their page text together, Search + Read has 10 free calls per IP in total on the relay, then $0.005 and one payment (versus $0.009 a la carte). If you only need links, or will read one page, search free and pay $0.002 to extract that URL. Step-by-step for the two-step Python path: LangChain agent: search the web, then read the page.

Free search over HTTP

curl -s https://relay.agentsearchhq.com/v1/search \
  -H 'content-type: application/json' -H 'X-Agent-Client: my-agent/1.0' \
  -d '{"query":"x402 protocol","max_results":5}'

Free search in Claude Desktop or Cursor (MCP)

{
  "mcpServers": {
    "agentsearch": {
      "command": "npx",
      "args": ["-y", "@agentsearchhq/agentsearch-mcp"]
    }
  }
}

How to pay

Payment is per request, in USDC on Base via native x402, straight to AgentSearch at api.agentsearchhq.com (or through the Pocket Network Agentic Portal if you prefer). The agent pays from its own wallet instead of sending an API key.

Easiest

MCP server with a wallet key

Add npx -y @agentsearchhq/agentsearch-mcp to your MCP client and set AGENTSEARCH_WALLET_PRIVATE_KEY to a new wallet holding a little USDC on Base. Since 1.7.0 it pays the direct x402 API automatically (extract $0.002, render $0.005, search and read $0.005) and never signs more than $0.020 per call or more than the session cap ($1.00 by default). No ETH is needed for gas.

MCP setup →
Any language

x402 over HTTP

1. POST unpaid to https://api.agentsearchhq.com/x402/v1/{search,extract,render,search_and_read,news,screenshot} and get HTTP 402 with x402 v2 terms in the PAYMENT-REQUIRED header. 2. Sign an EIP-3009 TransferWithAuthorization for the quoted amount (3000 / 2000 / 5000 / 5000 / 3000 / 4000 USDC atomic units) on Base with an x402 client such as @x402/fetch or Python x402. 3. Repeat the same request once with PAYMENT-SIGNATURE. 4. HTTP 200 returns the result, with the receipt in PAYMENT-RESPONSE.

Direct x402 docs →
Frameworks

LangChain, CrewAI, LlamaIndex, OpenAI Agents SDK, n8n

The framework packages search free when no wallet is set. For the Python packages, install the [paid] extra (for example pip install "langchain-agentsearch[paid]") and set AGENTSEARCH_WALLET_PRIVATE_KEY to enable paid search, Extract and Render. LangChain 0.6.0+, n8n 0.6.0+, and CrewAI, LlamaIndex, OpenAI Agents SDK and LangChain.js 0.4.0+ pay the direct API by default (search $0.003, extract $0.002, render $0.005, search and read $0.005); AGENTSEARCH_PAYMENT_ROUTE=pocket keeps the $0.005 Pocket route for the three a la carte tools. With a wallet, search is paid by default ($0.003) in langchain-agentsearch 0.8.0+, LangChain.js 0.6.0+, @agentsearchhq/ai-sdk 0.2.0+ and CrewAI, LlamaIndex and OpenAI Agents SDK 0.6.0+; AGENTSEARCH_MODE=free keeps it free. n8n search stays free.

Integrations →

Step 1: see the price without paying (curl)

curl -i https://api.agentsearchhq.com/x402/v1/search \
  -H 'content-type: application/json' -H 'X-Agent-Client: my-agent/1.0' \
  -d '{"query":"x402 protocol","max_results":5}'
# HTTP 402 + PAYMENT-REQUIRED header (base64 JSON x402 v2 terms):
# scheme exact, network eip155:8453 (Base), asset USDC, amount 3000 (= $0.003)

Step 1 in Python: decode the 402 terms

import base64, json, requests

url = "https://api.agentsearchhq.com/x402/v1/search"
r = requests.post(url, json={"query": "x402 protocol", "max_results": 5},
                  headers={"x-agent-client": "my-agent/1.0"}, timeout=30)
print(r.status_code)  # 402: payment required, nothing charged
terms = json.loads(base64.b64decode(r.headers["PAYMENT-REQUIRED"]))
for option in terms["accepts"]:
    print(option["scheme"], option["network"], option["amount"], option["asset"])
# exact eip155:8453 3000 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

FAQ

How much does AgentSearch cost?

On the direct x402 API, Web Search costs $0.003, Web Extract $0.002, Web Render $0.005 and Search + Read $0.005 per call in USDC on Base, settled only after a successful answer. Search + Read is one payment for search plus the top pages' text, versus $0.009 as separate calls. There is no account, subscription, minimum or API key. Search, Extract and Render are also on Pocket Network at $0.005 per call.

Is there a free tier?

Yes. Web Search free tier: 25 searches per IP in total, then pay per call, no key needed (shared daily capacity; paid calls have no cap). News, search-and-read and screenshot each have 10 free calls per IP in total (lifetime, they do not reset) on the same relay: POST https://relay.agentsearchhq.com/v1/news, /v1/search_and_read or /v1/screenshot. Use POST https://relay.agentsearchhq.com/v1/search or the MCP server npx -y @agentsearchhq/agentsearch-mcp with no wallet key. Web Extract and Web Render have a free trial on the same relay: 5 extract and 3 render calls per day per IP (POST /v1/extract or /v1/render), no key or wallet.

Am I charged when a call fails?

Only HTTP 2xx answers are charged. Non-2xx answers such as 402, 400, 413, 422 robots.txt refusals, 429 and 5xx are not settled. A 200 answer whose body reports a target-site error, such as a 404 from the website, was delivered and is charged.

How do I pay without an API key?

Your agent pays each request from a wallet. An unpaid request returns HTTP 402 with the price; an x402 client signs a USDC payment on Base and retries with the PAYMENT-SIGNATURE header. The AgentSearch MCP server and the framework packages can do this for you when you set AGENTSEARCH_WALLET_PRIVATE_KEY.

What is the direct x402 API?

Search, Extract, Render and Search + Read sold directly at api.agentsearchhq.com over standard x402 on Base: search $0.003, extract $0.002, render $0.005, search and read $0.005 per call, charged only when content is returned. It works with any x402 client (x402-fetch, x402-axios, the x402 Python package) and is discoverable in the x402 Bazaar. Docs: agentsearchhq.com/docs/x402. Search + Read: /search-and-read.

Do I need ETH for gas?

No. You need a little USDC on Base in a wallet made for this. The x402 facilitator pays the gas.

Can I cap spending?

Yes. The AgentSearch MCP server never signs more than $0.020 per call (enough for Search + Read at $0.005) and stops at a session cap, $1.00 by default, set with AGENTSEARCH_MAX_TOTAL_ATOMIC. In your own code, count delivered calls and stop at a hard budget.

AgentSearch services

Web Search API · Web Extract API · Web Render API · Search + Read API News Search API Screenshot API · Pricing · MCP server · Blog

Related guides: AgentSearch vs Tavily, Exa and Firecrawl

Related guides: Pay-per-call vs subscription search APIs

Related guides: Pay-per-call web search API