search
Perform pay-per-query web searches using Lightning Network. Pay a Lightning invoice per query to get search results without registration.
Instructions
No-KYC web search, paid per query in Lightning sats (L402). Call with just query → returns a bolt11 invoice + payment_hash. Pay the invoice with your wallet tool (e.g. nwc_pay_invoice), then call again with the SAME query plus payment_preimage from the pay result → returns JSON results. Each payment buys exactly one search of exactly that query.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query. Must be identical on the paid retry. | |
| payment_preimage | No | 64-hex preimage returned by your wallet after paying the invoice. Omit on the first call. |