btcfi-api
Bitcoin data for AI agents. Pay-per-query via x402 micropayments. No API keys. No subscriptions. No tokens.
README
BTCFi API
Bitcoin Data & Intelligence for AI Agents
Live at btcfi.aiindigo.com · Built by AI Indigo · GitHub
BTCFi API provides 31 Bitcoin data and intelligence endpoints accessible via x402 micropayments. Pay $0.01–$0.05 per query in USDC — no API keys, no subscriptions.
Quick Start
For AI Agents (MCP):
npx @aiindigo/btcfi-mcp
For Developers (SDK):
npm install @aiindigo/btcfi
import { BTCFi } from "@aiindigo/btcfi";
const btcfi = new BTCFi({ network: "base" });
const fees = await btcfi.fees();
const risk = await btcfi.intelligence.risk("bc1q...");
For Humans:
- Web Dashboard
- Telegram Bot —
/price,/fees,/mempool,/address,/tx,/whale,/risk,/network - Chrome Extension — price badge, whale alerts, address inspector
- Interactive API Docs
Endpoints
| Group | Count | Price | Examples |
|---|---|---|---|
| Core | 11 | $0.01 | fees, mempool, address, UTXOs, transactions, blocks |
| Intelligence | 5 | $0.02 | fee prediction, whale alerts, risk scoring, network health |
| Security | 1 | $0.02 | YARA-pattern threat analysis |
| Solv Protocol | 4 | $0.02 | SolvBTC reserves, yield, liquidity, risk |
| ZK Proofs | 4 | $0.01–$0.03 | balance range, UTXO age, set membership |
| Streams | 2 | $0.01 | real-time blocks, whale transactions (SSE) |
| System | 4 | Free | health, index, staking status |
Full specification: OpenAPI 3.1
Payment
Dual-network x402 micropayments in USDC:
- Base — Coinbase facilitator (fee-free)
- Solana — NLx402 by PCEF (nonprofit)
No API keys. No sign-up. Just pay and query.
Security
- Wallet-based request signing (Ed25519 + secp256k1)
- Encrypted responses (Curve25519 + XSalsa20-Poly1305)
- Zero-knowledge proofs (Groth16)
- 8 YARA-style threat detection patterns
- Nonce replay protection
- PEAC Protocol cryptographic receipts
Report vulnerabilities: security@aiindigo.com
Documentation
| Doc | Description |
|---|---|
| docs/ROADMAP.md | Project history and future plans |
| docs/ARCHITECTURE.md | System design and endpoint reference |
| docs/SECURITY.md | Security model and features |
| docs/CHANGELOG.md | Version history |
Packages & Distribution
| Package | Description |
|---|---|
@aiindigo/btcfi |
TypeScript SDK — 28 methods |
@aiindigo/btcfi-mcp |
MCP Server — 27 tools for Claude, ChatGPT, Gemini |
| MCP Registry | io.github.aiindigo925/btcfi |
| Glama | Indexed — searchable MCP directory |
| @BTC_Fi_Bot | Telegram bot — 9 commands + inline mode |
License
MIT
No token. No API keys. Just Bitcoin data. Ship > talk. 🚀
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.