Docs · prepaid API key
AgentSearch API keys (pay by card)
You can pay for AgentSearch with a prepaid API key, or keep paying per call in USDC on Base over x402. Per-call prices are the same either way. This page covers the card-paid key.
Buy prepaid credit on Pricing. After you pay, the success page shows your key once, and a backup one-time link arrives by email. Store the key like a password. We only keep a hash of it, so we cannot show it again.
Packs
Prices include tax. Payments are processed by Stripe, which acts as merchant of record. Sold by AmPmLux Vending LLC.
| Pack | You pay | Credit you get |
|---|---|---|
| $5 pack | $5.00 | $5.00 |
| $10 pack | $10.00 | $10.50 (5% bonus) |
| $25 pack | $25.00 | $27.50 (10% bonus) |
Buy a pack: agentsearchhq.com/pricing#card. Packs: $5 for $5.00 · $10 for $10.50 · $25 for $27.50. After payment your key is shown once at agentsearchhq.com/key.
Use it
Authorization: Bearer as_live_…
Live keys start with as_live_. Send the header on every request. Request and response bodies are the same as the x402 API (docs).
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}'
Endpoints (all POST unless noted):
| Call | Endpoint | Price |
|---|---|---|
| Web Search | https://api.agentsearchhq.com/v1/search | $0.003 |
| News Search | https://api.agentsearchhq.com/v1/news | $0.003 |
| Web Extract | https://api.agentsearchhq.com/v1/extract | $0.002 |
| Search + Read | https://api.agentsearchhq.com/v1/search_and_read | $0.005 |
| Web Render | https://api.agentsearchhq.com/v1/render | $0.005 |
| Website Screenshot | https://api.agentsearchhq.com/v1/screenshot | $0.004 |
| Balance | GET https://api.agentsearchhq.com/v1/balance | free |
Use the key on api.agentsearchhq.com/v1/….
Clients (API key or x402)
Call the HTTP API directly with the header above. Card-key support in the MCP server and framework packages will be announced when it ships; x402 wallet credentials keep working as they do today.
Prices and charging
We hold the price while the call runs and charge it only if the call succeeds. Bad input (400), upstream failures (502) and empty results are never charged. Search + Read is charged only when at least one page has text.
Headers and errors
X-AgentSearch-Balance-USDon every reply.X-AgentSearch-Low-Balance: trueunder $0.50.X-AgentSearch-Charged-USDon charged calls.GET https://api.agentsearchhq.com/v1/balancewith your key returns the balance, the expiry date and top-up links.- 401
missing_api_key/invalid_api_key: the key is missing, invalid or was replaced. - 402
insufficient_creditorcredit_expired: top up with thetop_up[].buy_urllinks in the reply. They're tied to your account, so the same key keeps working after you top up. - 403
key_suspended: contact AgentSearchhq@gmail.com. - 429
rate_limited/busy(per key: 600 requests a minute, 4 at a time) ordaily_cap($10.00 per UTC day by default; email us to ask for a higher cap).
Credit, expiry and refunds
Credit expires 12 months after your last top-up. Unused credit is refundable within 30 days of purchase; used credit is not. Refunds are not automatic: email AgentSearchhq@gmail.com and we refund the unused amount. See Refunds and Terms.
Lost key: replace it. Your balance stays. The old key stops working.
Free tier (unchanged)
You do not need a key or a wallet to try AgentSearch. Per IP: search 25 calls lifetime; news, search-and-read and screenshot 10 calls lifetime each; extract 5/day; render 3/day. Lifetime allowances do not reset. After that, pay with a card key or over x402.
x402 is unchanged
If your agent already pays per call in USDC on Base, keep doing that. Card keys are optional, for teams that would rather put a key in an environment variable and top up when the balance runs low. Docs: x402 API.