LazarusBounty Program
  • LazarusBounty Program
    • Fund Flow Monitor
    • Hacker Addresses
    • Verified Reports
    • Bounty Hunters
  • Rewards & Participation
    • Step-by-Step Guide
  • HackScan
    • API References
Powered by GitBook
On this page
Export as PDF
  1. HackScan

API References

PreviousHackScan

Last updated 3 months ago

This API is designed to allow ethical security experts racing against time to streamline and expedite their efforts in recovering the compromised funds.

Retrieve all hacker addresses

Get

Your Request

curl https://hackscan.hackbounty.io/public/hack-address.json
import (
        "encoding/json"
        "fmt"
        "io/ioutil"
        "net/http"
)
...

        url := "https://hackscan.hackbounty.io/public/hack-address.json"

        resp, err := http.Get(url)
        if err != nil {
                fmt.Println("requestErr:", err)
                return
        }
        defer resp.Body.Close()

        if resp.StatusCode != http.StatusOK {
                fmt.Println("statueCode:", resp.StatusCode)
                return
        }

        body, err := ioutil.ReadAll(resp.Body)
        if err != nil {
                fmt.Println("readErr:", err)
                return
        }

        var data map[string]interface{}
        if err := json.Unmarshal(body, &data); err != nil {
                fmt.Println("jsonParseErr:", err)
                return
        }

        fmt.Println(data)
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import org.json.JSONObject;
...

        String url = "https://hackscan.hackbounty.io/public/hack-address.json";

        try {
            URL obj = new URL(url);
            HttpURLConnection con = (HttpURLConnection) obj.openConnection();
            con.setRequestMethod("GET");

            int responseCode = con.getResponseCode();
            if (responseCode == 200) {
                BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
                String inputLine;
                StringBuilder response = new StringBuilder();
                while ((inputLine = in.readLine()) != null) {
                    response.append(inputLine);
                }
                in.close();

                JSONObject jsonResponse = new JSONObject(response.toString());
                System.out.println(jsonResponse.toString(2));
            } else {
                System.out.println("failed:" + responseCode);
            }
        } catch (Exception e) {
            System.out.println("requestErr:" + e.getMessage());
        }
import requests

url = "https://hackscan.hackbounty.io/public/hack-address.json"

try:
    response = requests.get(url)
    response.raise_for_status()
    data = response.json()
    print(data)
except requests.exceptions.RequestException as e:
    print("requestErr:", e)
const axios = require('axios');

const url = "https://hackscan.hackbounty.io/public/hack-address.json";

axios.get(url)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error("requestErr:", error.message);
    });

Our Response

{
    "0221": {
        "eth": [
            "0x47666fab8bd0ac7003bce3f5c3585383f09486e2",
            "..."
        ],
        "btc": [
            "bc1qf5ljnw6knr7egy7t65fkd3xau7j7za4fskmxpg",
            "..."
        ],
        "bsc": [
            "0x9c249b3db6345367b43b2ced4c07d4ffa1fb5e11",
            "..."
        ],
        "arbi": [
            "0xc74e74fd13e5136c4f4106688fd07838cd6314f4",
            "..."
        ]
    }
}
https://hackscan.hackbounty.io/public/hack-address.json