# AgentRXI Cached Answer Lookup

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

Returns a recently cached cited answer to a semantically similar question, at one-quarter the price of a fresh answer generation.

## Facts

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

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 agentrxi-cached-answer-lookup-74cd8f5d
```

Example prompt: Check the shared answer cache to see if there's already a recent answer (within the last 5 days, similarity at least 0.90) to this question: 'What are the current federal interest rates and how do they affect mortgage pricing?'

## When to prefer this

Use this endpoint when you want a cited answer to a question but want to minimize cost by checking whether a semantically similar question has already been answered recently. Ideal as a first step before calling the full /v1/answer endpoint — if a cache hit is returned, you pay $0.005 instead of $0.02+. Best for frequently asked or common factual questions where a slightly paraphrased prior answer is acceptable. Not suitable when you need a guaranteed fresh answer or the exact question is highly unique or time-sensitive beyond your max_age_days tolerance.

## Known failure modes

- No cache hit: no answer close enough to the query exists — endpoint returns empty/no-match response and the caller is not charged
- Similarity threshold too high: setting min_similarity above 0.95 may result in frequent cache misses
- Stale cache: max_age_days set too low may exclude otherwise relevant answers
- Malformed query parameter: missing or empty 'q' parameter causes a validation error
- Cache cold start: for niche or rare questions, the shared cache may never have a matching entry

## 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

When a sufficiently similar cached answer exists, returns the cached answer text with citations and metadata such as similarity score, the original matched question, and the cache age. If no close enough match is found, nothing is returned 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/agentrxi-cached-answer-lookup-74cd8f5d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
