{"uid":"cap_VraNlhVwlcgWM39dcQEJp","slug":"money-agent-validate-x402-purchase-before-paying-f93ff072","name":"Money Agent – Validate x402 Purchase Before Paying","description":"Machine-payable financial data and autonomous-agent services over x402.","url":"https://money-agent-b4o0.onrender.com/validate-x402-purchase-before-paying","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"maxPrice":{"type":"number","minimum":0}}},"responseSchema":{"type":"json","example":{"reason":"Payment terms are within buyer policy.","decision":"BUY"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NGPxj8QyTXQZai0J3hEjq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates whether a given x402-gated URL's payment terms fall within the buyer's price policy before committing to payment","exampleAgentPrompt":"Before paying for that x402-gated financial data endpoint at https://money-agent-b4o0.onrender.com/sec-filings, check whether it's within my max price of $0.01 USDC and tell me if I should go ahead and buy.","exampleUseCases":[{"title":"Budget guard for agent micropayments","prompt":"Before my agent pays for any x402 URL, I want you to check whether the payment terms are within my $0.005 USDC max price — run the validation on https://money-agent-b4o0.onrender.com/sec-filings and tell me if it's a buy or not."},{"title":"Policy enforcement for autonomous finance agent","prompt":"My autonomous agent is about to call a paywalled data endpoint at https://example-data.com/market-data — validate that the x402 price is under $0.002 USDC before it commits to the payment."},{"title":"Pre-flight check before accessing paywalled API","prompt":"I'm building a pipeline that calls x402-gated APIs automatically. Before hitting https://money-agent-b4o0.onrender.com/some-endpoint, validate whether the payment terms are reasonable given a max acceptable price of $0.003 USDC."}],"resultDescription":"Returns a JSON object with a 'decision' field ('BUY' or a rejection indicator) and a 'reason' string explaining whether the payment terms are within the buyer's configured price policy.","failureModes":["URL is unreachable or not an x402 endpoint — unclear payment terms cannot be evaluated","maxPrice is zero or missing — policy check may default to rejection","URL returns unexpected or non-402 response — decision may be indeterminate","Network timeout on the target URL — validation fails with no decision","Price terms exceed maxPrice — returns a rejection decision with reason"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs a policy gate before committing to any x402 micropayment — especially in agentic pipelines where you want human-defined budget guardrails enforced programmatically before spending USDC. Prefer this over directly paying if you want to avoid overspending on machine-payable APIs or need an auditable pre-authorization step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:31:05.408Z","isFirstParty":false}