# AgentRXI Tool Plan with Cost Estimation

> AgentRXI Tool Plan with Cost Estimation is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Breaks a user-defined goal into actionable steps and finds the cheapest paid API for each step from the x402 marketplace directory, returning an estimated total cost before any spending occurs.

## Facts

- Endpoint: GET https://agentrxi.com/v1/plan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-tool-plan-with-cost-estimation-23fb388e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sOJi7Z8P7B2RpZlNg6fBR

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-tool-plan-with-cost-estimation-23fb388e
```

Example prompt: Can you plan out the steps and find me the cheapest APIs to build a tool that validates a phone number, looks up its owner's ZIP code demographics, and sends them a weather alert — and tell me the estimated total cost before I commit to anything?

## When to prefer this

Choose this endpoint when an agent or user needs to plan a multi-step workflow using paid x402 APIs and wants to understand costs before committing any funds. It is especially useful at the start of an agentic pipeline to discover available tools and optimize for lowest cost. Prefer it over manual API browsing when the goal can be expressed in natural language and a cost-aware automated plan is needed.

## Known failure modes

- Missing required 'goal' query parameter returns a validation error
- Goal too vague or ambiguous may yield a generic or low-quality plan
- No matching APIs found in the directory for a specific niche step
- Budget too low to cover any viable API combination may result in empty or partial plan
- Service unavailability or upstream directory lookup failure returns a 5xx error

## How this service works

Tool plan with cost: breaks a goal into steps and finds the cheapest paid API for each step (this marketplace and the whole x402 directory), with the estimated total cost before you spend anything.

## Output

A structured plan breaking the goal into discrete steps, each mapped to a recommended paid API from the x402 directory (including the AgentRXI marketplace), with per-step cost estimates and a total estimated cost in USD — all returned before any payment is made.

## 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": [
      "goal"
     ],
     "properties": {
      "goal": {
       "type": "string"
      },
      "budget_usd": {
       "type": "number"
      }
     }
    }
   },
   "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-tool-plan-with-cost-estimation-23fb388e/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)
