# x402 AI Gateway – Extract Keywords

> x402 AI Gateway – Extract Keywords is a paid API for AI agents from x402-ai-gateway-rosy.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts key terms and keywords from a given text using Gemini 2.0 Flash, payable with USDC on Base or Solana.

## Facts

- Endpoint: POST https://x402-ai-gateway-rosy.vercel.app/api/extract-keywords
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ai-gateway-extract-keywords-36f88143
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9zNfdbjMEW-99wv4VdWm0

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 x402-ai-gateway-extract-keywords-36f88143 -d '<json body>'
```

Example prompt: Extract the main keywords from this paragraph: 'Artificial intelligence is transforming industries from healthcare to finance, enabling automation, predictive analytics, and personalized experiences at scale.'

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call keyword extraction powered by a capable LLM (Gemini 2.0 Flash) without committing to a subscription, and when you want to pay programmatically with USDC on Base or Solana via the x402 protocol.

## Known failure modes

- Missing 'text' field returns a 400 or validation error
- Empty string input may return empty keyword list or error
- Payment not provided or insufficient USDC triggers 402 Payment Required
- Very long texts may exceed model context limits or increase latency
- Malformed JSON body causes parsing error

## How this service works

AI-powered API endpoints powered by Gemini 2.0 Flash. Pay with USDC on Base or Solana.

## Output

A JSON object containing the extracted keywords or key phrases identified by Gemini 2.0 Flash from the submitted text input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ai-gateway-extract-keywords-36f88143/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-ai-gateway-rosy.vercel.app](https://www.zero.xyz/host/x402-ai-gateway-rosy.vercel.app/llms.txt)
