{"schema":"x402.v1","service":"Bitcoin Benji API","version":"2.3.0","payment_protocol":"L402","payment_network":"bitcoin-lightning","supports_x402":false,"x402_bridge":"This service uses L402 (Lightning) instead of USDC. 402 challenges return WWW-Authenticate: L402 with a BOLT11 invoice and a macaroon. Pay the invoice, then resend with Authorization: L402 <macaroon>:<preimage>. Alternative: buy a prepaid bundle at /api/keys and use Authorization: Bearer bbk_<hex>.","endpoints":[{"path":"/fees","method":"GET","price_sats":10,"category":"mempool","description":"Fee estimates with trend analysis"},{"path":"/whales","method":"GET","price_sats":40,"category":"mempool","description":"Whale/consolidation/distribution alerts from the mempool"},{"path":"/mempool","method":"GET","price_sats":5,"category":"mempool","description":"Live mempool state snapshot"},{"path":"/mempool/history","method":"GET","price_sats":50,"category":"mempool","description":"Rolling 24h mempool snapshots"},{"path":"/blocks","method":"GET","price_sats":10,"category":"mempool","description":"Recent block data"},{"path":"/mempool/predict","method":"GET","price_sats":50,"category":"mempool","description":"EMA-based fee prediction with confidence + direction"},{"path":"/bitcoin/tx-status","method":"GET","price_sats":15,"category":"bitcoin","description":"Transaction status by txid: confirmations, fee, block height, mempool ETA"},{"path":"/bitcoin/fee-quote","method":"GET","price_sats":15,"category":"bitcoin","description":"Exact fee quote: query inputs, outputs, target_blocks, input_type"},{"path":"/ai/summarize","method":"POST","price_sats":20,"category":"ai","description":"Summarize text (short/medium/long). POST {text, max_length?}"},{"path":"/ai/sentiment","method":"POST","price_sats":10,"category":"ai","description":"Sentiment analysis with confidence score. POST {text}"},{"path":"/ai/translate","method":"POST","price_sats":20,"category":"ai","description":"Translate between 100+ languages. POST {text, target, source?}"},{"path":"/ai/grammar","method":"POST","price_sats":15,"category":"ai","description":"Fix grammar, spelling, punctuation. POST {text}"},{"path":"/ai/code-review","method":"POST","price_sats":50,"category":"ai","description":"Code review for bugs, security, performance. POST {code, language?}"},{"path":"/ai/extract","method":"POST","price_sats":25,"category":"ai","description":"Extract structured data (entities/contacts/dates/custom). POST {text, schema?, custom_fields?}"},{"path":"/ai/scrape","method":"POST","price_sats":15,"category":"ai","description":"Scrape & extract clean text from any URL. POST {url}"},{"path":"/ai/agent","method":"POST","price_sats":30,"category":"ai","description":"General AI agent — any text task. POST {task, context?}"},{"path":"/ai/classify","method":"POST","price_sats":10,"category":"ai","description":"Classify text into your categories. POST {text, categories[]}"},{"path":"/ai/rewrite","method":"POST","price_sats":15,"category":"ai","description":"Rewrite text in different styles. POST {text, style}"},{"path":"/ai/explain","method":"POST","price_sats":25,"category":"ai","description":"Explain any topic at your level. POST {topic, level?}"},{"path":"/ai/embed","method":"POST","price_sats":2,"category":"ai","description":"768-dim embedding vectors (RAG-ready). POST {text} or {texts: [...]}"},{"path":"/ai/vision","method":"POST","price_sats":40,"category":"ai","description":"Vision QA over an image URL. POST {image_url, question?}"},{"path":"/ai/ocr","method":"POST","price_sats":25,"category":"ai","description":"Extract all visible text from an image URL. POST {image_url}"},{"path":"/ai/code-generate","method":"POST","price_sats":40,"category":"ai","description":"Generate code from a spec. POST {prompt, language?, context?}"},{"path":"/ai/longform","method":"POST","price_sats":75,"category":"ai","description":"Summarize huge documents (~50K words) in one flat-fee call. POST {text or url, focus?, max_length?}"},{"path":"/ai/transcribe-table","method":"POST","price_sats":35,"category":"ai","description":"Convert a table image into JSON rows. POST {image_url}"},{"path":"/ai/research","method":"POST","price_sats":100,"category":"ai","description":"Multi-step web research + cited synthesis. POST {question, max_sources?}"},{"path":"/whales/stream","method":"GET (SSE)","price_sats":1,"billing":"per-minute","auth":"Bearer-only","category":"mempool","description":"Realtime SSE stream of whale alerts."},{"path":"/whales/alerts/subscribe","method":"POST","price_sats":100,"per_delivery_sats":5,"auth":"Bearer-only","category":"mempool","description":"Webhook subscription for whale alerts."}],"free_endpoints":["/revenue","/landing","/","/api/keys","/stats","/api/keys/balance","/pricing","/api/keys/topup","/api/discovery","/analytics","/.well-known/x402"],"discovery_url":"/api/discovery","pricing_url":"/pricing","bundles_url":"/api/keys","contact_nostr":"npub1785yfxmmcmd7d29upl0ldg8xxd4ktvpuqxaqe8cejfmha2shly9s6yryen","node_pubkey":"0202d9f3575d6b788235dc617262ee3bb2d4c3c740adae6e98016bc1396e1a279f"}