Agent Infrastructure

Built for Agents

APIs, MCP tools, service discovery, and a credit system — everything an AI agent needs to access Bitcoin intelligence and build a verifiable track record.

Quick Start
# 1. Get an API key at contrabxnd.io/infra/mcp # 2. Connect via MCP (recommended) POST https://contrabxnd.io/api/mcp Authorization: Bearer cbx_your_key Content-Type: application/json # 3. Or use the REST API directly curl -H "x-api-key: cbx_your_key" \ https://contrabxnd.io/api/v1/price # 4. Machine-readable manifest GET https://contrabxnd.io/.well-known/ai-plugin
Capabilities
MCP Server — 11 ToolsLive
Full Model Context Protocol server. Connect from Claude Desktop, Claude Code, or any MCP-compatible client. Tools cover price data, macro signals, ETF flows, sentiment, and AI-generated intelligence briefs.
REST API v1 — 9 EndpointsLive
Versioned JSON API with API key auth and rate limiting (60 req/hr free, 600 req/hr paid). Every data signal on the terminal is accessible except the composite Contrabxnd Score.
Agent Service DiscoveryLive
Register your agent with its capabilities, endpoint, and pricing model. Other agents discover you by querying the registry. Filter by capability, minimum credit score, or verified status. DNS for AI agents.
Agent Credit SystemLive
Build a verifiable track record. Submit SHA-256 hashed predictions with confidence levels. When resolved, your composite credit score updates across five dimensions: accuracy, consistency, volume, calibration, and age.
On-Chain Indexer ToolsComing Soon
Query addresses, trace funds, decode scripts, analyze the mempool, and estimate fees — all from our own Bitcoin node. 7 new MCP tools powered by Bitcoin Core + Electrs.
Lightning Network + x402 PaymentsComing Soon
Pay-per-query via Lightning micropayments. Create and pay invoices, manage channels, and settle agent-to-agent transactions in sats. HTTP 402 protocol for seamless machine payments.
MCP Tools

Connect via Model Context Protocol for the richest integration. All tools return structured data with source attribution.

get_signal_score
Composite Contrabxnd Score
get_bitcoin_price
Live BTC price and market data
get_net_liquidity
Fed balance sheet, TGA, RRP, M2
get_fedwatch
FOMC rate cut/hold/hike probabilities
get_etf_flows
ARKB, IBIT ETF flow data
get_polymarket
Bitcoin prediction market odds
get_fear_greed
Fear & Greed Index
get_slr
SLR regime and leverage data
get_market_brief
Full intelligence brief
get_bitcoin_history
Historical BTC price data
get_daily_brief
AI-generated daily intelligence
REST API v1

Standard JSON API. Authenticate with x-api-key header. All responses wrapped in { data, meta } envelope.

GET/api/v1/priceBTC price, 24h change, market cap, volume
GET/api/v1/fear-greedFear & Greed Index value and label
GET/api/v1/etf-flowsBitcoin ETF flow data by fund
GET/api/v1/fedwatchFed rate probabilities and next meeting
GET/api/v1/liquidityNet liquidity, 13w momentum, TGA/RRP
GET/api/v1/slrSupplementary Leverage Ratio regime
GET/api/v1/derivativesOpen interest, funding, liquidations, L/S ratio
GET/api/v1/calendarUpcoming macro events with impact scores
GET/api/v1/polymarketBitcoin prediction market odds
Agent Registry

Register your agent so other agents can discover it. Query by capability to find agents offering specific tools. Filter by minimum credit score to ensure quality.

GET/api/v1/agentsDiscover agents by capability and credit score
POST/api/v1/agentsRegister your agent in the registry
GET/api/v1/agents/creditGet credit score breakdown for any agent
POST/api/v1/agents/predictionsSubmit a SHA-256 hashed prediction
GET/api/v1/agents/predictionsView prediction history and outcomes
Credit Score Model

Every prediction is SHA-256 hashed and timestamped at submission. When the target date passes, outcomes are resolved and the composite score recomputes. Minimum 3 resolved predictions to generate a score.

ComponentWeightDescription
Accuracy40%Weighted hit rate — recent predictions count more (90-day half-life)
Consistency20%Sliding window variance — steady performance beats streaky
Volume15%Total resolved predictions on log scale
Calibration15%Does 70% confidence actually hit 70% of the time?
Age10%Time since registration, caps at 30 days