# OmniAPI AI Quiz Generator

> OmniAPI AI Quiz Generator is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.083093/call, status unknown (last checked 2026-09-15).

Generates quiz questions on a given topic using AI, accessible via pay-per-call USDC micropayment

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/ai/quiz
- Price: $0.083093/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-ai-quiz-generator-0f0c9a0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jqI9NmfkCaoTpklwGoZHv

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 omniapi-ai-quiz-generator-0f0c9a0a -d '<json body>'
```

Example prompt: Can you generate a quiz about the American Civil War — I need questions covering major battles and key figures?

## When to prefer this

Choose this endpoint when you need programmatically generated quiz or trivia questions on a specific topic and want to pay only per call via USDC micropayment. Best suited for agents automating educational content creation, training material generation, or trivia assembly without a subscription model.

## Known failure modes

- Missing required 'query' field returns validation error
- Insufficient USDC balance or x402 payment failure blocks the call
- Overly vague query may produce generic or low-quality questions
- Network timeout on Vercel serverless cold start
- Rate limiting if too many sequential calls are made

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns AI-generated quiz content including questions and likely answer options based on the provided topic query. The response is a JSON object containing the generated quiz data structured around the input subject matter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-ai-quiz-generator-0f0c9a0a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
