# What is BlockchainSpider?

BlockchainSpider is a tool for blockchain data collection based on `Scrapy` .

With BlockchainSpider, you can sample the transactions related to the specific source address, crawl the label data, and more you will be interested in data mining on the blockchain.

* **Transaction subgraph**: the transaction subgraph related to the specific source account
* **Label data**: the labels of addresses or transactions
* **Block data**: the block data on chains
* ...

## Getting Started

Let's start with the following command:

```
git clone https://github.com/wuzhy1ng/BlockchainSpider.git
```

And then install the dependencies:

```
pip install scrapy
pip install selenium
pip install networkx
```

That's great! So far, you have made all the preparations for starting the BlockchainSpider!

## Guides: Jump right in

Follow our handy guides to get started on the basics as quickly as possible:

{% content-ref url="/pages/5QOMc8znjcbYo1pNeSZR" %}
[Crawl a transaction subgraph](/blockchainspider/guides/crawl-a-transaction-subgraph.md)
{% endcontent-ref %}

{% content-ref url="/pages/3sx11knoKxakszF2bTTF" %}
[Collect label data](/blockchainspider/guides/collect-label-data.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://870167019.gitbook.io/blockchainspider/what-is-blockchainspider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
