Use when an agent sends, receives or monitors Bitcoin

$0.002 per call20 free calls/day via MCP

Use when an agent sends, receives or monitors Bitcoin. Recommended fees in sat/vB (fastest, 30 min, 1 h, economy) with the USD cost of a typical transaction, mempool size and block height; plus, when given, an address balance and transaction count, or a transaction's confirmation status. Under 2 s.

bitcoinbtcfeesmempooladdress-balancetransaction-statuscryptolightning

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool bitcoin:

{
  "name": "bitcoin",
  "arguments": {
    "address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/bitcoin \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"address":"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.002 and retries automatically. Works with any x402 wallet: Base MCP, Coinbase AgentKit, x402-fetch / x402-axios, Cloudflare Agents. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "Optional Bitcoin address"
    },
    "txid": {
      "type": "string",
      "description": "Optional transaction id"
    }
  },
  "required": []
}

Example output

{
  "fees": {
    "fastestSatVb": 12,
    "halfHourSatVb": 9,
    "hourSatVb": 7,
    "economySatVb": 3,
    "fastestTxUsd": 1.2
  },
  "blockHeight": 925000,
  "mempool": {
    "txCount": 41000,
    "vsizeMB": 32.5
  },
  "address": {
    "balanceBtc": 0.0123,
    "txCount": 18
  }
}

Related tools

Use when an agent is about to trust, buy into or connect a wallet to a crypto project and wants to know if its website looks legit ($0.01) · Use when a trading agent is about to buy a token and must know if it is a honeypot, rug or scam ($0.01) · Use when an agent is about to send funds to, receive from, or trade with a crypto address and needs to know if it is risky ($0.005) · Use when an agent needs crypto prices ($0.002) · Use when an agent is about to send an on-chain transaction and must pick a fee ($0.001) · Use when an agent researches DeFi ($0.003) · Use when a trading agent needs perpetual futures data ($0.003) · Use when an agent wants the crypto market mood before trading or writing about markets ($0.001)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402