{"uid":"cap_KchUYPxZKuhSZMWDDjm7H","slug":"hostdefi-x402-provider-risk-grading-533dff40","name":"HostDeFi x402 Provider Risk Grading","description":"HostDeFi is a non-custodial Solana DEX. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, no accounts, no custody.","url":"https://hostdefi.com/api/v1/x402/provider-risk","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","properties":{"resource":{"type":"string","description":"The x402 seller resource URL or origin to grade"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"kind":"provider","grade":"B","score":82,"reasons":[]}},"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_POg0VTwet8LSmBzIvWQBY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a letter grade and numeric risk score for an x402 payment provider or seller resource URL","exampleAgentPrompt":"Can you check the risk grade for the x402 provider at https://example.com/api/resource and tell me whether it's safe to transact with?","exampleUseCases":[{"title":"Vet a new x402 API before paying","prompt":"Before I start calling that x402 endpoint at https://someapi.xyz, can you run a risk check on it and tell me the grade and score so I know if it's trustworthy?"},{"title":"Automate provider safety screening","prompt":"I'm building an agent that uses multiple x402 services — can you grade the provider risk for https://hostdefi.com/api/v1/x402/provider-risk so I can decide whether to include it in my workflow?"},{"title":"Compare risk grades across payment providers","prompt":"Check the risk scores for these two x402 providers — https://service-a.io and https://service-b.io — and tell me which one gets a better safety grade."}],"resultDescription":"A JSON object with an 'ok' boolean, a 'kind' field (e.g. 'provider'), a letter grade (A–F), a numeric score (0–100), and an array of reasons explaining any risk flags found for the queried x402 resource.","failureModes":["Missing or invalid 'resource' query parameter returns an error response","Unrecognized or unreachable resource URL may return a low grade or null score","Non-x402 URLs may yield degraded or unavailable grading results","Rate limiting or payment failure (x402 cost not covered) blocks the response"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically assess the safety or legitimacy of an x402 micropayment provider or seller resource before transacting, particularly in automated workflows where vetting unknown payment endpoints is critical. Prefer this over manual review when integrating new x402 APIs at scale or when building trust-gated agent pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:29.055Z","isFirstParty":false}