# PrimeAPI AI Keyword Extraction

> PrimeAPI AI Keyword Extraction is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.119891/call, status unknown (last checked 2026-09-15).

Extracts or generates relevant keywords from a given text query or topic using AI

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/ai/keywords
- Price: $0.119891/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-ai-keyword-extraction-d101f053
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_feESW78LTGdwTBllqBWkD

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 primeapi-ai-keyword-extraction-d101f053 -d '<json body>'
```

Example prompt: Extract the most relevant AI-generated keywords from this text: 'Decentralized finance is transforming traditional banking by enabling peer-to-peer lending, borrowing, and trading without intermediaries.'

## When to prefer this

Use this endpoint when you need AI-powered keyword extraction from free-form text or a topic query, especially in a pay-per-call context without API key management. Prefer this over traditional NLP libraries when you want a hosted, on-demand keyword extraction service billed per use via USDC on Base.

## Known failure modes

- Empty or missing query field returns an error or empty keyword list
- Query too long may be truncated or rejected
- Ambiguous or very short queries may yield low-quality or generic keywords
- Payment failure (insufficient USDC) returns 402 Payment Required
- Service unavailability returns 5xx error

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

A structured JSON object containing a list of extracted or AI-generated keywords relevant to the input query or text, useful for SEO, tagging, search indexing, or content analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-ai-keyword-extraction-d101f053/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
