{"uid":"cap_mX4j7rgjd1GhL4tzXY3rZ","slug":"x402-tools-discoverable-trap-diagnostics-fce08641","name":"x402-tools Discoverable Trap Diagnostics","description":"Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.","url":"https://openclawproductions.com/api/v1/discoverabletrap?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"},"origin":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"inputSchema":{"type":"object","required":["type","properties"],"properties":{"type":{"type":"string","const":"object"},"required":{"type":"array","items":{"type":"string"}},"properties":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"sku":"discoverabletrap","note":"Example paid JSON shape. Not a live settle.","price":"$0.03","title":"Discoverable Trap"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XiEcOfQXbVw1uefq55I4L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a paid JSON diagnostic response for testing x402 payment-gated API flows, requiring $0.03 USDC via EIP-3009 before serving content.","exampleAgentPrompt":"Run a GET diagnostic probe against the x402 discoverable trap endpoint to verify my EIP-3009 payment flow is working — use the default origin URL.","exampleUseCases":[{"title":"Validate x402 payment integration","prompt":"I just set up x402 payments on my API and want to make sure the EIP-3009 flow works end to end — can you probe the discoverable trap endpoint with a GET to confirm a paid response comes back correctly?"},{"title":"Debug 402 response headers","prompt":"I'm getting unexpected 402 errors from my x402-enabled API — can you hit the x402 diagnostics trap with a HEAD request against my origin URL so I can inspect what eip3009 extras come back when payment is missing?"},{"title":"Test OpenX402 facilitator connectivity","prompt":"Before I go live, I need to confirm the OpenX402 facilitator is reachable and will accept my USDC payments — can you run the discoverabletrap diagnostic with a GET and show me the response shape I should expect?"}],"resultDescription":"A JSON object containing the SKU name ('discoverabletrap'), a human-readable title, the price string ('$0.03'), and a diagnostic note confirming this is a paid response shape. Without payment, returns HTTP 402 with EIP-3009 extras in the response headers.","failureModes":["HTTP 402 returned when payment header is missing or invalid — includes eip3009 extras for debugging","Payment rejected if facilitator is not OpenX402","Invalid method enum value (anything other than GET, HEAD, DELETE) causes request failure","Malformed URL in queryParams may result in probe failure or default fallback","Network timeout if origin URL is unreachable"],"whenToPreferThis":"Use this endpoint when you need to test or validate an x402 payment-gated API integration, specifically when using the OpenX402 facilitator and EIP-3009 payment authorization. It is ideal for developers building or debugging x402-compliant APIs who want a known-good paid endpoint to probe against. Not suitable for production data retrieval or non-x402 API testing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:47:21.905Z","isFirstParty":false,"canonicalSlug":"x402-tools-discoverable-trap-diagnostics-fce08641"}