{"uid":"cap_xsoPO7CgocgbhD2Jydc9e","slug":"trust402-procurement-plan-generator-747b2a1e","name":"Trust402 Procurement Plan Generator","description":"Create a bounded spend plan without spending money.","url":"https://trust402.vercel.app/api/procurement/plan","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"goal":{"type":"string","description":"Buyer goal for selecting x402 resources."},"budgetUsd":{"type":"number","description":"Maximum spend budget for the plan or quote."},"candidates":{"type":"array","items":{"type":"object","anyOf":[{"required":["endpoint"]},{"required":["url"]}],"properties":{"id":{"type":"string","description":"Stable candidate identifier used in rankings and receipts."},"url":{"type":"string","format":"uri","description":"Alternate field for the x402 resource endpoint."},"name":{"type":"string","description":"Human-readable resource name."},"x402":{"type":"object","description":"Optional parsed x402 challenge metadata."},"asset":{"type":"string","description":"Payment asset address or symbol."},"payTo":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"price":{"oneOf":[{"type":"number","minimum":0},{"type":"string"}],"description":"Alternate price field accepted by Trust402."},"accept":{"type":"object","description":"Optional single x402 accept object."},"has402":{"type":"boolean","description":"Whether the endpoint is known to return an x402 challenge."},"network":{"type":"string","description":"x402 payment network, for example eip155:8453."},"endpoint":{"type":"string","format":"uri","description":"HTTPS x402 resource endpoint."},"metadata":{"type":"object","description":"Additional public-safe metadata used during scoring."},"observed":{"type":"object","description":"Optional probe observations such as status or latency."},"priceUsd":{"oneOf":[{"type":"number","minimum":0},{"type":"string"}],"description":"Advertised resource price in USD."},"hasOpenApi":{"type":"boolean","description":"Whether the origin publishes OpenAPI metadata."},"openapiUrl":{"type":"string","format":"uri"},"proofReady":{"type":"boolean","description":"Alternate receipt/proof readiness signal."},"description":{"type":"string","description":"Buyer-facing explanation of the resource."},"inputSchema":{"type":"object","description":"Optional embedded input schema for the candidate."},"hasWellKnown":{"type":"boolean","description":"Whether the origin publishes /.well-known/x402 discovery."},"receiptReady":{"type":"boolean","description":"Whether the candidate can return receipt/proof-ready output."},"wellKnownUrl":{"type":"string","format":"uri"},"hasInputSchema":{"type":"boolean","description":"Whether structured input schema metadata is available."}},"additionalProperties":true},"maxItems":10,"minItems":2},"maxPaidCalls":{"type":"integer","default":3},"riskTolerance":{"enum":["low","medium","high"],"type":"string","default":"low"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CMMvjb60eDwjrOOvGQS1c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a bounded spend plan for acquiring x402 resources within a user-defined budget, without executing any actual payments.","exampleAgentPrompt":"Put together a spend plan for sourcing weather and geolocation data from x402 APIs — my goal is accurate location-aware forecasts, my budget is $5, and here are the three candidate endpoints I've already identified with their prices.","exampleUseCases":[{"title":"Agent budget allocation for data APIs","prompt":"I have $10 to spend on x402 data APIs for my research agent. The goal is to gather financial news and sentiment data. Can you build a procurement plan across these five candidate endpoints without actually spending anything yet?"},{"title":"Pre-approval spend simulation for multi-step workflow","prompt":"Before my agent starts executing, I want a bounded spend plan covering up to $3 for these four x402 endpoints — the goal is image captioning and object detection. Show me how the budget would be allocated across them."},{"title":"Vendor selection for a frugal autonomous buyer","prompt":"My agent needs to pick the best combination of x402 APIs for answering legal document questions, but I can only spend $2 total. Create a plan that ranks and selects from these six candidate resources so I know which ones to approve before any payment goes out."}],"resultDescription":"A structured spend plan showing which candidate x402 resources are selected, how the budget is allocated across them, their ranked priority, and the projected total cost — all without triggering any actual payment transactions.","failureModes":["Budget too low to cover any candidate's minimum price — returns empty or infeasible plan","Invalid or missing goal string — plan may be unscored or poorly ranked","Candidates missing required endpoint/url field — schema validation error","Candidate price fields absent or unparseable — endpoint excluded from plan","Budget exceeds reasonable sanity limits — may return error or capped plan"],"whenToPreferThis":"Use this endpoint when you need to decide which x402 APIs to purchase before committing funds — it is the right choice for pre-flight budget planning, agent spend governance, or generating an approval payload for human review. Prefer it over the quote endpoint when you want a full multi-resource plan rather than a single-resource quote, and over the ranking endpoint when you need budget-bounded allocation rather than just a ranked list.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:30:40.812Z","isFirstParty":false}