{"uid":"cap_sOJi7Z8P7B2RpZlNg6fBR","slug":"agentrxi-tool-plan-with-cost-estimation-23fb388e","name":"AgentRXI Tool Plan with Cost Estimation","description":"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.","url":"https://agentrxi.com/v1/plan?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TZ9xTEGVjwCn1tO_hQMMu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Pre-flight cost check for agent pipeline","prompt":"Before I run anything, can you break down what APIs I'd need to build a workflow that fetches token risk data, checks live prediction market odds, and summarizes everything in a report — and tell me the cheapest options with total estimated cost?"},{"title":"Budget-aware automation planning","prompt":"I only want to spend under $0.10 total. Can you plan out the steps and find the cheapest APIs for a goal of validating a phone number and looking up US demographics for its area code?"},{"title":"Discovering APIs for a new agent task","prompt":"I want to build something that converts speech to text and then checks inflation-adjusted costs from a given year — what's the step-by-step plan using the cheapest available APIs, and what will it cost me?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:15.390Z","isFirstParty":false,"canonicalSlug":"agentrxi-tool-plan-with-cost-estimation-23fb388e"}