{"uid":"cap_f6d_8RM7MLfjYubtNA1MI","slug":"signgate-x402-transaction-preflight-agent-buyer-identity-purchase-16b6c3c0","name":"SignGate x402 Transaction Preflight – Agent Buyer Identity & Purchase Governance","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/transaction/preflight","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":["merchant_address"],"properties":{"tx":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"owner":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T.+Z$"},"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"spender":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"gas_limit":{"type":"string","pattern":"^[0-9]+$"},"from_block":{"type":"string","pattern":"^[0-9]+$"},"wallet_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"expected_amount":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$"},"contract_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"merchant_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"expected_recipient":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}},"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-transaction-preflight","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YcgTUATZjHQAAO3hkNHAI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether an AI agent's buyer identity and wallet are eligible to purchase a specific x402-priced API, dataset, or tool before committing payment.","exampleAgentPrompt":"Before you pay the x402 fee to that data API at merchant address 0xAbC123...def456, run a preflight check using my wallet 0x789...abc and expected amount 0.25 to make sure my buyer identity passes and the risk score is low.","exampleUseCases":[{"title":"Agent spending guard before API purchase","prompt":"Before my agent pays the x402 fee for that LLM inference API at merchant 0x1a2b3c4d5e6f7890aabbccddeeff00112233445566, check whether my wallet 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef is eligible and the risk is low — expected amount is 1.50 USDC."},{"title":"Sensitive dataset purchase compliance check","prompt":"My agent wants to buy access to a health dataset at contract address 0xAABBCC1122334455667788990011AABBCCDDEEFF from merchant 0x9988776655443322110099887766554433221100 for 5.00 USDC — run the preflight to verify the buyer identity fits and there are no policy flags before it proceeds."},{"title":"Autonomous agent fleet purchase governance","prompt":"Before any agent in my fleet spends on x402 tools, screen this purchase: merchant is 0x0011223344556677889900AABBCCDDEEFF001122, spender wallet is 0xFFEEDDCCBBAA99887766554433221100FFEEDDCC, expected amount 0.50 — flag anything risky so I can decide whether to approve."}],"resultDescription":"Returns a JSON object containing the network (e.g. eip155:8453 for Base), product identifier, an assessment object with a numeric risk_score, a risk_level string (e.g. 'low'), and a flags array listing any policy violations or concerns. May also include identity, activity, and provenance sub-objects describing the buyer and merchant.","failureModes":["Missing required merchant_address query parameter returns a validation error","Invalid Ethereum address format (not matching 0x[40 hex chars]) causes parameter rejection","Unrecognized wallet or merchant on-chain may return incomplete identity/provenance data","Network congestion or RPC errors may cause slow or failed on-chain lookups","High risk_score or non-empty flags array means the purchase should not proceed","Service unavailable on Cloudflare Worker edge returns HTTP 5xx"],"whenToPreferThis":"Use this endpoint when an AI agent is about to autonomously execute an x402 micropayment and you need a governance gate — specifically to validate buyer identity fitness, policy compliance, and risk before committing funds. Prefer this over generic allowance checks when the product category, sensitivity, or price tier requires structured approval policy enforcement. Best suited for agentic pipelines where spending decisions must be auditable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:11.711Z","isFirstParty":false}