{"uid":"cap_J1WYsmt36TLprmvaafX8g","slug":"api-production-2800-up-railway-app-1a182582","name":"AgentSpendGuard x402 Endpoint Risk Preflight API","description":"","url":"https://api-production-2800.up.railway.app/v1/x402-risk","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"input":{"body":{"payTo":"0x1234567890123456789012345678901234567890","expectedNetwork":"eip155:8453","expectedMaxPriceUsd":100,"requireRecentActivityDays":30},"type":"http","method":"POST","bodyType":"json"}},"response":{"score":40,"matched":false,"quality":{"l30DaysTotalCalls":0,"l30DaysUniquePayers":0,"metadataQualityScore":0},"reasons":[{"code":"X402_RESOURCE_NOT_DISCOVERED","message":"The endpoint was not found in CDP Bazaar discovery. It may be new, unindexed, or risky to call without more evidence.","evidence":[],"severity":"warning"}],"verdict":"caution","decision":{"retryable":true,"shouldPay":false,"requiresHumanReview":true,"maxRecommendedPriceUsd":100},"riskLevel":"high","alternatives":[],"recommendedAction":"Do not auto-pay this endpoint unless the buyer explicitly trusts the seller or has independent evidence."}},"exampleRequest":{"payTo":"0x1234567890123456789012345678901234567890","expectedNetwork":"eip155:8453","expectedMaxPriceUsd":100,"requireRecentActivityDays":30},"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6pvtgixQWly4JXRJVr_NB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs risk assessment on an x402 payment endpoint before an autonomous agent pays, returning an allow/caution/block verdict with score, reason codes, and evidence.","exampleAgentPrompt":"Before paying that x402 API at https://api.example.com/data, run a risk preflight on it and tell me whether I should allow, caution, or block the payment — show me the risk score and any red flags like low payer count or metadata issues.","exampleUseCases":null,"resultDescription":"A strict JSON object containing a verdict of 'allow', 'caution', or 'block'; a numeric risk score; reason codes explaining the assessment; evidence data (e.g. unique payer count, recent call volume, CDP Bazaar discovery status, price anomalies, metadata quality, network match); and suggested alternative endpoints when available.","failureModes":["Endpoint URL not reachable or malformed — returns error or block verdict","x402 endpoint not found in CDP Bazaar — flagged as undiscovered, may return caution/block","Network mismatch between specified network and endpoint's actual network — returns block with network_mismatch reason code","Price outside expected range — returns caution or block with price_anomaly reason code","Low or zero unique payer count — returns caution or block with low_adoption reason code","Service unavailable — HTTP 500 or timeout from the railway.app host"],"whenToPreferThis":"Use this endpoint when an AI agent is about to pay an unknown or first-seen x402 resource and needs a fast, structured risk verdict before committing funds. Ideal for autonomous buyer agents operating without human oversight that need a guardrail layer. Prefer this over manual checks when you need CDP Bazaar discovery status, payer history, and metadata quality bundled into a single scored verdict.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:39:10.850Z","isFirstParty":false}