# Citiview Cached Answer Lookup

> Citiview Cached Answer Lookup is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-14).

Returns a recently cached, cited answer to a question similar to the query at 1/4 the cost of a fresh answer, with no charge if no close match exists.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/answer/cached?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-cached-answer-lookup-a2c67f63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2Z5lo37d4fNKkGyZ2d0vn

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 citiview-cached-answer-lookup-a2c67f63
```

Example prompt: Check the shared answer cache for a recent cited answer to 'What are the main drivers of US inflation in 2024?' — use a minimum similarity of 0.85 and only accept answers from the last 5 days.

## When to prefer this

Choose this endpoint when you want to save cost by reusing a recent, cited answer to a semantically similar question before committing to the full /v1/answer price. It is ideal for pipelines that ask common or recurring questions, for batch agents that process similar queries, or when you want to avoid redundant LLM calls. Not suitable when you need guaranteed freshness or a highly specific answer with no tolerance for approximation.

## Known failure modes

- Cache miss — no answer meets the similarity threshold, no charge applied
- Query string missing — returns 400 bad request
- min_similarity out of range (must be 0.7–0.99) — validation error
- max_age_days too restrictive — reduces cache hit rate dramatically
- Stale cache — cached answer may be outdated even within max_age_days
- Service unavailable — returns 5xx if cache backend is down

## How this service works

Shared answer cache: a recent cited answer to a question similar to yours (from /v1/answer) for a quarter of the price. Not charged when nothing close enough is cached.

## Output

Returns a cached cited answer matching the query at a similarity above the threshold, including the answer text, sources/citations, similarity score to the original question, and the age of the cached response. If no sufficiently similar cached answer exists, returns a cache-miss response and no charge is applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string"
      },
      "max_age_days": {
       "type": "integer",
       "description": "Default 7"
      },
      "min_similarity": {
       "type": "number",
       "description": "0.7-0.99, default 0.88"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-cached-answer-lookup-a2c67f63/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
