API References
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 https://hackscan.hackbounty.io/public/hack-address.json
Your Request
curl https://hackscan.hackbounty.io/public/hack-address.jsonimport (
"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)Our Response
{
"0221": {
"eth": [
"0x47666fab8bd0ac7003bce3f5c3585383f09486e2",
"..."
],
"btc": [
"bc1qf5ljnw6knr7egy7t65fkd3xau7j7za4fskmxpg",
"..."
],
"bsc": [
"0x9c249b3db6345367b43b2ced4c07d4ffa1fb5e11",
"..."
],
"arbi": [
"0xc74e74fd13e5136c4f4106688fd07838cd6314f4",
"..."
]
}
}Last updated