{"uid":"cap_bKZy-HEjcHqWh-ohkOFW_","slug":"x402-trust-layer-pre-x402-guard-check-1b839d57","name":"x402 Trust Layer — Pre-x402 Guard Check","description":"68 paid x402 trust infrastructure APIs: guard, semantic escrow, mandate diff, certified seller network, KYM, mandates, compliance, disputes, and orchestration.","url":"https://x402trustlayer.xyz/api/guard/pre-x402?utm_source=zero.xyz","method":"POST","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","allowed","summary"],"properties":{"ok":{"type":"boolean"},"allowed":{"type":"boolean"},"summary":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"allowed":true,"summary":"Paid response after x402 settlement"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ga8nueTtyWI2dT5UPYVpf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a pre-payment guard check for an HTTP request, determining whether the request is allowed to proceed through x402 trust infrastructure before settlement.","exampleAgentPrompt":"Before I pay to access this API, run a pre-x402 guard check on a GET request to make sure it's allowed through the trust layer.","exampleUseCases":null,"resultDescription":"Returns a JSON object with 'ok' (boolean indicating the check itself succeeded), 'allowed' (boolean indicating whether the request is permitted to proceed), and 'summary' (a human-readable explanation of the decision).","failureModes":["Invalid or unsupported HTTP method (must be GET, HEAD, or DELETE) — validation error","Missing required 'type' or 'method' fields in input — 400 bad request","x402 payment settlement failure — 402 payment required response","Trust layer infrastructure unavailable — 5xx server error","Request blocked by guard rules — returns allowed: false with summary explaining reason"],"whenToPreferThis":"Use this endpoint when you need to perform a pre-flight authorization check on a GET, HEAD, or DELETE HTTP request before committing to an x402 micropayment. This is the right choice when you want to validate request eligibility against x402 trust infrastructure rules — such as mandate checks, compliance screening, or seller certification — before spending USDC on the actual API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:50:14.893Z","isFirstParty":false,"canonicalSlug":"x402-trust-layer-pre-x402-guard-check-1b839d57"}