# Citiview Agent Market – Tool Plan with Cost Estimator

> Citiview Agent Market – Tool Plan with Cost Estimator is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Breaks a goal into ordered steps and finds the cheapest paid API for each step across the x402 marketplace, returning an estimated total cost before any money is spent.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/plan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-agent-market-tool-plan-with-cost-estimator-dfca4436
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pg_JMn_2apg3EUFFqb_sl

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-agent-market-tool-plan-with-cost-estimator-dfca4436
```

Example prompt: I want to build a workflow that verifies a US address, checks air quality nearby, and returns a cited answer about local health risks — can you plan out the cheapest set of x402 APIs to do that and tell me the estimated total cost before I spend anything?

## When to prefer this

Use this endpoint when an agent or developer wants to plan a multi-step agentic workflow using paid APIs and needs upfront cost visibility before committing any funds. It is especially valuable when optimizing for cost across the x402 ecosystem, or when exploring which APIs are available for a given goal. Prefer it over manual browsing of the marketplace when the goal has multiple sub-tasks that each require different API capabilities.

## Known failure modes

- Missing or empty 'goal' parameter returns a validation error
- Goal too vague or broad may produce a low-quality or generic plan
- No matching APIs found for a step if the marketplace lacks coverage
- Budget parameter too low may result in no viable plan being returned
- Network or upstream marketplace lookup failure returns a service 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 listing the goal decomposed into ordered steps, with the recommended cheapest paid API endpoint for each step drawn from the x402 marketplace, along with per-step costs and an aggregated total estimated cost — 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/citiview-agent-market-tool-plan-with-cost-estimator-dfca4436/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)
