Documentation

Here you will be able to see the Web-Api documentation easily explained. The API is limited to 1 request per second comming from your Machine/Device. Your server sends us data every 5 minutes.

get
Retrieve your server whitelisted or Blacklisted IPs amount

https://cyberdevelopment.es/BotSentry/publicapi/?apikey={key}&ip={ipport}&action={action}
This endpoint retrieves you your whitelisted or Blacklisted IPs amount. Read Setup in case you don't know how to get some parameters.
Request
Response
Request
Path Parameters
action
required
string
The action you want to do, in this case, "getwlnumber" or "getblnumber"
ip
required
string
Your server IP Port
apikey
required
string
Your server API Key
Response
200: OK
The answer you will get when doing the request:
{
"amount" : "3729"
}

get
Retrieve global whitelisted or Blacklisted IPs amount

https://cyberdevelopment.es/BotSentry/publicapi/?apikey={key}&ip={ipport}&action={action}
This endpoint retrieves you the global whitelisted or Blacklisted IPs amount. Read Setup in case you dont know how to get some parameters.
Request
Response
Request
Path Parameters
action
required
string
The action you want to do, in this case "getglwlnumber" or "getglblnumber"
ip
required
string
Your server IP Port
apikey
required
string
Your server API Key
Response
200: OK
The answer you get when doing the request:
{
"amount" : "5688214"
}

get
Retrieve the total Prevented Bots number in all servers

https://cyberdevelopment.es/BotSentry/publicapi/?apikey={key}&ip={ipport}&action={action}
This endpoint retrieves you the global Prevented Bots number. Read Setup in case you dont know how to get some parameters
Request
Response
Request
Path Parameters
action
required
string
The action you want to do, in this case "getpbnumber"
ip
required
string
Your server IP Port
apikey
required
string
Your server API Key
Response
200: OK
The answer you get when doing the request:
{
"amount":"6499882"
}

get
Retrieve all attacks that your server received and their stats

https://cyberdevelopment.es/BotSentry/publicapi/?apikey={key}&ip={ipport}&action={action}
This endpoint retrieves you all the attacks you received in your server with the stats of each of them.
Request
Response
Request
Path Parameters
action
required
string
The action you want to do, in this case "getattackslog"
ip
required
string
Your server IP Port
apikey
required
string
Your server API Key
Response
200: OK
The answer you get when doing the request:
[
{
"datetime":"2020-12-19 17:57:50",
"blacklistedips":"118"
},
{
"datetime":"2020-12-18 20:19:21",
"blacklistedips":"193"
},
{
"datetime":"2020-12-17 19:28:52",
"blacklistedips":"585"
}
]

get
Get an image with your server BotSentry statistics

https://cyberdevelopment.es/BotSentry/publicapi/?apikey={key}&ip={ipport}&action={action}
This endpoint retrieves you an image with nearly all the stats about your server mentioned above.
Request
Response
Request
Path Parameters
action
required
string
The action you want to do, in this case "getimage"
ip
required
string
Your server IP Port
apikey
required
string
Your server API Key
Response
200: OK
This endpoint returns you an image as .jpg format, you can see an example in the url: (It returns the Image, not an Url!!)
https://i.imgur.com/tAAPgIW.png