Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.moralis.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The Bitcoin Wallet API provides address-level activity and balances through the Moralis Universal Wallet endpoints. Pass bitcoin as the chain and either a Bitcoin address or an xpub as the wallet identifier. For workflows that need to enumerate every address derived from an xpub, pair the Wallet API with the xpub utility.

Endpoints

EndpointUniversal path
BTC BalancesGET /v1/wallets/{addressOrXpub}/tokens?chains=bitcoin
Wallet HistoryGET /v1/wallets/{addressOrXpub}/history?chains=bitcoin

Key Features

  • Address OR xpub input — pass either; the API derives addresses server-side for xpubs
  • Paginated history — cursor-based pagination tuned for high-activity addresses
  • No node required — managed indexer handles UTXO accounting and reorgs

Common Use Cases

  • Bitcoin wallets — show balances and history without operating a node
  • Custody platforms — surface activity for managed addresses
  • Block explorers — render address pages with full history and holdings
  • Analytics — aggregate flows across every address derived from a single xpub