# Give Claude Code a budget-aware web search in 60 seconds

Your agent needs to search the web, and there are hundreds of paid search APIs at very different prices. Let it pick one that fits a budget, from live prices and uptime.

## 1. Add Hagglyai to Claude

### In the Claude app (chat box)

1. In Claude, go to **Customize > Connectors**.
2. Click **+ Add**, then **Add custom connector**.
3. Name it **Hagglyai** and enter the server URL `https://hagglyai.com/mcp`, then click **Continue** twice.
4. Under Authentication choose **No sign in** (Hagglyai needs no account or key), then click **Add**.
5. In a chat, click **+** in the lower left, choose **Connectors** and turn **Hagglyai** on.
6. Type your question in the chat box. If Claude asks before using a Hagglyai tool, allow it.

Pro and Max add connectors themselves; Free plans can have one custom connector; on Team and Enterprise an owner adds it and members click Connect. Once added it also works in the desktop and mobile apps.

### In Claude Code (one line)

```sh
claude mcp add --transport http haggly https://hagglyai.com/mcp
```

Any other MCP client: add the server `https://hagglyai.com/mcp` (Streamable HTTP, no key). More at https://hagglyai.com/for-agents.

## 2. Ask

> Find me a web search API that costs under half a cent a call.

Claude calls `find_best` with:

```json
{
  "task": "web search",
  "max_price_usd": 0.005
}
```

## 3. The answer (live, as of 2026-10-27 11:08 UTC)

# Best options for "web search" within $0.005 per call

Matched category: **Web search** (`web-search`).

**Recommended:** win.oneshotagent.com — $0.001 per search query — `POST https://win.oneshotagent.com/v1/tools/search` (score 85)

| # | Service | Price/unit | Score | Uptime 7d | p50 | Payers 30d | Endpoint |
|---|---|---|---|---|---|---|---|
| 1 | win.oneshotagent.com | $0.001 | 85 A | 100% | 318 ms | 23 | `POST https://win.oneshotagent.com/v1/tools/search` |
| 2 | Google Search Results Scraper (Apify) · Google, Ranked web results | $0.0045 + $0.00005/run | 90 A | 98% | – | 24,855 | `POST https://api.apify.com/v2/acts/apify~google-search-scraper/run-sync-get-dataset-items` |
| 3 | Google Search Results (~$0.05/1K Results) (Apify) · Google, Ranked web results | $0.0005 | 90 A | 100% | – | 2,395 | `POST https://api.apify.com/v2/acts/scraperlink~google-search-results-serp-scraper/run-sync-get-dataset-items` |
| 4 | Google Search Scraper ($0.15 per 1000 results) (Apify) · Google, Ranked web results | $0.0003 + $0.001/run | 90 A | 100% | – | 388 | `POST https://api.apify.com/v2/acts/igolaizola~google-search-scraper-ppe/run-sync-get-dataset-items` |
| 5 | Bing Search Scraper (Apify) · Bing, Ranked web results | $0.0045 + $0.0005/run | 90 A | 100% | – | 178 | `POST https://api.apify.com/v2/acts/tri_angle~bing-search-scraper/run-sync-get-dataset-items` |


**Apify rows:** pay with an Apify prepaid token bought over x402 (agi.apify.com, $1 minimum), then POST the actor input to the endpoint. Uptime is Apify's reported 30-day run success and payers are its monthly users; Hagglyai does not probe them.

Full comparison: https://hagglyai.com/compare/web-search.md

Source: hagglyai.com/compare/web-search · as of 2026-10-27 11:08 UTC

## 4. How to read it

- The **Recommended** line is the endpoint to call: its price per query, its method and URL, and its score out of 100.
- The table below it ranks the alternatives on price, uptime and real paying usage, so your agent can fall back if the first one fails.
- Change `max_price_usd` to move the budget; the recommendation never goes over it.

More guides: https://hagglyai.com/guides.md
