Skip to content

pywitcher/btc-address-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Bitcoin Address Extractor

A Python project that extracts Bitcoin addresses from historical blocks using the Blockstream API.

🔍 Overview

This script connects to the Bitcoin blockchain (via Blockstream’s public API), fetches blocks in reverse order (from Last height), extracts all input/output addresses, and saves them to a text file.

Useful for:

  • Blockchain analysis
  • Address clustering
  • Educational and research purposes

⚙️ Features

  • Fetches block data using requests
  • Extracts unique addresses from both inputs and outputs
  • Saves all extracted addresses to a local .txt file
  • Handles basic errors and API rate limits

🧰 Requirements

  • Python 3.8+
  • Internet connection
  • Required packages:
  • Python 3.8 or higher
  • Internet connection
  • Required packages:

About

Extracts Bitcoin addresses from block data using Blockstream API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages