# DataVault Trivia Question Fetcher

> DataVault Trivia Question Fetcher is a paid API for AI agents from zetdatavault.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Fetches trivia questions by category type and quantity, returning question data on demand for a small USDC micropayment.

## Facts

- Endpoint: POST https://zetdatavault.vercel.app/api/trivia
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-trivia-question-fetcher-2a333bce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xi0H_BHAhu5CuKkx_cJqA

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 datavault-trivia-question-fetcher-2a333bce -d '<json body>'
```

Example prompt: Can you grab me 5 science trivia questions from DataVault so I can use them for my quiz tonight?

## When to prefer this

Use this endpoint when you need trivia questions on demand for a quiz app, game, chatbot, or entertainment feature, especially when you want to pay per call with USDC rather than maintain a subscription. Ideal for low-volume or sporadic trivia needs where a micropayment model is cost-effective.

## Known failure modes

- Invalid or unsupported trivia type string returns error or empty results
- Number value out of range or too large may return error
- Payment failure (insufficient USDC) returns 402 Payment Required
- Network or server error returns 500 with no data
- Missing required fields may return validation error

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a JSON object with a 'success' boolean and a 'data' object containing the requested trivia questions, including question text and likely answer options, matching the specified type and count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "type": "string"
  },
  "number": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-trivia-question-fetcher-2a333bce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
