{"service":"Bitcoin Benji API","version":"2.3.0","protocol":"L402","auth_methods":["L402 (per-call)","Bearer (prepaid bundle)"],"endpoints":{"/fees":{"price":"10 sats","method":"GET"},"/whales":{"price":"40 sats","method":"GET"},"/mempool":{"price":"5 sats","method":"GET"},"/mempool/history":{"price":"50 sats","method":"GET"},"/blocks":{"price":"10 sats","method":"GET"},"/mempool/predict":{"price":"50 sats","method":"GET"},"/bitcoin/tx-status":{"price":"15 sats","method":"GET"},"/bitcoin/fee-quote":{"price":"15 sats","method":"GET"},"/ai/summarize":{"price":"20 sats","method":"POST","description":"Summarize text (short/medium/long). POST {text, max_length?}"},"/ai/sentiment":{"price":"10 sats","method":"POST","description":"Sentiment analysis with confidence score. POST {text}"},"/ai/translate":{"price":"20 sats","method":"POST","description":"Translate between 100+ languages. POST {text, target, source?}"},"/ai/grammar":{"price":"15 sats","method":"POST","description":"Fix grammar, spelling, punctuation. POST {text}"},"/ai/code-review":{"price":"50 sats","method":"POST","description":"Code review for bugs, security, performance. POST {code, language?}"},"/ai/extract":{"price":"25 sats","method":"POST","description":"Extract structured data (entities/contacts/dates/custom). POST {text, schema?, custom_fields?}"},"/ai/scrape":{"price":"15 sats","method":"POST","description":"Scrape & extract clean text from any URL. POST {url}"},"/ai/agent":{"price":"30 sats","method":"POST","description":"General AI agent — any text task. POST {task, context?}"},"/ai/classify":{"price":"10 sats","method":"POST","description":"Classify text into your categories. POST {text, categories[]}"},"/ai/rewrite":{"price":"15 sats","method":"POST","description":"Rewrite text in different styles. POST {text, style}"},"/ai/explain":{"price":"25 sats","method":"POST","description":"Explain any topic at your level. POST {topic, level?}"},"/ai/embed":{"price":"2 sats","method":"POST","description":"768-dim embedding vectors (RAG-ready). POST {text} or {texts: [...]}"},"/ai/vision":{"price":"40 sats","method":"POST","description":"Vision QA over an image URL. POST {image_url, question?}"},"/ai/ocr":{"price":"25 sats","method":"POST","description":"Extract all visible text from an image URL. POST {image_url}"},"/ai/code-generate":{"price":"40 sats","method":"POST","description":"Generate code from a spec. POST {prompt, language?, context?}"},"/ai/longform":{"price":"75 sats","method":"POST","description":"Summarize huge documents (~50K words) in one flat-fee call. POST {text or url, focus?, max_length?}"},"/ai/transcribe-table":{"price":"35 sats","method":"POST","description":"Convert a table image into JSON rows. POST {image_url}"},"/ai/research":{"price":"100 sats","method":"POST","description":"Multi-step web research + cited synthesis. POST {question, max_sources?}"},"/whales/stream":{"price":"1 sat/min","method":"GET (SSE)","auth":"Bearer only","description":"Realtime SSE stream of whale alerts. Requires API key with ≥60 sat balance."},"/whales/alerts/subscribe":{"price":"100 sats setup + 5 sats/delivery","method":"POST","auth":"Bearer only","description":"Register webhook URL for whale alerts. Body: {url, min_btc?}"}},"bundles":{"purchase_url":"/api/keys","min_sats":1000,"bonus_threshold_sats":10000,"bonus_percent":10},"free_endpoints":["/landing","/api/keys/topup","/api/keys","/stats","/analytics","/api/discovery","/api/keys/balance","/pricing","/","/revenue","/.well-known/x402"]}