BlockchainSpider
  • What is BlockchainSpider?
  • Guides
    • Crawl a transaction subgraph
    • Collect label data
    • Collect transaction data
  • subgraph spiders
    • Overview
    • BFS
    • Poison
    • Haircut
    • APPR
    • TTR
  • label spiders
    • Overview
    • CryptoScamsDB
    • LabelCloud
    • OFAC
    • Tor
  • Transaction spiders
    • Overview
    • Collect by block order
    • Collect by transaction hash
  • Extractors
    • Overview
    • Deduplicate
    • Local community
  • Settings
    • APIKeys
    • Cache
    • Customizing your workflow
Powered by GitBook
On this page
  • The OFAC
  • Start a crawl task
  1. Guides

Collect label data

The OFAC

The U.S. Department of the Treasury was established in 1789. Handle the financial affairs of the United States Federation, whose Office of Foreign Assets Control (OFAC) publishes a Specially Designated Nationals (SDN) list containing information of several entities in the blockchain.

In this section, we will demonstrate how to collect labeled addresses in the OFAC sanctions list!

Start a crawl task

Run this command as follow:

scrapy crawl labels.ofac

You can find the label data on ./data/labels.ofac, each row of this file is a JSON object just like this:

{
    "net":"ETH",
    "label":"Entity",
    "info":{
        "uid":"30518",
        "address":"0x72a5843cc08275C8171E582972Aa4fDa8C397B2A",
        "first_name":null,
        "last_name":"SECONDEYE SOLUTION",
        "identities":[
            {
                "id_type":"Email Address",
                "id_number":"support@secondeyesolution.com"
            },
            {
                "id_type":"Email Address",
                "id_number":"info@forwarderz.com"
            }, ...
        ]
    }
}

Note: Please indicate the source when using crawling labels.

PreviousCrawl a transaction subgraphNextCollect transaction data

Last updated 3 years ago