{"uid":"cap_kVFFzLQM99XIr9Gj-DJTN","slug":"x402-tools-localhost-trap-diagnostic-c5b4a9a5","name":"x402-tools Localhost Trap Diagnostic","description":"Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.","url":"https://openclawproductions.com/api/v1/localhosttrap?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"sku":"localhosttrap","note":"Example paid JSON shape. Not a live settle.","price":"$0.08","title":"Localhost Trap"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q311Pwp1slRpD6jV9WqwC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a paid example JSON diagnostic payload for the 'localhosttrap' SKU, demonstrating the x402 HTTP payment protocol flow with EIP-3009 extras via OpenX402 facilitator.","exampleAgentPrompt":"Run the x402 localhosttrap diagnostic against the OpenX402 facilitator and show me what the paid JSON response looks like — I want to confirm the EIP-3009 payment flow is working end to end.","exampleUseCases":[{"title":"Verify x402 payment gating works","prompt":"Can you hit the localhosttrap x402 diagnostic endpoint and confirm that paying $0.08 USDC through OpenX402 returns the expected JSON payload? I want to make sure the payment gate is functioning correctly."},{"title":"Debug HTTP 402 EIP-3009 response format","prompt":"I'm building an x402 integration and need to see what the raw HTTP 402 response with EIP-3009 extras looks like when I don't include payment — can you probe the localhosttrap SKU and show me the unpaid error response?"},{"title":"Confirm OpenX402 facilitator connectivity","prompt":"Test the OpenX402 facilitator connection using the localhosttrap diagnostics SKU and tell me if the paid response comes back with the correct title, price, and SKU fields."}],"resultDescription":"Returns a JSON object containing: SKU name ('localhosttrap'), a diagnostic note confirming the paid response shape, the price ($0.08), and a human-readable title ('Localhost Trap'). Unpaid requests return HTTP 402 with EIP-3009 payment extras indicating the required USDC payment.","failureModes":["HTTP 402 returned when payment is missing or insufficient — includes EIP-3009 extras specifying payment requirements","Invalid or malformed payment token results in payment rejection","OpenX402 facilitator unavailability causes endpoint to be unreachable","Malformed 'properties' input string may produce unexpected behavior"],"whenToPreferThis":"Choose this endpoint when you need to test, debug, or demonstrate the x402 HTTP payment protocol flow end-to-end using the OpenX402 facilitator. Ideal for developers validating EIP-3009 payment gating, confirming micropayment infrastructure is operational, or exploring what a real x402 paid API response looks like with a minimal $0.08 USDC cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:45:20.095Z","isFirstParty":false,"canonicalSlug":"x402-tools-localhost-trap-diagnostic-c5b4a9a5"}