{"uid":"cap_RbaYsYNcSPzumCBwjNpob","slug":"x402-tools-lightning-quote-endpoint-4154b8b1","name":"x402-tools Lightning Quote Endpoint","description":"Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.","url":"https://openclawproductions.com/api/v1/lnquote?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":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE","POST"],"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"inputSchema":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4NyybVRiamqtYBEdoT2Go","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a Lightning Network payment quote for a given HTTP request type, gated behind a $0.02 USDC x402 micropayment","exampleAgentPrompt":"Can you get me a Lightning Network payment quote for a GET request using the x402 lnquote tool so I know how much USDC I'll need before making the paid API call?","exampleUseCases":[{"title":"Pre-flight cost check before paid API call","prompt":"Before I make that paid API call, can you fetch me a Lightning quote for a GET request so I know exactly how much it'll cost in USDC?"},{"title":"Diagnosing x402 payment flow","prompt":"I'm testing an x402-enabled endpoint — can you pull a Lightning quote for a POST request and show me the EIP-3009 payment details I'll get back?"},{"title":"Automating micropayment workflow","prompt":"I need to automate payments for repeated API calls — can you grab an lnquote for a GET request so my agent can handle the $0.02 USDC payment before each call?"}],"resultDescription":"Returns a Lightning Network payment quote including pricing details and EIP-3009 payment extras required to authorize a paid x402 API call. Unpaid requests receive an HTTP 402 response with payment requirements embedded in the response headers/body.","failureModes":["HTTP 402 returned if payment not included — contains EIP-3009 extras needed to complete payment","Invalid method enum value causes validation error","Missing required 'type' or 'method' fields returns a schema validation error","OpenX402 facilitator unavailable causes service error","Malformed query parameters or body object may be rejected"],"whenToPreferThis":"Choose this endpoint when you need to retrieve a Lightning Network payment quote specifically for x402-gated HTTP requests facilitated by OpenX402. It is purpose-built for the x402 micropayment protocol ecosystem and returns EIP-3009-compatible payment metadata, making it ideal for agents that need to pre-authorize or automate micropayments before calling paid APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T14:15:05.146Z","isFirstParty":false,"canonicalSlug":"x402-tools-lightning-quote-endpoint-4154b8b1"}