# httpay.xyz Google Gemini API Gateway

> httpay.xyz Google Gemini API Gateway is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Proxies requests to the Google Gemini API through an x402 pay-per-call gateway, enabling access to Gemini models with USDC micropayments

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/gemini/%7B*path%7D/*
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-20931b3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l4saY3NxYkxwEotGqL_n_

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 httpay-xyz-20931b3e -d '<json body>'
```

Example prompt: Use the Gemini API gateway to send a generateContent request to gemini-1.5-flash with the prompt: 'Summarize the key differences between REST and GraphQL in three bullet points.'

## When to prefer this

Use this endpoint when you need to call Google Gemini API models without managing your own Google API key, want pay-per-call USDC micropayment billing via x402 instead of a subscription, or are building an autonomous agent that needs programmatic access to Gemini with crypto-native payments.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment not accepted
- Invalid Gemini path: unsupported or malformed API path segment
- Gemini API error: upstream quota exceeded, invalid model name, or malformed request body
- Rate limiting: too many requests in short window
- Authentication error: Gemini API key misconfigured on gateway side

## How this service works

API Gateway: Google Gemini API

## Output

Returns the Google Gemini API response body exactly as Gemini would return it — including generated text, candidates, safety ratings, token usage, and finish reason — after deducting $0.005 USDC per call via x402 protocol.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-20931b3e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
