{
  "components": {
    "schemas": {
      "BotidRecord": {
        "properties": {
          "art_description": { "type": ["string", "null"] },
          "created_at": { "type": "string" },
          "inscription_id": { "type": ["string", "null"] },
          "inscription_status": { "type": "string" },
          "name": { "type": "string" },
          "owner_btc_address": { "type": ["string", "null"] },
          "pay_status": { "type": "string" }
        },
        "type": "object"
      },
      "Error": { "properties": { "error": { "type": "string" } }, "type": "object" },
      "NameRecord": {
        "properties": {
          "avatar_url": { "type": ["string", "null"] },
          "bio": { "type": ["string", "null"] },
          "created_at": { "type": "string" },
          "lightning_address": { "type": ["string", "null"] },
          "name": { "type": "string" },
          "owner_btc_address": { "type": ["string", "null"] },
          "rarity": { "type": ["string", "null"] }
        },
        "type": "object"
      },
      "NameRecordFull": {
        "properties": {
          "avatar_url": { "type": ["string", "null"] },
          "bio": { "type": ["string", "null"] },
          "created_at": { "type": "string" },
          "inscription_id": { "type": ["string", "null"] },
          "lightning_address": { "type": ["string", "null"] },
          "name": { "type": "string" },
          "owner_btc_address": { "type": ["string", "null"] },
          "rarity": { "type": ["string", "null"] },
          "twitter": { "type": ["string", "null"] },
          "website": { "type": ["string", "null"] }
        },
        "type": "object"
      }
    }
  },
  "info": {
    "contact": { "name": "BTCme.click", "url": "https://btcme.click/support" },
    "description": "Public API for BTCme.click \u2014 a non-custodial Bitcoin wallet with AI & Lightning. Every endpoint is a plain GET with no authentication and no keys, except POST /api/v1/botid/register, which creates a .botid registration order. Live Bitcoin data (price, fees) comes from mempool.space; the .btcme and .botid name endpoints read the public name registries. The same capabilities are available as MCP tools at POST /mcp (server btcme-mcp v0.3.0, 18 tools). Nothing here moves funds, signs, or touches a private key \u2014 the .botid register endpoint only creates a payment order; the caller pays the returned BTC address. Full guide: https://btcme.click/docs",
    "license": { "name": "See https://btcme.click/terms" },
    "title": "BTCme.click Public API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/.mcp/list-tools": {
      "get": {
        "description": "The MCP tool list as plain JSON, without JSON-RPC framing.",
        "operationId": "listMcpTools",
        "responses": {
          "200": {
            "content": { "application/json": { "schema": { "type": "object" } } },
            "description": "Tool list"
          }
        },
        "summary": "List MCP tools (plain JSON)",
        "tags": ["MCP"]
      }
    },
    "/api/v1/address/validate": {
      "get": {
        "description": "Format check only (Native SegWit bech32, Taproot bech32m, P2SH, Legacy). It does not verify the checksum and does not check whether the address exists or has been used. Mirrors MCP tool validate_btc_address.",
        "operationId": "validateAddress",
        "parameters": [
          {
            "example": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
            "in": "query",
            "name": "address",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "address": { "type": "string" },
                    "kind": { "example": "Native SegWit (bech32)", "type": "string" },
                    "valid": { "type": "boolean" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Validation result"
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Missing address parameter"
          }
        },
        "summary": "Validate a Bitcoin address format",
        "tags": ["Bitcoin"]
      }
    },
    "/api/v1/botid/info": {
      "get": {
        "description": "How .botid names on Bitcoin work: price ($11.99, Bitcoin only), the pay-confirm-unlock flow, the included ordinal, the typical mint cost, and whether registration is open. Mirrors MCP tool get_botid_info.",
        "operationId": "getBotidInfo",
        "responses": {
          "200": {
            "content": { "application/json": { "schema": { "type": "object" } } },
            "description": "Namespace facts"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Unavailable"
          }
        },
        "summary": ".botid namespace facts",
        "tags": ["Botid"]
      }
    },
    "/api/v1/botid/list": {
      "get": {
        "description": "The most recently registered .botid names with public metadata. Mirrors MCP tool list_botid_names.",
        "operationId": "listBotidNames",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": { "default": 10, "maximum": 50, "minimum": 1, "type": "integer" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "names": {
                      "items": { "$ref": "#/components/schemas/BotidRecord" },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Name list"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Registry unavailable"
          }
        },
        "summary": "List recently registered .botid names",
        "tags": ["Botid"]
      }
    },
    "/api/v1/botid/order": {
      "get": {
        "description": "Check a .botid registration order: payment status (checked live against the pay address) and mint status. Mirrors MCP tool check_botid_order.",
        "operationId": "getBotidOrder",
        "parameters": [
          {
            "description": "The order id returned by POST /api/v1/botid/register",
            "example": "00000000-0000-0000-0000-000000000000",
            "in": "query",
            "name": "id",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": { "application/json": { "schema": { "type": "object" } } },
            "description": "Order status"
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Missing id"
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Order not found"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Unavailable"
          }
        },
        "summary": "Check a .botid order's payment + mint",
        "tags": ["Botid"]
      }
    },
    "/api/v1/botid/register": {
      "post": {
        "description": "Start registering a .botid name: creates the $11.99 payment order and returns the unique BTC pay address and the exact amount in sats. The name is reserved for 24 hours and unlocks when the payment confirms on-chain. This endpoint takes no payment \u2014 the caller pays the returned address, then polls /api/v1/botid/order. Mirrors MCP tool register_botid_name.",
        "operationId": "registerBotidName",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "register": {
                  "value": {
                    "name": "citadel",
                    "ownerAddress": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
                  }
                }
              },
              "schema": {
                "properties": {
                  "name": { "type": "string" },
                  "ownerAddress": { "type": "string" }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "artDescription": { "type": "string" },
                    "expiresAt": { "format": "date-time", "type": "string" },
                    "fullName": { "example": "citadel.botid", "type": "string" },
                    "name": { "example": "citadel", "type": "string" },
                    "note": { "type": "string" },
                    "orderId": { "type": "string" },
                    "ownerAddress": { "type": "string" },
                    "payAddress": { "type": "string" },
                    "payAmountSats": { "example": 20028, "type": "number" },
                    "priceUsd": { "example": 11.99, "type": "number" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Payment order created"
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Invalid name or address"
          },
          "503": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Registration not configured yet"
          }
        },
        "summary": "Start a .botid registration (payment order)",
        "tags": ["Botid"]
      }
    },
    "/api/v1/botid/resolve": {
      "get": {
        "description": "Resolve a registered .botid name to the Bitcoin address it points to, plus the attached ordinal inscription id when minted. Mirrors MCP tool resolve_botid_name.",
        "operationId": "resolveBotidName",
        "parameters": [
          {
            "description": "The name, with or without the .botid suffix",
            "example": "citadel",
            "in": "query",
            "name": "name",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "fullName": { "example": "citadel.botid", "type": "string" },
                    "name": { "example": "citadel", "type": "string" },
                    "record": { "$ref": "#/components/schemas/BotidRecord" },
                    "registered": { "example": true, "type": "boolean" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Resolved record"
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Invalid name"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Registry unavailable"
          }
        },
        "summary": "Resolve a .botid name to its owner",
        "tags": ["Botid"]
      }
    },
    "/api/v1/botid/reverse": {
      "get": {
        "description": "Given a Bitcoin address, list the registered .botid names that point to it. Mirrors MCP tool reverse_botid_lookup.",
        "operationId": "reverseBotidLookup",
        "parameters": [
          {
            "description": "The Bitcoin address to reverse-lookup",
            "example": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
            "in": "query",
            "name": "address",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "address": { "type": "string" },
                    "names": {
                      "items": { "$ref": "#/components/schemas/BotidRecord" },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Names for the address"
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Invalid address"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Registry unavailable"
          }
        },
        "summary": "Reverse lookup: names for an address",
        "tags": ["Botid"]
      }
    },
    "/api/v1/botid/search": {
      "get": {
        "description": "Check whether a .botid name is available to register on Bitcoin ($11.99, Bitcoin only, free ordinal included). Mirrors MCP tool search_botid_name.",
        "operationId": "searchBotidName",
        "parameters": [
          {
            "description": "The name, with or without the .botid suffix",
            "example": "citadel",
            "in": "query",
            "name": "name",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "available": { "type": "boolean" },
                    "fullName": { "example": "citadel.botid", "type": "string" },
                    "name": { "example": "citadel", "type": "string" },
                    "priceUsd": { "example": 11.99, "type": "number" },
                    "record": { "$ref": "#/components/schemas/BotidRecord" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Availability result"
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Invalid name"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Registry unavailable"
          }
        },
        "summary": "Check .botid name availability",
        "tags": ["Botid"]
      }
    },
    "/api/v1/convert": {
      "get": {
        "description": "Convert an amount at the live BTC price. Mirrors MCP tool convert_sats.",
        "operationId": "convert",
        "parameters": [
          {
            "example": 0.01,
            "in": "query",
            "name": "amount",
            "required": true,
            "schema": { "type": "number" }
          },
          {
            "example": "btc",
            "in": "query",
            "name": "from",
            "required": true,
            "schema": { "enum": ["btc", "sats", "usd"], "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "btc": { "example": 0.01, "type": "number" },
                    "btcUsd": { "example": 97412, "type": "number" },
                    "sats": { "example": 1000000, "type": "number" },
                    "usd": { "example": 974.12, "type": "number" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Converted amounts"
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Bad amount or unit"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Price unavailable"
          }
        },
        "summary": "Convert between BTC, sats, and USD",
        "tags": ["Bitcoin"]
      }
    },
    "/api/v1/download": {
      "get": {
        "description": "The Android APK (version, availability and size) and the browser home-screen install. The size is checked live through the site's asset binding when possible (sizeSource=live); otherwise the last live verification is reported (sizeSource=last-verified, checkedLive=false and a note). Mirrors MCP tool get_btcme_download.",
        "operationId": "getDownload",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "androidApk": {
                      "properties": {
                        "available": { "type": "boolean" },
                        "checkNote": { "type": "string" },
                        "checkedLive": { "type": "boolean" },
                        "sizeBytes": { "type": ["number", "null"] },
                        "sizeMb": { "type": ["number", "null"] },
                        "sizeSource": { "enum": ["live", "last-verified"], "type": "string" },
                        "url": {
                          "example": "https://btcme.click/downloads/BTCme.apk",
                          "type": "string"
                        },
                        "version": { "example": "1.0.0", "type": "string" }
                      },
                      "type": "object"
                    },
                    "browserInstall": { "type": "string" },
                    "page": { "example": "https://btcme.click/download", "type": "string" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Download info"
          }
        },
        "summary": "BTCme download links",
        "tags": ["Site"]
      }
    },
    "/api/v1/fees": {
      "get": {
        "description": "Recommended fee rates (sat/vB) plus the USD cost of a typical 140-vbyte transaction at the live BTC price. Primary source mempool.space; falls back to Blockstream's esplora fee estimates, then blockchain.info, when mempool.space is unreachable from the server. The response's source field says which one answered. Mirrors MCP tool get_fee_estimates.",
        "operationId": "getFees",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "btcUsd": { "example": 97412, "type": "number" },
                    "economyFee": { "example": 4, "type": "number" },
                    "fastestFee": { "example": 28, "type": "number" },
                    "fetchedAt": { "format": "date-time", "type": "string" },
                    "halfHourFee": { "example": 12, "type": "number" },
                    "hourFee": { "example": 8, "type": "number" },
                    "minimumFee": { "example": 1, "type": "number" },
                    "source": { "example": "mempool.space", "type": "string" },
                    "txVbytes": { "example": 140, "type": "number" },
                    "usdPerTx": {
                      "properties": {
                        "economy": { "example": 0.55, "type": "number" },
                        "priority": { "example": 3.82, "type": "number" },
                        "standard": { "example": 1.64, "type": "number" }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Fee estimates"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Fee data unavailable"
          }
        },
        "summary": "Live Bitcoin fee estimates",
        "tags": ["Bitcoin"]
      }
    },
    "/api/v1/guides": {
      "get": {
        "description": "How-to guides published on BTCme.click, with title, summary, and URL. Mirrors MCP tool list_btcme_guides.",
        "operationId": "listGuides",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "guides": {
                      "items": {
                        "properties": {
                          "summary": { "type": "string" },
                          "title": { "type": "string" },
                          "url": { "type": "string" }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Guide list"
          }
        },
        "summary": "List the BTCme guides",
        "tags": ["Site"]
      }
    },
    "/api/v1/halving": {
      "get": {
        "description": "Time remaining until the next halving and the current block reward (3.125 BTC). The target date (2028-04-20) is the site's estimate; the exact date depends on block times. Mirrors MCP tool get_halving_countdown.",
        "operationId": "getHalving",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "currentBlockRewardBtc": { "example": 3.125, "type": "number" },
                    "days": { "type": "number" },
                    "hours": { "type": "number" },
                    "minutes": { "type": "number" },
                    "note": { "type": "string" },
                    "target": { "example": "2028-04-20T00:00:00Z", "type": "string" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Countdown"
          }
        },
        "summary": "Bitcoin halving countdown",
        "tags": ["Bitcoin"]
      }
    },
    "/api/v1/info": {
      "get": {
        "description": "What BTCme.click is and costs (free \u2014 the only charge is a 1% on-chain send fee, minimum $0.35 in BTC, plus miner fees; no subscriptions), what it does, and links to every page, the docs, the API reference, and the MCP server. Mirrors MCP tool get_btcme_info.",
        "operationId": "getInfo",
        "responses": {
          "200": {
            "content": { "application/json": { "schema": { "type": "object" } } },
            "description": "Site facts"
          }
        },
        "summary": "BTCme facts: pricing, features, links",
        "tags": ["Site"]
      }
    },
    "/api/v1/names": {
      "get": {
        "description": "The most recently registered .btcme names with public metadata. Mirrors MCP tool list_btcme_names.",
        "operationId": "listNames",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": { "default": 20, "maximum": 100, "minimum": 1, "type": "integer" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "names": {
                      "items": { "$ref": "#/components/schemas/NameRecord" },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Name list"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Registry unavailable"
          }
        },
        "summary": "List recently registered .btcme names",
        "tags": ["Names"]
      }
    },
    "/api/v1/names/resolve": {
      "get": {
        "description": "Resolve a .btcme name to its owner's on-chain BTC address, Lightning address, and public profile. Mirrors MCP tool resolve_btcme_name.",
        "operationId": "resolveName",
        "parameters": [
          {
            "description": "The name, with or without the .btcme suffix",
            "example": "chad",
            "in": "query",
            "name": "name",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "name": { "type": "string" },
                    "record": { "$ref": "#/components/schemas/NameRecordFull" },
                    "registered": { "example": true, "type": "boolean" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Resolved record"
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Invalid name"
          },
          "404": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Name is not registered"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Registry unavailable"
          }
        },
        "summary": "Resolve a .btcme name to its owner",
        "tags": ["Names"]
      }
    },
    "/api/v1/names/search": {
      "get": {
        "description": "Check whether a .btcme name is available to register. Returns availability and, if taken, basic public metadata. Mirrors MCP tool search_btcme_name.",
        "operationId": "searchName",
        "parameters": [
          {
            "description": "The name, with or without the .btcme suffix",
            "example": "chad",
            "in": "query",
            "name": "name",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "available": { "type": "boolean" },
                    "name": { "example": "chad", "type": "string" },
                    "record": { "$ref": "#/components/schemas/NameRecord" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Availability result"
          },
          "400": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Invalid name"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Registry unavailable"
          }
        },
        "summary": "Check .btcme name availability",
        "tags": ["Names"]
      }
    },
    "/api/v1/price": {
      "get": {
        "description": "Live BTC/USD from mempool.space (Coinbase, then CoinGecko as fallbacks; cached 60s). Mirrors MCP tool get_btc_price.",
        "operationId": "getPrice",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "fetchedAt": { "format": "date-time", "type": "string" },
                    "source": {
                      "enum": ["mempool.space", "coinbase", "coingecko", "cache"],
                      "type": "string"
                    },
                    "usd": { "example": 97412, "type": "number" }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Current price"
          },
          "502": {
            "content": {
              "application/json": { "schema": { "$ref": "#/components/schemas/Error" } }
            },
            "description": "Price unavailable from all sources"
          }
        },
        "summary": "Live BTC/USD price",
        "tags": ["Bitcoin"]
      }
    },
    "/mcp": {
      "get": {
        "description": "Returns the MCP server name, version, a description of how to connect, and the full tool list. No authentication.",
        "operationId": "getMcpInfo",
        "responses": {
          "200": {
            "content": { "application/json": { "schema": { "type": "object" } } },
            "description": "Server info and tool list"
          }
        },
        "summary": "MCP server info",
        "tags": ["MCP"]
      },
      "post": {
        "description": "Streamable-HTTP JSON-RPC 2.0 endpoint for the btcme-mcp server (protocol 2025-03-26). Methods: initialize, ping, tools/list, tools/call, notifications/initialized, notifications/cancelled. 18 tools (11 read-only plus 7 .botid name tools; register_botid_name only creates a payment order), no authentication. Setup: https://btcme.click/docs#mcp",
        "operationId": "mcpJsonRpc",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "toolsCall": {
                  "value": {
                    "id": 2,
                    "jsonrpc": "2.0",
                    "method": "tools/call",
                    "params": { "arguments": {}, "name": "get_btc_price" }
                  }
                },
                "toolsList": {
                  "value": { "id": 1, "jsonrpc": "2.0", "method": "tools/list", "params": {} }
                }
              },
              "schema": {
                "properties": {
                  "id": { "type": ["string", "number", "null"] },
                  "jsonrpc": { "example": "2.0", "type": "string" },
                  "method": {
                    "enum": ["initialize", "ping", "tools/list", "tools/call"],
                    "type": "string"
                  },
                  "params": { "type": "object" }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": { "application/json": { "schema": { "type": "object" } } },
            "description": "JSON-RPC response"
          },
          "400": {
            "content": { "application/json": { "schema": { "type": "object" } } },
            "description": "Parse error"
          }
        },
        "summary": "MCP JSON-RPC 2.0 endpoint",
        "tags": ["MCP"]
      }
    }
  },
  "servers": [{ "description": "Production", "url": "https://btcme.click" }],
  "tags": [
    {
      "description": "Live Bitcoin price, fees, conversion, address checks, halving countdown",
      "name": "Bitcoin"
    },
    { "description": "BTCme facts, guides, downloads", "name": "Site" },
    { "description": ".btcme name search, resolve, and list", "name": "Names" },
    { "description": "The MCP server (JSON-RPC 2.0 over HTTP)", "name": "MCP" },
    {
      "description": ".botid names on Bitcoin: search, resolve, reverse lookup, list, register, order status",
      "name": "Botid"
    }
  ]
}
