This content originally appeared on / and was authored by antoinevastel.com
As promised in the previous blog post, I added new data sources to find more malicious IPs. I also added a new endpoint to the malicious IPs API: https://antoinevastel.com/bots/ip/ip-you-want-to-check
To make an API call on this endpoint, simply call /bots/ips/ip-you-want-to-check where you should replace ip-you-want-to-check with the IP address you want to check.
You can call it using Curl or any HTTP request library you want:
curl https://antoinevastel.com/bots/ip/157.100.36.194
Data returned by the API
For a given IP, an API call returns JSON content representing information about the IP requested.
{
"matched": true,
"ip": "91.202.133.37",
"autonomousSystemOrganization": "SpaceNet LLC",
"autonomousSystemNumber": 44686,
"country": "UA",
"events": [
1629553470430
]
}
In case the IP address is present in the database, the matched field is set to true.
Otherwise, it’s set to false.
In all cases (even when the IP is not present in our database), we always return information about the IP:
ip: value of the requested IP,autonomousSystemOrganization: name of the IP autonomous system (enriched using Maxmind)autonomousSystemNumber: autonomous system number linked to the IP (enriched using Maxmind)country: country of the IP address (enriched using Maxmind)events: an array that contains a list of timestamps where the IP was flagged as malicious. In case the IP is not present in our database, it is an empty array
DISCLAIMER: Please try to be responsible when making API calls, rate limit your requests.
This content originally appeared on / and was authored by antoinevastel.com
antoinevastel.com | Sciencx (2021-08-24T00:00:00+00:00) New feature to malicious IPs API: check an IP. Retrieved from https://www.scien.cx/2021/08/24/new-feature-to-malicious-ips-api-check-an-ip/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.