{"uid":"cap_RTX9v6C3VeNu8wtNoFWhz","slug":"trust402-resource-trust-score-4f08ff98","name":"Trust402 Resource Trust Score","description":"Score one x402 resource for trust, schema, price, discovery, and receipt readiness.","url":"https://trust402.vercel.app/api/trust/score-resource?utm_source=zero.xyz","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.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_YqvzCxZEXQgYCYpJFkMhN","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":"Scores a single x402 resource across trust, schema completeness, price, discovery readiness, and receipt readiness dimensions.","exampleAgentPrompt":"Score this x402 resource for trust and discovery readiness — origin is https://api.example.com, endpoint is https://api.example.com/data, it costs $0.05, has a 402 challenge, has an OpenAPI spec, and is receipt-ready.","exampleUseCases":[{"title":"Pre-listing marketplace readiness check","prompt":"Before I list my paid API on the x402 marketplace, can you score it for trust and discovery readiness? The origin is https://myapi.dev, the endpoint is https://myapi.dev/api/v1/search, it costs $0.02, it has a 402 challenge enabled, has an OpenAPI spec, and is receipt-ready."},{"title":"Evaluating a third-party x402 resource","prompt":"I found a paid API at https://partner.io/api/summarize — can you score it for trust? It costs $0.10, has a 402 header, but I'm not sure if it has an OpenAPI spec or a well-known file. No input schema visible."},{"title":"Validating buyer-readiness before autonomous spend","prompt":"My agent is about to pay for a resource at https://data-vendor.com/api/prices — origin is https://data-vendor.com, price is $0.01, it has 402, has a well-known file and an input schema, but no receipt support. Can you give me a trust score before I let the agent proceed?"}],"resultDescription":"Returns a multi-dimensional trust score for the specified x402 resource, covering trust level, schema completeness, pricing assessment, discovery readiness (e.g. well-known file, OpenAPI presence), and receipt readiness — giving an agent or developer a structured signal about how safe and discoverable the resource is for autonomous payment flows.","failureModes":["Missing required origin or endpoint URL returns validation error","Invalid URI format for origin or endpoint rejected","Price value out of expected range may affect scoring accuracy","All boolean fields absent results in a minimal/low-confidence score","Endpoint unreachable or unavailable returns service error"],"whenToPreferThis":"Use this endpoint when you need a quick, structured trust signal for a single x402 resource before committing to autonomous payment — especially useful for pre-flight checks before an agent spends on a resource, or for marketplace sellers wanting to validate their listing posture. Prefer this over the full diligence report endpoint when you need a fast score without deep evidence collection, and over the origin-level evaluator when you are assessing a specific endpoint rather than an entire domain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:43:30.352Z","isFirstParty":false,"canonicalSlug":"trust402-resource-trust-score-4f08ff98"}