# Google Search API via Marketplace for AI Agents

> Google Search API via Marketplace for AI Agents is a paid API for AI agents from marketplaceforaiagents.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Executes a Google Search query and returns ranked organic results with titles, links, snippets, knowledge graph data, and related searches.

## Facts

- Endpoint: GET https://marketplaceforaiagents.com/api/public/v1/google-search
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/google-search-api-via-marketplace-for-ai-agents-50da3f53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s34x6zCD_ZJLk5vGofRN2

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 google-search-api-via-marketplace-for-ai-agents-50da3f53
```

Example prompt: Search Google for 'best project management tools for remote teams' and give me the top 5 organic results with their titles, links, and snippets — use US English results.

## When to prefer this

Choose this endpoint when you need ranked organic Google Search results with snippets and knowledge graph data in real time, especially for web research, competitive analysis, SEO auditing, or any task requiring up-to-date information from the web. Prefer this over static datasets or other search APIs when Google's ranking quality and breadth of coverage matter, and when you need optional localization by country, language, or geographic location.

## Known failure modes

- Missing required 'q' parameter returns a validation error
- Invalid country or language code may return unexpected or empty results
- Query returning no results yields an empty organic results array
- Rate limiting or quota exhaustion may return a 429 or payment-required error
- Highly localized queries without a location parameter may return non-local results

## How this service works

Google Search API: Give a query, get ranked organic results with title, link, snippet, plus knowledge graph and related searches. $0.005 USDC per call on Base.

## Output

Returns a ranked list of organic search results, each containing a title, URL, and snippet. May also include a knowledge graph entry (structured facts about the query entity) and a list of related searches suggested by Google.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Search query"
      },
      "gl": {
       "type": "string",
       "description": "Country code for results"
      },
      "hl": {
       "type": "string",
       "description": "UI/interface language code"
      },
      "num": {
       "type": "integer",
       "description": "Number of results to return"
      },
      "page": {
       "type": "integer",
       "description": "Page number for pagination"
      },
      "location": {
       "type": "string",
       "description": "Localization, e.g. Austin,Texas,United States"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/google-search-api-via-marketplace-for-ai-agents-50da3f53/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from marketplaceforaiagents.com](https://www.zero.xyz/host/marketplaceforaiagents.com/llms.txt)
