{"uid":"cap_qjmUHNc4_e9A9Z2w6anVs","slug":"trust402-origin-evaluation-a9ed57be","name":"Trust402 Origin Evaluation","description":"Evaluate a full origin/domain and its x402 discovery posture.","url":"https://trust402.vercel.app/api/trust/evaluate-origin","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"has402":{"type":"boolean"},"origin":{"type":"string","format":"uri","description":"Resource origin URL."},"endpoint":{"type":"string","format":"uri","description":"Resource endpoint URL."},"priceUsd":{"type":"number"},"hasOpenApi":{"type":"boolean"},"description":{"type":"string"},"hasWellKnown":{"type":"boolean"},"receiptReady":{"type":"boolean"},"hasInputSchema":{"type":"boolean"}}},"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_qGrH1nbSwwXaja92VDsg7","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":"Evaluates a full origin/domain and its x402 payment discovery posture, scoring its readiness for autonomous agent interaction.","exampleAgentPrompt":"Can you evaluate the x402 trust posture for the origin https://api.example.com — it has 402 support, an OpenAPI spec, and a price of $0.05, but I'm not sure if it has a well-known file or receipt readiness?","exampleUseCases":[{"title":"Pre-purchase origin trust check","prompt":"Before my agent pays for anything at https://data.myprovider.io, can you evaluate its x402 discovery posture — it has a 402 response and costs $0.10, but I don't know if it has a well-known file or input schema?"},{"title":"Marketplace seller readiness audit","prompt":"I'm listing my API on a marketplace — can you assess the trust posture for my origin https://myapi.vercel.app, which has x402 enabled, an OpenAPI spec, receipt readiness, and a well-known file at $0.02 per call?"},{"title":"Comparing origins before agent routing","prompt":"I have two potential data sources for my agent — can you evaluate the x402 discovery posture for https://source-a.io, which has 402 but no well-known file and no input schema, at $0.03 per call?"}],"resultDescription":"Returns a structured evaluation of the origin's x402 discovery posture, including trust signals derived from the provided metadata such as whether the origin has 402 support, an OpenAPI spec, a well-known file, receipt readiness, and an input schema. The result gives a holistic assessment of how ready the origin is for autonomous agent discovery and purchasing.","failureModes":["Missing or malformed origin URI returns validation error","Invalid URL format for origin or endpoint field causes rejection","Missing required fields may result in incomplete scoring","Unreachable or non-existent origin may produce low-confidence results","Conflicting boolean flags (e.g., hasWellKnown=true but no well-known content) may yield unexpected scores"],"whenToPreferThis":"Use this endpoint when you need a holistic, multi-signal evaluation of an entire origin/domain's x402 readiness rather than a single endpoint probe. It is preferable over the single-endpoint fast probe when you want to assess discovery posture at the origin level, audit a domain for marketplace listing, or make trust-based routing decisions for an agentic buyer across an entire provider domain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:42:10.107Z","isFirstParty":false}