{"uid":"cap_EjLdJW8caphLtZ5WfW1VC","slug":"signgate-x402-resource-compare-agent-buyer-identity-preflight-82df10b8","name":"SignGate x402 Resource Compare — Agent Buyer Identity Preflight","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/x402/resource-compare","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","required":["resources"],"properties":{"resources":{"type":"string","pattern":"^https?://","maxLength":4096,"description":"Comma-separated list of two to five public x402 resource or server URLs."},"budget_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Optional maximum acceptable spend for one chosen resource."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"x402-resource-compare","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"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_gVGuknNKfd4vdAErT_I2G","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":"Compares two to five x402 resource URLs to assess purchase risk, buyer role fit, and policy compliance before an AI agent executes a payment.","exampleAgentPrompt":"Before you pay for any of these x402 APIs, compare https://api.example.com/data and https://api.other.com/tool and tell me which one is low-risk and fits within a $0.50 USDC budget.","exampleUseCases":[{"title":"Pre-purchase risk screen for agent","prompt":"I'm about to let my agent buy access to https://api.datasource.com/premium and https://api.analytics.io/feed — can you run a preflight check and tell me the risk level and any flags before it spends anything?"},{"title":"Budget-capped resource selection","prompt":"Compare these three x402 resources for me — https://api.one.com/res, https://api.two.com/res, and https://api.three.com/res — and flag which ones are within a $1.00 USDC budget and rated low risk."},{"title":"Buyer role compliance check","prompt":"My agent has a 'data-consumer' role. Before it purchases from https://api.sensitivedata.com/endpoint, check whether the buyer identity fits the product category and sensitivity policy."}],"resultDescription":"Returns a JSON object with the Base network identifier, product name, a risk score (numeric), a risk level label (e.g. 'low'), an array of risk flags, plus nested activity, identity, assessment, and provenance objects for each compared resource.","failureModes":["Missing or malformed 'resources' query parameter returns a validation error","Fewer than two or more than five URLs causes rejection","Non-HTTP/HTTPS URLs are rejected by the pattern constraint","Budget value with more than 6 decimal places fails pattern validation","Unreachable or non-x402 resource URLs may return unknown provenance or elevated risk scores","Service downtime on the Cloudflare Worker returns 5xx"],"whenToPreferThis":"Use this endpoint when an AI agent needs to compare and screen multiple x402 resources before committing a USDC payment — especially when buyer role fit, spend limits, or sensitivity policy matter. Prefer it over generic x402 payment flows when governance, compliance, or risk scoring is required prior to purchase execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:31.180Z","isFirstParty":false}