{"uid":"cap_uAbRLthKmv3-xOFN41jWm","slug":"hostdefi-x402-provider-risk-grader-e75eb07c","name":"HostDeFi x402 Provider Risk Grader","description":"HostDeFi is a Solana DEX with a free token safety scanner. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, 1% flat fee.","url":"https://rpc.hostdefi.com/api/v1/x402/provider-risk?utm_source=zero.xyz","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_odq0136aagI3_hG3a3gE9","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":"Grades the safety and trustworthiness of an x402 payment provider or resource URL, returning a letter grade, numeric score, and risk reasons.","exampleAgentPrompt":"Before I pay this x402 API, can you check the risk grade for https://rpc.somevendor.com/api/resource and tell me if it's safe to call?","exampleUseCases":[{"title":"Pre-payment x402 safety check","prompt":"I'm about to call an x402 endpoint at https://api.example.com/v1/data — can you grade its provider risk and let me know the score and any red flags before I authorize the payment?"},{"title":"Automated agent payment gating","prompt":"Before my agent pays any x402 resource, run a risk check on https://rpc.newprovider.com/api/v1/endpoint and only proceed if the grade is B or better."},{"title":"Vetting a new DeFi API vendor","prompt":"I found a new pay-per-call API at https://defitools.xyz/api/prices — can you check its x402 provider risk grade so I know whether to trust it with micropayments?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean, 'kind' field (e.g. 'provider'), a letter grade (e.g. 'B'), a numeric score (0-100), and a 'reasons' array listing specific risk factors detected.","failureModes":["Missing or invalid 'resource' query parameter returns an error response","Unknown or unreachable provider URL may return low score or grade F","Network timeout if the target resource is offline","Malformed URL input may cause validation failure","Provider not indexed in risk database may return limited data"],"whenToPreferThis":"Use this endpoint when an AI agent needs to verify the safety and trustworthiness of an x402 pay-per-call resource before authorizing a micropayment. It is the right choice when you want a letter-grade risk signal (A-F) plus a numeric score for x402 providers specifically, particularly in automated agent workflows that need a gate before spending USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:34:23.467Z","isFirstParty":false,"canonicalSlug":"hostdefi-x402-provider-risk-grader-e75eb07c"}