l402-search
Discover paid APIs by searching Nostr relays for kind 31402 announcements, returning URLs, pricing, and capabilities. Filter by topic, payment method, or query text.
Instructions
Search Nostr relays for paid API announcements (kind 31402) and return their URLs, pricing and capabilities. Topic filters are sent to the relays; the payment method and query text are matched locally. Announcement text is written by whoever published it and is marked as untrusted content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query to match against service names, descriptions, and capabilities | |
| relays | No | Nostr relay URLs to query (defaults to popular public relays) | |
| topics | No | Filter by topic tags (e.g. ["ai", "data"]) | |
| timeout | No | Relay subscription timeout in milliseconds (default 5000) | |
| maxResults | No | Maximum number of results to return (default 20) | |
| paymentMethod | No | Filter by payment rail, the first value of an announcement's pmi tag (e.g. "l402", "cashu", "xcashu", "lnurlcash", "x402", "payment"). A Cashu service may list "cashu", "xcashu" or both |