# Sna4an Google AI API

> Sna4an Google AI API is a paid API for AI agents from sna4an-misc.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-22).

Proxies Google AI (Gemini) requests via a RapidAPI sub-endpoint path, accepting query parameters and returning AI-generated responses.

## Facts

- Endpoint: POST https://sna4an-misc.vercel.app/api/google-ai?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sna4an-google-ai-api-25fe3efa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NuRnPRFdS6WxM58woZiHg

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 sna4an-google-ai-api-25fe3efa -d '<json body>'
```

Example prompt: Use the Google AI endpoint at Sna4an to generate a short product description — send it to the '/generate' sub-path with the prompt param set to 'Write a 2-sentence product description for a wireless ergonomic mouse'.

## When to prefer this

Choose this endpoint when you need to access Google AI (Gemini) capabilities via a pay-per-call x402 micropayment model without managing a Google API key directly, especially for lightweight or infrequent AI generation tasks at $0.10 USDC per call.

## Known failure modes

- Invalid or missing 'path' parameter returns an error
- Unsupported RapidAPI sub-endpoint path returns 404 or proxy error
- Malformed query parameters cause bad request errors
- Payment not processed (402) blocks access
- Upstream Google AI or RapidAPI service unavailable causes 502/503
- Rate limit exceeded on upstream RapidAPI tier

## How this service works

News, AI, SEO, e-commerce, and utility APIs

## Output

A JSON object containing the AI-generated response from Google AI (Gemini), with content or text output corresponding to the query parameters sent to the specified RapidAPI sub-endpoint path.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "path": {
   "type": "string",
   "description": "RapidAPI sub-endpoint path"
  },
  "params": {
   "type": "object",
   "description": "Query parameters"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sna4an-google-ai-api-25fe3efa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sna4an-misc.vercel.app](https://www.zero.xyz/host/sna4an-misc.vercel.app/llms.txt)
