Blog ·
How to give your AI agent live web search without a search API key
Agents answer better with live results, but every search API wants its own account, key and bill. Here is how to give your agent live web search with one prepaid key instead.
The problem
Your agent's training data stops at a date. For anything current it needs live search, and wiring up a search provider means another account, another API key sitting in a config file, and another bill to watch.
With apifare
apifare's web search capability returns live Google results with no search key of your own: the dataforseo capability is resold, so one apifare key covers it. Its exact per-call price is listed on /capabilities, and that listed number is what your balance is debited.
How to set it up
- Get a key at /start.
- Connect your agent. In Claude Code:
claude mcp add apifare -e APIPAY_TOKEN=<your-token> -- npx -y apifare-mcp. Other clients: setup guides. - Ask. "Search the web for the latest release notes of X." Your agent finds the capability with
search_apisand calls it.
What keeps it safe
Every call is debited from a prepaid balance with a hard stop at zero. You can set daily or monthly caps per agent and keep a kill switch ready; both are checked before a call is dispatched. Failed provider calls are refunded, and every call lands on a signed audit chain you can export.
Give this to your agent
set up https://apifare.com/SKILL.md — and it takes it from there: key, config, first call. $5 of calls free.
No agent open right now? Two manual steps: ① get a key (email in, key out) · ② give it to your agent — one config line, every client has a setup guide.
More from the blog
How to pull Google Maps places and reviews into your AI agent · How to let your agent read any web page as clean markdown · How to pull SEC filings and UK company records into your AI agent · How to get YouTube transcripts into your AI agent