# AnyAPI Google Search

> AnyAPI Google Search is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14, last successful call 2026-07-14).

Executes a Google web search query and returns ranked results with titles, links, and snippets, optionally localized by country.

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/google.search
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-07-14
- Success rate: 100% of calls made through Zero
- Rating: 4.7 / 5 from 1 review
- Activations on Zero: 7
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-google-search-e52eb4cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wi8cFhV5uIHn3EmW6osBS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anyapi-google-search-e52eb4cd -d '<json body>'
```

Example prompt: Search Google for 'best electric cars 2025' with results localized to the US and show me the top links with their snippets.

## When to prefer this

Choose this endpoint when you need programmatic access to real Google web search results with country localization, ranked snippets, and direct URLs — particularly when your agent needs to research topics, verify current information, or find relevant web pages. Prefer this over YouTube Search or Reddit Search siblings when you need broad web coverage rather than platform-specific results.

## Known failure modes

- Empty query string returns an error or null data with found=false
- Invalid country code (gl) may return unlocalized results or an error
- Google rate limiting or unavailability may cause provider-level failures
- Queries with no matching results return found=false with null data
- Network timeouts may occur for complex or slow queries

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns a structured object containing the original query string and an array of ranked search results, each with a title, URL link, snippet/description, and position index. Also includes the number of results returned and the USD cost of the call.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-google-search-e52eb4cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
