{"name":"AIRadar — AI Provider Directory","url":"https://airadar.fyi","description":"Real-time directory of AI inference providers on the Routstr/Nostr decentralized network. Find which providers are online, what models they offer, their speed and pricing. Pay per query — no registration, no API key, no subscription.","version":"1.0.0","endpoints":{"GET /info":{"description":"This document. Service metadata for AI agents.","auth":"none"},"GET /health":{"description":"Service liveness check.","auth":"none","returns":"{ status, price_sats, price_usdc }"},"GET /providers":{"description":"Full list of Routstr AI inference providers with models, pricing, uptime, mints and endpoint. Sorted by availability then speed.","auth":"pay-per-use","payment_options":[{"protocol":"L402","asset":"BTC","network":"Lightning","amount":"10 sats","how_to_pay":["1. Call GET /providers — receive HTTP 402 with Lightning invoice in body and WWW-Authenticate header.","2. Pay the invoice with any Lightning wallet (Phoenix, Alby, Wallet of Satoshi, etc.).","3. Retry with header: Authorization: L402 <payment_hash>:<preimage>"]},{"protocol":"x402","asset":"USDC","networks":["Base (eip155:8453)","Polygon (eip155:137)","Arbitrum (eip155:42161)","Solana"],"amount":"$0.01 USDC","receive_address_evm":"0x7698672ceE929D3f0fA3c773111b4D6b0095aa1A","receive_address_solana":"AP8Q9QaYQ1etKFuUVQdd8RpGCWYH4QLDREfnd76KJX3m","how_to_pay":["1. Call GET /providers — receive HTTP 402 with X-PAYMENT-REQUIRED header (base64 JSON).","2. Decode header, sign USDC transfer on your preferred network.","3. Retry with header: X-PAYMENT: <base64-encoded-signed-payment-payload>","Compatible with: Coinbase AgentKit, ElizaOS, Vercel AI SDK, @x402/fetch"]}]},"GET /free":{"description":"Free preview: top 3 online providers. No payment required.","auth":"none"},"GET /providers/:pubkey":{"description":"Full detail for a single provider including all models.","auth":"pay-per-use"},"GET /models":{"description":"List all models across all providers. Filter by ?id=<model-id> or ?modality=text|image|audio. Sorted by price ascending.","auth":"pay-per-use","filters":["id","modality"]},"POST /route":{"description":"Intelligent routing: send your requirements, receive the best provider + usage instructions.","auth":"pay-per-use","body":{"model_id":"optional","modality":"text|image|audio","max_price_sats_per_1k":"number","min_context_length":"number"}},"GET /mcp":{"description":"MCP server (SSE transport). Compatible with Claude, ElizaOS, and any MCP-compatible agent framework.","auth":"none","tools":["list_providers","find_model","route","compare_prices"]}},"data_source":{"protocol":"Nostr","event_kind":38421,"description":"Routstr Provider Announcements (NIP-91)","relays":["wss://relay.routstr.com","wss://relay.nostr.band","wss://relay.damus.io","wss://nos.lol"]},"payment_protocols":["L402 — https://docs.lightning.engineering/the-lightning-network/l402","x402 — https://x402.org"]}